diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2009-02-26 21:27:19 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@brick.lst.de> | 2009-02-26 21:27:19 +0100 |
commit | 16ed6d8a4a11a327b38f153624cd8dfe652aee06 (patch) | |
tree | 63226d2bcb777cdd8882e8906fa2a7a270101c9f | |
parent | e88a1b61f0258b51a1d0c99991cc25b28fddd1a8 (diff) | |
download | dmapi-dev-16ed6d8a4a11a327b38f153624cd8dfe652aee06.tar.gz |
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@medozas.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
-rw-r--r-- | 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 |