Drop --repackage support that was removed in rpm-4.0.4-alt100.36

This commit is contained in:
Дмитрий Левин 2011-10-06 20:46:12 +00:00
parent fa7c8cf436
commit 127b9f28f4

View File

@ -795,11 +795,6 @@ bool pkgRPMLibPM::Process(vector<const char*> &install,
TS = rpmtransCreateSet(DB, Dir.c_str());
#endif
#if RPM_VERSION >= 0x040000
if (rpmExpandNumeric("%{?_repackage_all_erasures}"))
tsFlags |= RPMTRANS_FLAG_REPACKAGE;
#endif
#if RPM_VERSION >= 0x040300
/* Initialize security context patterns for SELinux */
if (!(tsFlags & RPMTRANS_FLAG_NOCONTEXTS)) {
@ -951,8 +946,6 @@ bool pkgRPMLibPM::ParseRpmOpts(const char *Cnf, int *tsFlags, int *probFilter)
#if RPM_VERSION >= 0x040000
else if (Opts->Value == "--nomd5")
*tsFlags |= RPMTRANS_FLAG_NOMD5;
else if (Opts->Value == "--repackage")
*tsFlags |= RPMTRANS_FLAG_REPACKAGE;
#endif
#if RPM_VERSION >= 0x040200
else if (Opts->Value == "--noconfigs" ||