public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* rfc 1/2: specfile: use rpm macros where possible
@ 2009-02-11 17:04 Jan Engelhardt
  2009-02-11 17:04 ` rfc 2/2: specfile: remove Distribution tag Jan Engelhardt
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Jan Engelhardt @ 2009-02-11 17:04 UTC (permalink / raw)
  To: xfs


parent d8a0f148be5b5ea67ee84c61201e98d345c14eda (v{3.0.0})
commit c32f9b41de79a420e0896d2d4321ce74235d26ce
Author: Jan Engelhardt <jengelh@medozas.de>
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@medozas.de>
---
 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

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-02-26 20:29 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-11 17:04 rfc 1/2: specfile: use rpm macros where possible Jan Engelhardt
2009-02-11 17:04 ` rfc 2/2: specfile: remove Distribution tag Jan Engelhardt
2009-02-11 17:25 ` rfc 1/2: specfile: use rpm macros where possible Eric Sandeen
2009-02-15 17:24 ` Christoph Hellwig
2009-02-19 15:25   ` Jan Engelhardt
2009-02-24 19:07     ` Christoph Hellwig
2009-02-25 10:15       ` xfsdump: specfile: remove Distribution/Packager tag Jan Engelhardt
2009-02-25 10:18         ` dmapi: " Jan Engelhardt
2009-02-26 20:28         ` xfsdump: " Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox