rfc 2/2: specfile: remove Distribution tag

Jan Engelhardt jengelh at medozas.de
Wed Feb 11 11:04:34 CST 2009



parent c32f9b41de79a420e0896d2d4321ce74235d26ce (v{3.0.0}-1-gc32f9b4)
commit 4ee2e6de88b43bc9b4e1cc5a59cee264afd14123
Author: Jan Engelhardt <jengelh at medozas.de>
Date:   Wed Feb 11 17:54:05 2009 +0100

specfile: remove Distribution tag

There exist a number of rpm specfile tags that make it possible to
mislead users of the produced RPM package, because its presence
overrides anything that has been specified in ~/.rpmmacros (or the
configuration files of the build system used). Such is especially
annoying when Packager:/Vendor: is put in specfiles, because it is
then almost impossible to get the name/email of the person who
_really_ did the packaging (assuming s/he set it in their
.rpmmacros).

Such similarly applies to the Distribution: tag, which is why I
suggest its removal and let the build systems provide the proper
string instead.

Signed-off-by: Jan Engelhardt <jengelh at medozas.de>
---
 build/rpm/xfsprogs.spec.in |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/build/rpm/xfsprogs.spec.in b/build/rpm/xfsprogs.spec.in
index d9b3f2e..ab773dd 100644
--- a/build/rpm/xfsprogs.spec.in
+++ b/build/rpm/xfsprogs.spec.in
@@ -2,7 +2,6 @@ Summary: Utilities for managing the XFS filesystem.
 Name: @pkg_name@
 Version: @pkg_version@
 Release: @pkg_release@
-Distribution: @pkg_distribution@
 Packager: Silicon Graphics, Inc. <http://www.sgi.com/>
 BuildRoot: @build_root@ 
 Prereq: /sbin/ldconfig
-- 
# Created with git-export-patch




More information about the xfs mailing list