summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2000-08-14 13:25:09 +0000
committerjbj <devnull@localhost>2000-08-14 13:25:09 +0000
commit92d83fc9356f149a58db8bd3f0ed5fb7331c97e4 (patch)
tree70d1c2431721f573d420c10a600112886b92ab30 /build
parentc181d853c6d42f8d477267c23c221743178d7a8c (diff)
downloadlibrpm-tizen-92d83fc9356f149a58db8bd3f0ed5fb7331c97e4.tar.gz
librpm-tizen-92d83fc9356f149a58db8bd3f0ed5fb7331c97e4.tar.bz2
librpm-tizen-92d83fc9356f149a58db8bd3f0ed5fb7331c97e4.zip
- disable rpmlib(VersionedDependencies) by defining _noVersionedDependencies.
- typo in configure.in (#16096). CVS patchset: 4060 CVS date: 2000/08/14 13:25:09
Diffstat (limited to 'build')
-rw-r--r--build/parseReqs.c3
1 files changed, 2 insertions, 1 deletions
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;