From 127b9f28f4411db5a64ca5e824a821fed2ca82ee Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Thu, 6 Oct 2011 20:46:12 +0000 Subject: [PATCH] Drop --repackage support that was removed in rpm-4.0.4-alt100.36 --- apt/apt-pkg/rpm/rpmpm.cc | 7 ------- 1 file changed, 7 deletions(-) diff --git a/apt/apt-pkg/rpm/rpmpm.cc b/apt/apt-pkg/rpm/rpmpm.cc index 950c5e3..741fb9b 100644 --- a/apt/apt-pkg/rpm/rpmpm.cc +++ b/apt/apt-pkg/rpm/rpmpm.cc @@ -795,11 +795,6 @@ bool pkgRPMLibPM::Process(vector &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" ||