From 9bbf1ed093f3524454ef78172a6bed301f1846f9 Mon Sep 17 00:00:00 2001 From: Petr Lautrbach Date: Tue, 27 Dec 2022 11:20:38 +0100 Subject: [PATCH] Drop pathfix All necessary changes were applied upstream. --- policycoreutils.spec | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/policycoreutils.spec b/policycoreutils.spec index 3fa7f23..8195fe0 100644 --- a/policycoreutils.spec +++ b/policycoreutils.spec @@ -143,27 +143,6 @@ install -m 644 -p %{SOURCE18} %{buildroot}/%{_unitdir}/ install -m 755 -p %{SOURCE19} %{buildroot}/%{generatorsdir}/ install -m 755 -p %{SOURCE15} %{buildroot}/%{_libexecdir}/selinux/ -# change /usr/bin/python to %%{__python3} in policycoreutils-python3 -%{__python3} %{_rpmconfigdir}/redhat/pathfix.py -i "%{__python3} -Es" -p %{buildroot}%{python3_sitelib} - -# change /usr/bin/python to %%{__python3} in policycoreutils-python-utils -%{__python3} %{_rpmconfigdir}/redhat/pathfix.py -i "%{__python3} -Es" -p \ - %{buildroot}%{_sbindir}/semanage \ - %{buildroot}%{_bindir}/chcat \ - %{buildroot}%{_bindir}/sandbox \ - %{buildroot}%{_datadir}/sandbox/start \ - %{buildroot}%{_bindir}/audit2allow \ - %{buildroot}%{_bindir}/sepolicy \ - %{buildroot}%{_bindir}/sepolgen-ifgen \ - %{buildroot}%{_datadir}/system-config-selinux/system-config-selinux.py \ - %{buildroot}%{_datadir}/system-config-selinux/selinux_server.py \ - %nil - -# clean up ~ files from pathfix - https://bugzilla.redhat.com/show_bug.cgi?id=1546990 -find %{buildroot}%{python3_sitelib} %{buildroot}%{python3_sitearch} \ - %{buildroot}%{_sbindir} %{buildroot}%{_bindir} %{buildroot}%{_datadir} \ - -type f -name '*~' | xargs rm -f - # Manually invoke the python byte compile macro for each path that needs byte # compilation. %py_byte_compile %{__python3} %{buildroot}%{_datadir}/system-config-selinux