File disttag-macro.diff of Package rpm

--- build/parsePreamble.c
+++ build/parsePreamble.c	2009/02/09 13:05:35
@@ -330,6 +330,7 @@
     { RPMTAG_PACKAGER,		"%{packager}" },
     { RPMTAG_DISTRIBUTION,	"%{distribution}" },
     { RPMTAG_DISTURL,		"%{disturl}" },
+    { RPMTAG_DISTTAG,		"%{disttag}" },
     { -1, NULL }
 };
 
--- macros.in
+++ macros.in	2009/02/09 13:03:08
@@ -259,6 +259,16 @@
 #
 #%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
openSUSE Build Service is sponsored by