Commit Graph

20 Commits

Author SHA1 Message Date
Alexey Tourbin
fbac8f2ea4 4.0.4-alt95.M41.21
- Removed _noDirTokens support (producing legacy filelist format).
- Disabled rpmlib(PayloadFilesHavePrefix), rpmlib(CompressedFileNames),
  and rpmlib(VersionedDependencies) dependencies.
- Disabled versioning for rpmlib(PayloadIsBzip2) and rpmlib(PayloadIsLzma)
  dependencies.
2009-06-17 06:42:20 +04:00
Alexey Tourbin
ad02667313 reqprov.c (rpmlibNeedsFeature): allow NULL featureEVR 2009-06-17 06:34:23 +04:00
Alexey Tourbin
0d54c4a6f0 4.0.4-alt95.M41.4+
- build/reqprov.c: when folding duplicate dependencies, Requires(pre)
  or Requires(post) should not opimitze out bare Requires
2008-09-22 18:56:46 +00:00
Alexey Tourbin
f5c325744d reqprov.c: Requires(post) should not optimize out bare Requires
Both "Requires(post): foo" and "Requires: foo" should be kept.
The first dependency is only for %post-script: after the package
is installed, rpm allows to remove "foo" (though apt-get does not).

This is only a quick fix, perhaps the code should be rewritten.
For instance, if with have both "Requires(pre): foo" and
"Requires(post): foo", those can be folded into single
"Requires(pre,post): foo".
2008-09-22 10:34:53 +00:00
Alexey Tourbin
8119ee01ac reqprov.c (addReqProv): eliminate dependencies on the package name
perl-base will no longer require 'perl-base >= 1:5.7.3'.
2007-11-23 10:59:39 +03:00
Alexey Tourbin
dee7e797ef reqprov.c (addReqProv): eliminate dependencies on packaged files
Note that this works only for automatic dependencies, because file list
is not ready when specfile dependencies are added.  This is okay.

Also note that this will optimize out directory-like dependencies
if the package owns the directory.  This is yet okay, but this is
a bit more subtle point.
2007-11-22 16:48:30 +03:00
Alexey Tourbin
92093bf1f0 reqprov.c (addReqProv): prepare for more self-requires elimination 2007-11-22 15:28:16 +03:00
ce8ad9b9f0 fix rpmExpandNumeric handling 2005-09-29 15:46:13 +00:00
b098983ecf implemented %_deps_optimization support
addReqProv: implemented old "provided requires" optimization
2004-01-29 13:46:42 +00:00
e6100cca84 indent 2004-01-29 12:57:54 +00:00
a56e2cad60 addReqProv: enhanced duplication elimination algorithm 2004-01-27 14:54:15 +00:00
1ab810455b fixes in duplicates detection algorithm 2004-01-27 12:45:26 +00:00
aab4974613 duplicates detection algorithm rewritten 2004-01-26 18:01:37 +00:00
383f52a1a0 addReqProv: optimize rpmRangesOverlap call 2004-01-25 22:26:23 +00:00
562bad0363 addReqProv: in RPMTAG_REQUIRENAME checks, allow RPMTAG_REQUIRENAME 2004-01-25 16:17:03 +00:00
627a1f74b4 optimized recent changes 2004-01-25 10:50:18 +00:00
47e6eacc52 addReqProv: do not add provided requires 2004-01-24 23:31:06 +00:00
f34648ca99 indented 2004-01-24 20:16:41 +00:00
7a2a0b3d61 addReqProv: enhanced duplicates detection algorithm 2004-01-24 19:05:04 +00:00
82a4763c66 Initial revision 2002-03-25 20:16:26 +00:00