Commit 2a39fa09 authored by Oliver Schmidt's avatar Oliver Schmidt Committed by Jussi Laakkonen

policycoreutils: package to /sbin until JB#36606 is resolved

- many external tools/ Makefiles expect certain binaries to reside in
- let's just package binaries to there until JB#36606 resolution links
  whole /usr/sbin to /sbin
parent cccaf6d9
......@@ -30,6 +30,9 @@
%define python3_sitearch /%{_libdir}/python3.?/site-packages
%define python3_sitelib /%{_libdir}/python3.?/site-packages
# tools expect several binaries to reside in /sbin. putting them there is easier until we symlink the whole /usr/sbin to /sbin
%define _sbindir /sbin
Summary: SELinux policy core utilities
Name: policycoreutils
Version: 2.7
......@@ -110,8 +113,8 @@ make -C restorecond PYTHON=%{__python3} DESTDIR="%{buildroot}" SBINDIR="%{buildr
rm -rf %{buildroot}/%{_sysconfdir}/rc.d/init.d/restorecond
rm -f %{buildroot}/usr/share/man/man8/open_init_pty.8
rm -f %{buildroot}/usr/sbin/open_init_pty
rm -f %{buildroot}/usr/sbin/run_init
rm -f %{buildroot}%{_sbindir}/open_init_pty
rm -f %{buildroot}%{_sbindir}/run_init
rm -f %{buildroot}/etc/pam.d/run_init*
rm -f %{buildroot}/usr/share/man/man8/sepolicy-gui.8*
rm -f %{buildroot}/usr/share/man/man8/run_init.8*
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment