[Top] [All Lists]

dmapi: specfile: remove Distribution/Packager tag

To: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Subject: dmapi: specfile: remove Distribution/Packager tag
From: Jan Engelhardt <jengelh@xxxxxxxxxx>
Date: Wed, 25 Feb 2009 11:18:04 +0100 (CET)
Cc: xfs@xxxxxxxxxxx
In-reply-to: <alpine.LSU.2.00.0902251114250.20946@xxxxxxxxxxxxxxxxxxxxxxxxx>
References: <alpine.LSU.2.00.0902111802320.25232@xxxxxxxxxxxxxxxxxxxxxxxxx> <20090215172417.GA20256@xxxxxxxxxxxxx> <alpine.LSU.2.00.0902191625070.20437@xxxxxxxxxxxxxxxxxxxxxxxxx> <20090224190731.GA22910@xxxxxxxxxxxxx> <alpine.LSU.2.00.0902251114250.20946@xxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: jengelh@xxxxxxxxxxxxxxxxxxxxxxxxx
User-agent: Alpine 2.00 (LSU 1167 2008-08-23)
parent e88a1b61f0258b51a1d0c99991cc25b28fddd1a8 ()
commit 9db3ece5fd5dc3265f28869140be262f16ef95ac
Author: Jan Engelhardt <jengelh@xxxxxxxxxx>
Date:   Wed Feb 25 11:15:51 2009 +0100

specfile: remove Distribution/Packager tag; use rpm macros

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.

Also make use of rpm macros in one place.

Signed-off-by: Jan Engelhardt <jengelh@xxxxxxxxxx>
 build/rpm/dmapi.spec.in |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/build/rpm/dmapi.spec.in b/build/rpm/dmapi.spec.in
index a0c5de6..22832da 100644
--- a/build/rpm/dmapi.spec.in
+++ b/build/rpm/dmapi.spec.in
@@ -2,8 +2,6 @@ Summary: Data Management API runtime environment.
 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
 Conflicts: xfsdump < 2.0.0
@@ -23,7 +21,7 @@ by the libdm library.
 %package devel
 Summary: Data Management API static libraries and headers.
 Group: Development/Libraries
-Requires: @pkg_name@ >= 2.0.4 xfsprogs-devel
+Requires: %name >= 2.0.4 xfsprogs-devel
 %description devel
 dmapi-devel contains the libraries and header files needed to
# Created with git-export-patch

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