From 92d83fc9356f149a58db8bd3f0ed5fb7331c97e4 Mon Sep 17 00:00:00 2001 From: jbj Date: Mon, 14 Aug 2000 13:25:09 +0000 Subject: - disable rpmlib(VersionedDependencies) by defining _noVersionedDependencies. - typo in configure.in (#16096). CVS patchset: 4060 CVS date: 2000/08/14 13:25:09 --- build/parseReqs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'build') diff --git a/build/parseReqs.c b/build/parseReqs.c index 394ba091f..3a77c266a 100644 --- a/build/parseReqs.c +++ b/build/parseReqs.c @@ -148,7 +148,8 @@ int parseRCPOT(Spec spec, Package pkg, const char *field, int tag, case RPMTAG_PROVIDEFLAGS: case RPMTAG_OBSOLETEFLAGS: /* Add prereq on rpmlib that has versioned dependencies. */ - rpmlibNeedsFeature(h, "VersionedDependencies", "3.0.3-1"); + if (!rpmExpandNumeric("%{_noVersionedDependencies}")) + rpmlibNeedsFeature(h, "VersionedDependencies", "3.0.3-1"); break; default: break; -- cgit v1.2.3