diff --git a/freeipa.spec b/freeipa.spec index a04e226..a7d2328 100644 --- a/freeipa.spec +++ b/freeipa.spec @@ -160,7 +160,7 @@ # "Version: @VERSION@" in freeipa.spec.in used for Autoconf string replacement %define IPA_VERSION 4.9.0 # Release candidate version -- set to %%nil (one percent sign) for a release -%define rc_version rc1 +%global rc_version rc1 %define AT_SIGN @ # redefine IPA_VERSION only if its value matches the Autoconf placeholder %if "%{IPA_VERSION}" == "%{AT_SIGN}VERSION%{AT_SIGN}" @@ -862,7 +862,7 @@ UpdateTimestamps() { done } -%setup -n freeipa-%{version} -q +%setup -n freeipa-%{version}%{?rc_version} -q # To allow proper application patches to the stripped po files, strip originals pushd po