[tar] Fix spec/macro issue when building with SELinux
Pavel Raiskup
praiskup at fedoraproject.org
Wed Oct 10 09:03:18 UTC 2012
commit 0a67bdb89bbbb3118205c4dae84d11967108772f
Author: Pavel Raiskup <praiskup at redhat.com>
Date: Tue Oct 9 15:23:40 2012 +0200
Fix spec/macro issue when building with SELinux
tar.spec | 8 ++++++--
1 files 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 <praiskup at redhat.com> 2:1.26-13
+- fix badly written macro for building --without-selinux
+
* Fri Oct 05 2012 Pavel Raiskup <praiskup at redhat.com> 2:1.26-12
- repair the xattr-gnulib-prepare patch to allow build tar without SELinux
support
More information about the scm-commits
mailing list