fixed load_policy location

This commit is contained in:
Harald Hoyer 2012-01-26 18:20:15 +01:00
parent f8bca8aa02
commit 1eac07342c

View File

@ -7,7 +7,7 @@
Summary: SELinux policy core utilities
Name: policycoreutils
Version: 2.1.10
Release: 15%{?dist}
Release: 16%{?dist}
License: GPLv2
Group: System Environment/Base
# Based on git repository with tag 20101221
@ -73,6 +73,9 @@ context.
sed -i 's#$(DESTDIR)/sbin#$(SBINDIR)#g' scripts/Makefile
#FIXME
sed -i 's#.*ln -sf /sbin/load_policy.*##g' load_policy/Makefile
%build
make LSPP_PRIV=y SBINDIR="%{_sbindir}" LIBDIR="%{_libdir}" CFLAGS="%{optflags} -fPIE" LDFLAGS="-pie -Wl,-z,relro" all
make -C sepolgen-%{sepolgenver} SBINDIR="%{_sbindir}" LSPP_PRIV=y LIBDIR="%{_libdir}" CFLAGS="%{optflags} -fPIE" LDFLAGS="-pie -Wl,-z,relro" all
@ -116,10 +119,6 @@ rm -f %{buildroot}/usr/sbin/open_init_pty
ln -sf consolehelper %{buildroot}%{_bindir}/system-config-selinux
ln -sf /usr/share/system-config-selinux/polgengui.py %{buildroot}%{_bindir}/selinux-polgengui
# FIXME
rm -f %{buildroot}%{_sbindir}/load_policy
mv %{buildroot}/sbin/load_policy %{buildroot}%{_sbindir}/
%{__mkdir} -p %{buildroot}%{_sysconfdir}/bash_completion.d/
install -m 755 %{SOURCE9} %{buildroot}%{_sysconfdir}/bash_completion.d/
@ -362,6 +361,9 @@ fi
/bin/systemctl try-restart restorecond.service >/dev/null 2>&1 || :
%changelog
* Thu Jan 26 2012 Harald Hoyer <harald@redhat.com> 2.1.10-16
- fixed load_policy location
* Thu Jan 26 2012 Harald Hoyer <harald@redhat.com> 2.1.10-15
- fixed load_policy location