summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2001-06-15 18:53:06 +0000
committerjbj <devnull@localhost>2001-06-15 18:53:06 +0000
commit6afa016e86bc87b7ac7d2a90db00df7b35cc99a4 (patch)
treea0f4e9a09e088b486056a2b1ebd4447d9896785c /build
parentc097611c41b8480734a47547018dd0e0e61efcbb (diff)
downloadrpm-6afa016e86bc87b7ac7d2a90db00df7b35cc99a4.tar.gz
rpm-6afa016e86bc87b7ac7d2a90db00df7b35cc99a4.tar.bz2
rpm-6afa016e86bc87b7ac7d2a90db00df7b35cc99a4.zip
- ia64/sparc: <arch>.{req,prov} identical to linux.{req,prov}.
- add "rpmlib(ScriptletInterpreterArgs)" to track %post -p "/sbin/ldconfig -n /usr/lib" incompatibilities. CVS patchset: 4866 CVS date: 2001/06/15 18:53:06
Diffstat (limited to 'build')
-rw-r--r--build/parseScript.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/build/parseScript.c b/build/parseScript.c
index 9af580c1b..1d8a1dfd7 100644
--- a/build/parseScript.c
+++ b/build/parseScript.c
@@ -265,9 +265,12 @@ int parseScript(Spec spec, int parsePart)
if (progArgc == 1)
(void) headerAddEntry(pkg->header, progtag, RPM_STRING_TYPE,
*progArgv, progArgc);
- else
+ else {
+ (void) rpmlibNeedsFeature(pkg->header,
+ "ScriptletInterpreterArgs", "4.0.3-1");
(void) headerAddEntry(pkg->header, progtag, RPM_STRING_ARRAY_TYPE,
progArgv, progArgc);
+ }
if (*p != '\0')
(void) headerAddEntry(pkg->header, tag, RPM_STRING_TYPE, p, 1);