From 5fd2662524fa31583bebd518b22f0685cb9eef72 Mon Sep 17 00:00:00 2001 From: Rich Megginson Date: Aug 26 2010 21:23:37 +0000 Subject: 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 --- 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