From 783f491b21500d20482af18d34dde64134ebe8d7 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sun, 15 Feb 2009 19:10:31 +0100 Subject: [PATCH] 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 --- build/rpm/xfsprogs.spec.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.47.2