]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
specfile: use rpm macros where possible
authorJan Engelhardt <jengelh@medozas.de>
Sun, 15 Feb 2009 18:10:31 +0000 (19:10 +0100)
committerChristoph Hellwig <hch@brick.lst.de>
Sun, 15 Feb 2009 18:10:31 +0000 (19:10 +0100)
This way less places need to be changes (when a developer decides
to change it..) after the placeholders have been substituted.

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
build/rpm/xfsprogs.spec.in

index cf61225f0e1483c9f922719fdc14258b1c9db06e..d9b3f2e3fbf3da81788fb5f3ec7cb7af2a4b5a1c 100644 (file)
@@ -7,7 +7,7 @@ Packager: Silicon Graphics, Inc. <http://www.sgi.com/>
 BuildRoot: @build_root@ 
 Prereq: /sbin/ldconfig
 Conflicts: xfsdump < 3.0.0
-Source: @pkg_name@-@pkg_version@.src.tar.gz
+Source: %name-%version.src.tar.gz
 License: GPL
 Vendor: Silicon Graphics, Inc.
 URL: http://oss.sgi.com/projects/xfs/
@@ -30,8 +30,8 @@ with the IRIX version of XFS.
 %package devel
 Summary: XFS filesystem-specific static libraries and headers.
 Group: Development/Libraries
-Requires: @pkg_name@ >= 3.0.0
-Conflicts: @pkg_name@ < 3.0.0
+Requires: %name >= 3.0.0
+Conflicts: %name < 3.0.0
 
 %description devel
 xfsprogs-devel contains the libraries and header files needed to