[Top] [All Lists]

rfc 2/2: specfile: remove Distribution tag

To: xfs@xxxxxxxxxxx
Subject: rfc 2/2: specfile: remove Distribution tag
From: Jan Engelhardt <jengelh@xxxxxxxxxx>
Date: Wed, 11 Feb 2009 18:04:34 +0100 (CET)
In-reply-to: <alpine.LSU.2.00.0902111802320.25232@xxxxxxxxxxxxxxxxxxxxxxxxx>
References: <alpine.LSU.2.00.0902111802320.25232@xxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: jengelh@xxxxxxxxxxxxxxxxxxxxxxxxx
User-agent: Alpine 2.00 (LSU 1167 2008-08-23)

parent c32f9b41de79a420e0896d2d4321ce74235d26ce (v{3.0.0}-1-gc32f9b4)
commit 4ee2e6de88b43bc9b4e1cc5a59cee264afd14123
Author: Jan Engelhardt <jengelh@xxxxxxxxxx>
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

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@xxxxxxxxxx>
 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

<Prev in Thread] Current Thread [Next in Thread>