Do not install source rpms with --freshen
Resolves: rhbz#1402856
This commit is contained in:
parent
4c4b64925c
commit
10c1d10d63
|
@ -546,6 +546,10 @@ restart:
|
|||
}
|
||||
|
||||
if (headerIsSource(h)) {
|
||||
if (ia->installInterfaceFlags & INSTALL_FRESHEN) {
|
||||
headerFree(h);
|
||||
continue;
|
||||
}
|
||||
rpmlog(RPMLOG_DEBUG, "\tadded source package [%d]\n",
|
||||
eiu->numSRPMS);
|
||||
eiu->sourceURL = xrealloc(eiu->sourceURL,
|
||||
|
|
Loading…
Reference in New Issue