2011-05-16 18:07:44 +02:00
|
|
|
Hmm, SUSE doesn't use it, so what's the purpose of this patch?
|
|
|
|
|
|
|
|
--- ./build/parsePreamble.c.orig 2011-05-11 14:27:32.000000000 +0000
|
|
|
|
+++ ./build/parsePreamble.c 2011-05-11 15:59:08.000000000 +0000
|
|
|
|
@@ -485,6 +485,7 @@ static struct optionalTag {
|
2009-02-09 18:05:08 +01:00
|
|
|
{ RPMTAG_PACKAGER, "%{packager}" },
|
|
|
|
{ RPMTAG_DISTRIBUTION, "%{distribution}" },
|
|
|
|
{ RPMTAG_DISTURL, "%{disturl}" },
|
|
|
|
+ { RPMTAG_DISTTAG, "%{disttag}" },
|
2010-03-26 11:56:28 +01:00
|
|
|
{ RPMTAG_BUGURL, "%{bugurl}" },
|
2009-02-09 18:05:08 +01:00
|
|
|
{ -1, NULL }
|
|
|
|
};
|
2011-05-16 18:07:44 +02:00
|
|
|
--- ./macros.in.orig 2011-05-11 15:38:44.000000000 +0000
|
|
|
|
+++ ./macros.in 2011-05-11 15:59:08.000000000 +0000
|
2010-03-26 11:56:28 +01:00
|
|
|
@@ -279,6 +279,16 @@ package or when debugging this package.\
|
2009-02-09 18:05:08 +01:00
|
|
|
#
|
2010-03-26 11:56:28 +01:00
|
|
|
#%bugurl
|
2009-02-09 18:05:08 +01:00
|
|
|
|
|
|
|
+# 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
|