25f00b6cb5
Copy from Base:System/rpm based on submit request 18841 from user mlschroe OBS-URL: https://build.opensuse.org/request/show/18841 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpm?expand=0&rev=84
34 lines
1.1 KiB
Diff
34 lines
1.1 KiB
Diff
Index: build/parsePreamble.c
|
|
===================================================================
|
|
--- build/parsePreamble.c.orig
|
|
+++ build/parsePreamble.c
|
|
@@ -311,6 +311,7 @@ static struct optionalTag {
|
|
{ RPMTAG_PACKAGER, "%{packager}" },
|
|
{ RPMTAG_DISTRIBUTION, "%{distribution}" },
|
|
{ RPMTAG_DISTURL, "%{disturl}" },
|
|
+ { RPMTAG_DISTTAG, "%{disttag}" },
|
|
{ -1, NULL }
|
|
};
|
|
|
|
Index: macros.in
|
|
===================================================================
|
|
--- macros.in.orig
|
|
+++ macros.in
|
|
@@ -276,6 +276,16 @@ package or when debugging this package.\
|
|
#
|
|
#%disturl
|
|
|
|
+# Configurable distribution tag, same as Disttag: tag in a specfile.
|
|
+# The tag will be used to supply reliable information to tools like
|
|
+# rpmfind.
|
|
+#
|
|
+# Note: You should not configure with disturl (or build packages with
|
|
+# the Disttag: tag) unless you are willing to supply content in a
|
|
+# yet-to-be-determined format at the tag specified.
|
|
+#
|
|
+#%disttag
|
|
+
|
|
# Boolean (i.e. 1 == "yes", 0 == "no") that controls whether files
|
|
# marked as %doc should be installed.
|
|
#%_excludedocs
|