Drop python2 sepolicy gui files from policycoreutils-gui
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1566618
This commit is contained in:
parent
6035a0be1e
commit
1d2d2bc1ce
@ -9,7 +9,7 @@
|
||||
Summary: SELinux policy core utilities
|
||||
Name: policycoreutils
|
||||
Version: 2.7
|
||||
Release: 19%{?dist}
|
||||
Release: 20%{?dist}
|
||||
License: GPLv2
|
||||
# https://github.com/SELinuxProject/selinux/wiki/Releases
|
||||
Source0: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20170804/policycoreutils-2.7.tar.gz
|
||||
@ -156,6 +156,12 @@ rm -f %{buildroot}%{_datadir}/system-config-selinux/selinux-polgengui.desktop
|
||||
rm -f %{buildroot}%{_datadir}/system-config-selinux/sepolicy.desktop
|
||||
rm -f %{buildroot}%{_datadir}/system-config-selinux/system-config-selinux.desktop
|
||||
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1566618
|
||||
# we don't need python2 sepolicy gui files anymore
|
||||
rm -f %{buildroot}%{python2_sitelib}/sepolicy/gui.*
|
||||
rm -f %{buildroot}%{python2_sitelib}/sepolicy/sepolicy.glade
|
||||
rm -rf %{buildroot}%{python2_sitelib}/sepolicy/help
|
||||
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1328825
|
||||
mkdir -m 755 -p %{buildroot}/%{_unitdir}/basic.target.wants/
|
||||
mkdir -m 755 -p %{buildroot}/%{generatorsdir}
|
||||
@ -402,10 +408,6 @@ system-config-selinux is a utility for managing the SELinux environment
|
||||
%{_datadir}/system-config-selinux/polgengui.py*
|
||||
%{_datadir}/system-config-selinux/system-config-selinux.py*
|
||||
%{_datadir}/system-config-selinux/*.ui
|
||||
%{python2_sitelib}/sepolicy/gui.py*
|
||||
%{python2_sitelib}/sepolicy/sepolicy.glade
|
||||
%dir %{python2_sitelib}/sepolicy/help
|
||||
%{python2_sitelib}/sepolicy/help/*
|
||||
%{python3_sitelib}/sepolicy/gui.py*
|
||||
%{python3_sitelib}/sepolicy/sepolicy.glade
|
||||
%{_datadir}/icons/hicolor/*/apps/sepolicy.png
|
||||
@ -498,6 +500,9 @@ The policycoreutils-restorecond package contains the restorecond service.
|
||||
%systemd_postun_with_restart restorecond.service
|
||||
|
||||
%changelog
|
||||
* Thu Apr 19 2018 Petr Lautrbach <plautrba@redhat.com> - 2.7-20
|
||||
- Drop python2 sepolicy gui files from policycoreutils-gui (#1566618)
|
||||
|
||||
* Wed Apr 18 2018 Iryna Shcherbina <shcherbina.iryna@gmail.com> - 2.7-19
|
||||
- Update Python 2 dependency declarations to new packaging standards
|
||||
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
||||
|
Loading…
Reference in New Issue
Block a user