From a5238c00f71a2cc1bb4418d67a3f314a65349b80 Mon Sep 17 00:00:00 2001 From: Alexander Bokovoy Date: Wed, 18 Nov 2020 12:00:47 +0200 Subject: [PATCH] Fix build directory location for release candidates --- freeipa.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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