parent e88a1b61f0258b51a1d0c99991cc25b28fddd1a8 ()
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
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
@@ -2,8 +2,6 @@ Summary: Data Management API runtime environment.
-Packager: Silicon Graphics, Inc. <http://www.sgi.com/>
Conflicts: xfsdump < 2.0.0
@@ -23,7 +21,7 @@ by the libdm library.
Summary: Data Management API static libraries and headers.
-Requires: @pkg_name@ >= 2.0.4 xfsprogs-devel
+Requires: %name >= 2.0.4 xfsprogs-devel
dmapi-devel contains the libraries and header files needed to
# Created with git-export-patch