xfs
[Top] [All Lists]

rfc 1/2: specfile: use rpm macros where possible

To: xfs@xxxxxxxxxxx
Subject: rfc 1/2: specfile: use rpm macros where possible
From: Jan Engelhardt <jengelh@xxxxxxxxxx>
Date: Wed, 11 Feb 2009 18:04:04 +0100 (CET)
Sender: jengelh@xxxxxxxxxxxxxxxxxxxxxxxxx
User-agent: Alpine 2.00 (LSU 1167 2008-08-23)
parent d8a0f148be5b5ea67ee84c61201e98d345c14eda (v{3.0.0})
commit c32f9b41de79a420e0896d2d4321ce74235d26ce
Author: Jan Engelhardt <jengelh@xxxxxxxxxx>
Date:   Wed Feb 11 17:52:53 2009 +0100

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 <jengelh@xxxxxxxxxx>
---
 build/rpm/xfsprogs.spec.in |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/build/rpm/xfsprogs.spec.in b/build/rpm/xfsprogs.spec.in
index cf61225..d9b3f2e 100644
--- a/build/rpm/xfsprogs.spec.in
+++ b/build/rpm/xfsprogs.spec.in
@@ -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
-- 
# Created with git-export-patch

<Prev in Thread] Current Thread [Next in Thread>