- fix: don't add header if signature generation failed (Carlo Wood).
- more DU 4.0D fiddles (Shing-Gene Yung).
- fix: segfault from unknown uid/gid -- use builder's uid/gid instead.
+ - autoReq/autoProv now per-package.
2.91 -> 2.92
- update with libtool-2.4f.
dnl
# Check for any special flags to pass to ltconfig.
-libtool_flags="--cache-file=$cache_file"
+#
+# the following will cause an existing older ltconfig to fail, so
+# we ignore this at the expense of the cache file... Checking this
+# will just take longer ... bummer!
+#libtool_flags="--cache-file=$cache_file"
+#
test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
return 0;
}
- if (! (spec->autoReq || spec->autoProv)) {
+ if (! (pkg->autoReq || pkg->autoProv)) {
return 0;
}
/*** Do Provides ***/
- if (spec->autoProv) {
+ if (pkg->autoProv) {
rpmMessage(RPMMESS_NORMAL, _("Finding provides...\n"));
argv[0] = FINDPROVIDES;
/*** Do Requires ***/
- if (spec->autoReq) {
+ if (pkg->autoReq) {
rpmMessage(RPMMESS_NORMAL, _("Finding requires...\n"));
argv[0] = FINDREQUIRES;
headerAddEntry(pkg->header, tag, RPM_INT32_TYPE, &num, 1);
break;
case RPMTAG_AUTOREQPROV:
- spec->autoReq = parseYesNo(field);
- spec->autoProv = spec->autoReq;
+ pkg->autoReq = parseYesNo(field);
+ pkg->autoProv = pkg->autoReq;
break;
case RPMTAG_AUTOREQ:
- spec->autoReq = parseYesNo(field);
+ pkg->autoReq = parseYesNo(field);
break;
case RPMTAG_AUTOPROV:
- spec->autoProv = parseYesNo(field);
+ pkg->autoProv = parseYesNo(field);
break;
case RPMTAG_SOURCE:
case RPMTAG_PATCH:
/*@dependent@*/ struct MacroContext *macros;
- int autoReq;
- int autoProv;
-
/*@only@*/ StringBuf prep;
/*@only@*/ StringBuf build;
/*@only@*/ StringBuf install;
/*@owned@*/ struct Source *icon;
- int autoReqProv;
+ int autoReq;
+ int autoProv;
char *preInFile;
char *postInFile;
p->header = headerNew();
p->icon = NULL;
- p->autoReqProv = 1;
+
+ p->autoProv = 1;
+ p->autoReq = 1;
#if 0
p->reqProv = NULL;
spec->macros = &globalMacroContext;
- spec->autoReq = 1;
- spec->autoProv = 1;
-
return spec;
}
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 1999-03-24 07:35-0500\n"
+"POT-Creation-Date: 1999-03-26 20:02+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
msgid "archive = %s, fs = %s\n"
msgstr ""
-#: ../build/spec.c:230
+#: ../build/spec.c:232
#, c-format
msgid "line %d: Bad number: %s"
msgstr ""
-#: ../build/spec.c:236
+#: ../build/spec.c:238
#, c-format
msgid "line %d: Bad no%s number: %d"
msgstr ""
-#: ../build/spec.c:292
+#: ../build/spec.c:294
#, c-format
msgid "line %d: Bad %s number: %s\n"
msgstr ""
dnl
# Check for any special flags to pass to ltconfig.
-libtool_flags="--cache-file=$cache_file"
+#
+# the following will cause an existing older ltconfig to fail, so
+# we ignore this at the expense of the cache file... Checking this
+# will just take longer ... bummer!
+#libtool_flags="--cache-file=$cache_file"
+#
test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
Name: rpm
%define version 2.93
Version: %{version}
-Release: 3
+Release: 4
Group: System Environment/Base
Source: ftp://ftp.rpm.org/pub/rpm/dist/rpm-2.5.x/rpm-%{version}.tar.gz
Copyright: GPL