apt/apt-0.5.15cnc6-alt-rpm-order.patch
Kachalov Anton 6e5c25c245 0.5.15cnc6-alt1
- Updated to 0.5.15cnc6
- New:
  + apt-0.5.15cnc6-alt-rpm-order (fix RPM::Order default value)
- Updated:
  + apt-0.5.15cnc6-alt-fixes
  + apt-0.5.15cnc6-alt-defaults
  + apt-0.5.15cnc6-alt-rpm-fancypercent
  + apt-0.5.15cnc6-alt-virtual_scores
- Merged upstream:
  + apt-0.5.15cnc6-alt-install_virtual
2004-05-13 12:23:54 +00:00

26 lines
827 B
Diff

diff -upr apt-0.5.15cnc6.orig/apt-pkg/rpm/rpmpm.cc apt-0.5.15cnc6/apt-pkg/rpm/rpmpm.cc
--- apt-0.5.15cnc6/apt-pkg/rpm/rpmpm.cc.orig 2004-05-11 18:13:51 +0400
+++ apt-0.5.15cnc6/apt-pkg/rpm/rpmpm.cc 2004-05-13 16:06:47 +0400
@@ -496,7 +496,7 @@ bool pkgRPMExtPM::ExecRPM(Item::RPMOps o
}
}
- if (_config->FindB("RPM::Order", false) == false)
+ if (_config->FindB("RPM::Order", true) == false)
Args[n++] = "--noorder";
bool FilesInArgs = true;
@@ -864,10 +864,10 @@
rc = 0;
#if RPM_VERSION >= 0x040100
- if (_config->FindB("RPM::Order", false) == true)
+ if (_config->FindB("RPM::Order", true) == true)
rc = rpmtsOrder(TS);
#else
- if (_config->FindB("RPM::Order", false) == true)
+ if (_config->FindB("RPM::Order", true) == true)
rc = rpmdepOrder(TS);
#endif