From 0a67bdb89bbbb3118205c4dae84d11967108772f Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Tue, 9 Oct 2012 15:23:40 +0200 Subject: [PATCH] Fix spec/macro issue when building with SELinux --- tar.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tar.spec b/tar.spec index 5d83814..5d16acf 100644 --- a/tar.spec +++ b/tar.spec @@ -80,10 +80,11 @@ the rmt package. autoreconf %build -%configure --bindir=/bin --libexecdir=/sbin \ %if %{WITH_SELINUX} == 0 - --without-selinux +export CONFIGURE_PARAMS+="--without-selinux" %endif + +%configure --bindir=/bin --libexecdir=/sbin $CONFIGURE_PARAMS make %install @@ -135,6 +136,9 @@ fi %{_infodir}/tar.info* %changelog +* Wed Oct 10 2012 Pavel Raiskup 2:1.26-13 +- fix badly written macro for building --without-selinux + * Fri Oct 05 2012 Pavel Raiskup 2:1.26-12 - repair the xattr-gnulib-prepare patch to allow build tar without SELinux support