Do not use python3 in python 2 directories
This commit is contained in:
parent
953350ddce
commit
1888063970
@ -133,6 +133,10 @@ install -m 755 -p %{SOURCE9} %{buildroot}/%{generatorsdir}/
|
||||
install -m 755 -p %{SOURCE5} %{buildroot}/%{_libexecdir}/selinux/
|
||||
ln -s ../selinux-autorelabel-mark.service %{buildroot}/%{_unitdir}/basic.target.wants/
|
||||
|
||||
# change /usr/bin/python3 to /usr/bin/python in policycoreutils-python
|
||||
find %{buildroot}%{python_sitelib} %{buildroot}%{python_sitearch} -type f | xargs \
|
||||
sed -i '1s/\(#! *\/usr\/bin\/python\)3/\1/'
|
||||
|
||||
%find_lang %{name}
|
||||
|
||||
%package python-utils
|
||||
|
Loading…
Reference in New Issue
Block a user