dmapi: specfile: remove Distribution/Packager tag
Jan Engelhardt
jengelh at medozas.de
Wed Feb 25 04:18:04 CST 2009
parent e88a1b61f0258b51a1d0c99991cc25b28fddd1a8 ()
commit 9db3ece5fd5dc3265f28869140be262f16ef95ac
Author: Jan Engelhardt <jengelh at medozas.de>
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
.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.
Also make use of rpm macros in one place.
Signed-off-by: Jan Engelhardt <jengelh at medozas.de>
---
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
More information about the xfs
mailing list