[389-ds-base] fedpkg verrel stupidly ignores comment lines

Richard Allen Megginson rmeggins at fedoraproject.org
Thu Aug 26 21:27:13 UTC 2010


commit 5fd2662524fa31583bebd518b22f0685cb9eef72
Author: Rich Megginson <rmeggins at redhat.com>
Date:   Thu Aug 26 15:23:37 2010 -0600

    fedpkg verrel stupidly ignores comment lines
    
    have to add a space between % and global or fedpkg verrel will attempt
    to use the definitions even though the line is commented out

 389-ds-base.spec |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/389-ds-base.spec b/389-ds-base.spec
index 2c3b285..f193a3f 100644
--- a/389-ds-base.spec
+++ b/389-ds-base.spec
@@ -1,9 +1,11 @@
 
 %global pkgname   dirsrv
 # for a pre-release, define the prerel field e.g. .a1 .rc2 - comment out for official release
-#%global prerel .rc7
+# also remove the space between % and global - this space is needed because
+# fedpkg verrel stupidly ignores comment lines
+#% global prerel .rc7
 # also need the relprefix field for a pre-release e.g. .0 - also comment out for official release
-#%global relprefix 0.
+#% global relprefix 0.
 
 %global selinux_variants mls targeted
 


More information about the scm-commits mailing list