]> git.pld-linux.org Git - packages/rpm-build-macros.git/commitdiff
- add %rpm_build_macros
authorElan Ruusamäe <glen@pld-linux.org>
Sat, 13 Feb 2010 18:04:03 +0000 (18:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm.macros -> 1.535

rpm.macros

index 19acd78860d5f61439b64826b58683ab1706b9b9..ed2612d11c554b441631a66245700f23a308dbb7 100644 (file)
@@ -2,6 +2,9 @@
 # PLD Linux rpm macros.
 # <http://www.pld-linux.org/>
 
+# can be used by builder script to to check for version
+%rpm_build_macros      %(R="$Revision$"; RR="${R##: }"; echo ${RR%%?})
+
 %epoch         0
 %x8664         x86_64 amd64 ia32e
 
This page took 0.031355 seconds and 4 git commands to generate.