From: Jan Engelhardt Date: Sun, 15 Feb 2009 18:10:31 +0000 (+0100) Subject: specfile: use rpm macros where possible X-Git-Tag: v3.0.1~15 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=783f491b21500d20482af18d34dde64134ebe8d7;p=thirdparty%2Fxfsprogs-dev.git specfile: use rpm macros where possible 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 Reviewed-by: Christoph Hellwig --- diff --git a/build/rpm/xfsprogs.spec.in b/build/rpm/xfsprogs.spec.in index cf61225f0..d9b3f2e3f 100644 --- a/build/rpm/xfsprogs.spec.in +++ b/build/rpm/xfsprogs.spec.in @@ -7,7 +7,7 @@ Packager: Silicon Graphics, Inc. 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