|
|
@@ -267,12 +267,22 @@ Index: build/build.c
|
|
|
+---------------------------------------------------------------------------
|
|
|
| Add support for splitted source directories, i.e., source files
|
|
|
| alternatively can be placed into the spec directory and are picked
|
|
|
-| up there, too.
|
|
|
+| up there, too. Also add support for Provides headers in source RPMs.
|
|
|
+---------------------------------------------------------------------------
|
|
|
Index: build/files.c
|
|
|
--- build/files.c 2001/01/19 01:47:25 1.1.1.15
|
|
|
+++ build/files.c 2001/09/17 11:09:23 1.2
|
|
|
-@@ -1655,8 +1655,20 @@
|
|
|
+@@ -1591,6 +1591,9 @@
|
|
|
+ case RPMTAG_CHANGELOGTEXT:
|
|
|
+ case RPMTAG_URL:
|
|
|
+ case HEADER_I18NTABLE:
|
|
|
++ case RPMTAG_PROVIDENAME:
|
|
|
++ case RPMTAG_PROVIDEVERSION:
|
|
|
++ case RPMTAG_PROVIDEFLAGS:
|
|
|
+ headerAddEntry(spec->sourceHeader, tag, type, ptr, count);
|
|
|
+ break;
|
|
|
+ default:
|
|
|
+@@ -1655,8 +1658,20 @@
|
|
|
}
|
|
|
|
|
|
{ const char *s;
|
|
|
@@ -293,7 +303,7 @@ Index: build/files.c
|
|
|
appendLineStringBuf(sourceFiles, s);
|
|
|
free((void *)s);
|
|
|
}
|
|
|
-@@ -1665,8 +1677,20 @@
|
|
|
+@@ -1665,8 +1680,20 @@
|
|
|
for (pkg = spec->packages; pkg != NULL; pkg = pkg->next) {
|
|
|
for (srcPtr = pkg->icon; srcPtr != NULL; srcPtr = srcPtr->next) {
|
|
|
const char *s;
|