Fix build directory location for release candidates

This commit is contained in:
Alexander Bokovoy 2020-11-18 12:00:47 +02:00
parent 0d298a885e
commit a5238c00f7

View File

@ -160,7 +160,7 @@
# "Version: @VERSION@" in freeipa.spec.in used for Autoconf string replacement # "Version: @VERSION@" in freeipa.spec.in used for Autoconf string replacement
%define IPA_VERSION 4.9.0 %define IPA_VERSION 4.9.0
# Release candidate version -- set to %%nil (one percent sign) for a release # Release candidate version -- set to %%nil (one percent sign) for a release
%define rc_version rc1 %global rc_version rc1
%define AT_SIGN @ %define AT_SIGN @
# redefine IPA_VERSION only if its value matches the Autoconf placeholder # redefine IPA_VERSION only if its value matches the Autoconf placeholder
%if "%{IPA_VERSION}" == "%{AT_SIGN}VERSION%{AT_SIGN}" %if "%{IPA_VERSION}" == "%{AT_SIGN}VERSION%{AT_SIGN}"
@ -862,7 +862,7 @@ UpdateTimestamps() {
done 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 # To allow proper application patches to the stripped po files, strip originals
pushd po pushd po