Hello community,

here is the log from the commit of package policycoreutils for openSUSE:Factory 
checked in at 2019-01-21 10:55:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/policycoreutils (Old)
 and      /work/SRC/openSUSE:Factory/.policycoreutils.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "policycoreutils"

Mon Jan 21 10:55:17 2019 rev:47 rq:666183 version:2.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/policycoreutils/policycoreutils.changes  
2018-05-04 11:30:21.201887064 +0200
+++ 
/work/SRC/openSUSE:Factory/.policycoreutils.new.28833/policycoreutils.changes   
    2019-01-21 10:55:29.039647015 +0100
@@ -1,0 +2,69 @@
+Fri Jan 11 14:18:32 UTC 2019 - [email protected]
+
+- Required python3-policycoreutils instead of just recommending it
+  for policycoreutils (bsc#1121455)
+- Added requires for python3-setuptools to python3-policycoreutils
+  (bsc#1121455)
+- Removed requires for audit-libs-python from policycoreutils
+  (bsc#1121455)
+
+-------------------------------------------------------------------
+Mon Jan  7 14:32:58 UTC 2019 - Marcus Rueckert <[email protected]>
+
+- properly obsolete/provides for policycoreutils-python
+- remove unneeded obsolete from the devel package
+
+-------------------------------------------------------------------
+Fri Dec  7 15:08:14 UTC 2018 - [email protected]
+
+- Don't require selinux-policy-devel for the devel package
+
+-------------------------------------------------------------------
+Fri Dec  7 13:10:50 UTC 2018 - [email protected]
+
+- Obsolete policycoreutils-python in policycoreutils and 
+  policycoreutils-devel to prevent file conflicts
+
+-------------------------------------------------------------------
+Wed Nov 21 15:58:16 UTC 2018 - [email protected]
+
+- Included content of selinux-python-2.8 and semodule-utils-2.8.
+  I think it's easier to have all the relevant binaries in the 
+  policycoreutils package (bsc#1116596).
+  Added make_targets.patch for this
+- Removed restorecond, is now a separate package
+- Added python3.patch to use python3 interpreter
+- New runtime requires:
+  * libsepol1
+  * python3-ipy
+  * python3-networkx
+  * python3-semanage
+- Provides and obsolete policycoreutils-python
+
+-------------------------------------------------------------------
+Thu Nov  8 07:19:24 UTC 2018 - [email protected]
+
+- Adjusted source urls (bsc#1115052)
+
+-------------------------------------------------------------------
+Wed Oct 17 11:58:44 UTC 2018 - [email protected]
+
+- Update to version 2.8 (bsc#1111732) 
+  For changes please see
+  
https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20180524/RELEASE-20180524.txt
+
+-------------------------------------------------------------------
+Wed May 16 07:26:07 UTC 2018 - [email protected]
+
+- Rebase to 2.7
+  * Rather large rewrite of the SPEC file
+  * Significantly, support for python2 removed
+  For changes please see
+  
https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20170804/RELEASE-20170804.txt
+- Dropped patches:
+  * policycoreutils-initscript.patch
+  * policycoreutils-pam-common.patch
+  * loadpolicy_path.patch
+  * CVE-2018-1063.patch
+
+-------------------------------------------------------------------

Old:
----
  CVE-2018-1063.patch
  loadpolicy_path.patch
  policycoreutils-2.6.tar.gz
  policycoreutils-initscript.patch
  policycoreutils-pam-common.patch
  policycoreutils_man_ru2.tar.bz2
  sepolgen-2.6.tar.gz

New:
----
  make_targets.patch
  policycoreutils-2.8.tar.gz
  python3.patch
  selinux-python-2.8.tar.gz
  semodule-utils-2.8.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ policycoreutils.spec ++++++
--- /var/tmp/diff_new_pack.vtw0iB/_old  2019-01-21 10:55:32.035643412 +0100
+++ /var/tmp/diff_new_pack.vtw0iB/_new  2019-01-21 10:55:32.035643412 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package policycoreutils
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,39 +17,37 @@
 
 
 %define libaudit_ver     2.2
-%define libsepol_ver     2.6
-%define libsemanage_ver  2.6
-%define libselinux_ver   2.6
-%define sepolgen_ver     2.6
-#Compat macro for new _fillupdir macro introduced in Nov 2017
-%if ! %{defined _fillupdir}
-  %define _fillupdir %{_localstatedir}/adm/fillup-templates
-%endif
+%define libsepol_ver     2.8
+%define libsemanage_ver  2.8
+%define libselinux_ver   2.8
+%define setools_ver      4.1.1
+%define tstamp           20180524
 Name:           policycoreutils
-Version:        2.6
+Version:        2.8
 Release:        0
 Summary:        SELinux policy core utilities
 License:        GPL-2.0-or-later
 Group:          Productivity/Security
-Url:            https://github.com/SELinuxProject/selinux
-Source:         
https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20161014/%{name}-%{version}.tar.gz
-Source1:        
https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20161014/sepolgen-%{sepolgen_ver}.tar.gz
+URL:            https://github.com/SELinuxProject/selinux
+Source0:        
https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/%{tstamp}/%{name}-%{version}.tar.gz
+Source1:        
https://github.com/SELinuxProject/selinux/releases/download/%{tstamp}/selinux-python-%{version}.tar.gz
 Source2:        system-config-selinux.png
 Source3:        system-config-selinux.desktop
 Source4:        system-config-selinux.pam
 Source5:        system-config-selinux.console
 Source6:        selinux-polgengui.desktop
 Source7:        selinux-polgengui.console
-Source8:        policycoreutils_man_ru2.tar.bz2
-Patch4:         policycoreutils-initscript.patch
-Patch5:         policycoreutils-pam-common.patch
-Patch10:        loadpolicy_path.patch
-Patch11:        CVE-2018-1063.patch
+Source8:        
https://github.com/SELinuxProject/selinux/releases/download/%{tstamp}/semodule-utils-%{version}.tar.gz
+Patch0:         make_targets.patch
+Patch1:         python3.patch
 BuildRequires:  audit-devel >= %{libaudit_ver}
+BuildRequires:  bison
 BuildRequires:  dbus-1-glib-devel
 BuildRequires:  fdupes
+BuildRequires:  flex
 BuildRequires:  gettext
 BuildRequires:  hicolor-icon-theme
+BuildRequires:  libbz2-devel
 BuildRequires:  libcap-devel
 BuildRequires:  libcap-ng-devel
 BuildRequires:  libselinux-devel >= %{libselinux_ver}
@@ -58,13 +56,19 @@
 BuildRequires:  pam-devel
 # needed only for dir /usr/share/polkit-1 from policycoreutils-gui
 BuildRequires:  polkit
-BuildRequires:  python-devel
+BuildRequires:  python-rpm-macros
+BuildRequires:  python3
 BuildRequires:  systemd-rpm-macros
 BuildRequires:  update-desktop-files
-Requires:       audit-libs-python
+BuildRequires:  xmlto
 Requires:       checkpolicy
 Requires:       gawk
-Requires:       python-selinux
+Requires:       libsepol1 >= %{libsepol_ver}
+Requires:       python3-%{name}
+Requires:       python3-ipy
+Requires:       python3-networkx
+Requires:       python3-selinux
+Requires:       python3-semanage
 Requires:       rpm
 Requires:       util-linux
 # we need selinuxenabled
@@ -72,6 +76,7 @@
 Requires(pre):  %fillup_prereq
 Requires(pre):  permissions
 Recommends:     %{name}-lang
+Obsoletes:      policycoreutils-python
 %{?systemd_requires}
 
 %description
@@ -88,27 +93,35 @@
 
 %lang_package
 
-%package python
-Summary:        SELinux policy core python utilities
+%package -n python3-%{name}
+Summary:        SELinux policy core python3 interfaces
+Group:          Productivity/Security
+Requires:       %{name} = %{version}-%{release}
+Requires:       checkpolicy
+Requires:       python3-audit >= %{libaudit_ver}
+Requires:       python3-selinux
+Requires:       python3-setools >= %{setools_ver}
+Requires:       python3-setuptools
+Provides:       policycoreutils-python = %{version}-%{release}
+Obsoletes:      policycoreutils-python < %{version}
+
+%description -n python3-%{name}
+The python-policycoreutils package contains the interfaces that can be used
+by python in an SELinux environment.
+
+%package devel
+Summary:        SELinux policy core policy devel utilities
 Group:          Productivity/Security
-Requires:       audit-libs-python >= %{libaudit_ver}
-Requires:       policycoreutils = %{version}
-Requires:       python-ipy
-Requires:       python-selinux >= %{libselinux_ver}
-Requires:       python-semanage >= %{libsemanage_ver}
-Requires:       python-setools
-Requires:       python-xml
-Requires:       python-yum
-Requires:       python2-networkx
-Requires:       yum-metadata-parser
+Requires:       %{_bindir}/make
+Requires:       python3-%{name} = %{version}-%{release}
 
-%description python
-The policycoreutils-python package contains the management tools used to 
manage an SELinux environment.
+%description devel
+The policycoreutils-devel package contains the management tools use to develop 
policy in an SELinux environment.
 
 %package sandbox
 Summary:        SELinux sandbox utilities
 Group:          Productivity/Security
-Requires:       policycoreutils-python = %{version}
+Requires:       python3-%{name} = %{version}
 Requires:       xorg-x11-server-extra
 
 %description sandbox
@@ -117,7 +130,7 @@
 %package newrole
 Summary:        The newrole application for RBAC/MLS
 Group:          Productivity/Security
-Requires:       policycoreutils = %{version}
+Requires:       %{name} = %{version}
 Requires(pre):  permissions
 
 %description newrole
@@ -128,10 +141,11 @@
 %package gui
 Summary:        SELinux configuration GUI
 Group:          Productivity/Security
-Requires:       policycoreutils-python = %{version}
 Requires:       python
 Requires:       python-gnome
 Requires:       python-gtk
+Requires:       python3-%{name} = %{version}
+Requires:       selinux-policy
 Requires:       setools-console
 
 %description gui
@@ -139,17 +153,22 @@
 %endif
 
 %prep
-%setup -q -a 1
-%patch4
-%patch5
-%patch10 -p1
-%patch11
+%setup -q -T -D -b 1 -n selinux-python-%{version}
+setools_python_pwd=`pwd`
+%setup -q -T -D -b 8 -n semodule-utils-%{version}
+semodule_utils_pwd=`pwd`
+%setup -q
+%patch0 -p1
+mv ${setools_python_pwd}/audit2allow ${setools_python_pwd}/chcat 
${setools_python_pwd}/semanage ${setools_python_pwd}/sepolgen 
${setools_python_pwd}/sepolicy .
+mv ${semodule_utils_pwd}/semodule_expand ${semodule_utils_pwd}/semodule_link 
${semodule_utils_pwd}/semodule_package .
+%patch1 -p1
 
 %build
-make %{?_smp_mflags} LSPP_PRIV=y LIBDIR="%{_libdir}" 
LIBEXECDIR="%{_libexecdir}" CFLAGS="%{optflags} -fPIE" LDFLAGS="-pie 
-Wl,-z,relro" all
-make %{?_smp_mflags} -C sepolgen-%{sepolgen_ver} LSPP_PRIV=y 
LIBDIR="%{_libdir}" CFLAGS="%{optflags} -fPIE" LDFLAGS="-pie -Wl,-z,relro" all
+export PYTHON="python3" LIBDIR="%{_libdir}" CFLAGS="%{optflags} -fPIE" 
LDFLAGS="-pie -Wl,-z,relro"
+make %{?_smp_mflags}
 
 %install
+export PYTHON="python3"
 mkdir -p %{buildroot}%{_localstatedir}/lib/selinux
 mkdir -p %{buildroot}%{_bindir}
 mkdir -p %{buildroot}%{_sbindir}
@@ -158,167 +177,95 @@
 mkdir -p %{buildroot}%{_mandir}/man8
 mkdir -p %{buildroot}%{_sysconfdir}/pam.d
 mkdir -p %{buildroot}%{_sysconfdir}/security/console.apps
-make LSPP_PRIV=y DESTDIR=%{buildroot} LIBDIR="%{buildroot}%{_libdir}" 
LIBEXECDIR="%{buildroot}%{_libexecdir}" INITDIR="%{buildroot}%{_initddir}" 
install
-make -C sepolgen-%{sepolgen_ver} DESTDIR=%{buildroot} 
LIBDIR="%{buildroot}%{_libdir}" install
+make LSPP_PRIV=y DESTDIR=%{buildroot} install
 install -D -m 644 %{SOURCE2} 
%{buildroot}%{_datadir}/pixmaps/system-config-selinux.png
-# Don't install initscript if systemd is available
-rm -r %{buildroot}%{_initddir}
-ln -sf service %{buildroot}%{_sbindir}/rcrestorecond
 install -m 644 %{SOURCE4} 
%{buildroot}%{_sysconfdir}/pam.d/system-config-selinux
 install -m 644 %{SOURCE4} %{buildroot}%{_sysconfdir}/pam.d/selinux-polgengui
 install -m 644 %{SOURCE5} 
%{buildroot}%{_sysconfdir}/security/console.apps/system-config-selinux
 install -m 644 %{SOURCE7} 
%{buildroot}%{_sysconfdir}/security/console.apps/selinux-polgengui
-tar -jxf %{SOURCE8} -C %{buildroot}/
 rm -f %{buildroot}%{_mandir}/ru/man8/genhomedircon.8.gz
 ln -sf consolehelper %{buildroot}%{_bindir}/system-config-selinux
 ln -sf consolehelper %{buildroot}%{_bindir}/selinux-polgengui
 mkdir -p %{buildroot}%{_fillupdir}/
-mv %{buildroot}/%{_sysconfdir}/sysconfig/sandbox 
%{buildroot}%{_fillupdir}/sysconfig.sandbox
-rmdir %{buildroot}/%{_sysconfdir}/sysconfig
+mkdir -p %{buildroot}%{_libexecdir}/selinux/hll/
+mkdir -p %{buildroot}%{_localstatedir}/lib/sepolgen
+mv %{buildroot}%{_prefix}/libexec/selinux/hll/pp 
%{buildroot}%{_libexecdir}/selinux/hll/pp
 %suse_update_desktop_file -i system-config-selinux System Security Settings
-%suse_update_desktop_file -i sepolicy System Security Settings
 %suse_update_desktop_file -i selinux-polgengui System Security Settings
 %find_lang %{name}
-%fdupes -s %{buildroot}/%{_datadir}
+%fdupes -s %{buildroot}%{_datadir}
+
 %if 0%{?suse_version} >= 1500
-rm %{buildroot}/etc/dbus-1/system.d/org.selinux.conf 
%{buildroot}/etc/pam.d/selinux-polgengui 
%{buildroot}/etc/pam.d/system-config-selinux 
%{buildroot}/etc/security/console.apps/selinux-polgengui 
%{buildroot}/etc/security/console.apps/system-config-selinux 
%{buildroot}/usr/bin/selinux-polgengui %{buildroot}/usr/bin/sepolgen 
%{buildroot}/usr/bin/system-config-selinux 
%{buildroot}/usr/share/applications/selinux-polgengui.desktop 
%{buildroot}/usr/share/applications/sepolicy.desktop 
%{buildroot}/usr/share/applications/system-config-selinux.desktop 
%{buildroot}/usr/share/icons/hicolor/16x16/apps/sepolicy.png 
%{buildroot}/usr/share/icons/hicolor/22x22/apps/sepolicy.png 
%{buildroot}/usr/share/icons/hicolor/24x24/apps/system-config-selinux.png 
%{buildroot}/usr/share/icons/hicolor/256x256/apps/sepolicy.png 
%{buildroot}/usr/share/icons/hicolor/32x32/apps/sepolicy.png 
%{buildroot}/usr/share/icons/hicolor/48x48/apps/sepolicy.png 
%{buildroot}/usr/share/man/man8/selinux-polgengui.8 
%{buildroot}/usr/share/pixmaps/sepolicy.png 
%{buildroot}/usr/share/pixmaps/system-config-selinux.png 
%{buildroot}/usr/share/polkit-1/actions/org.selinux.config.policy 
%{buildroot}/usr/share/polkit-1/actions/org.selinux.policy 
%{buildroot}/usr/share/system-config-selinux/booleansPage.py 
%{buildroot}/usr/share/system-config-selinux/domainsPage.py 
%{buildroot}/usr/share/system-config-selinux/fcontextPage.py 
%{buildroot}/usr/share/system-config-selinux/html_util.py 
%{buildroot}/usr/share/system-config-selinux/loginsPage.py 
%{buildroot}/usr/share/system-config-selinux/mappingsPage.py 
%{buildroot}/usr/share/system-config-selinux/modulesPage.py 
%{buildroot}/usr/share/system-config-selinux/polgen.glade 
%{buildroot}/usr/share/system-config-selinux/polgengui.py 
%{buildroot}/usr/share/system-config-selinux/portsPage.py 
%{buildroot}/usr/share/system-config-selinux/selinux-polgengui.desktop 
%{buildroot}/usr/share/system-config-selinux/selinux_server.py 
%{buildroot}/usr/share/system-config-selinux/semanagePage.py 
%{buildroot}/usr/share/system-config-selinux/sepolicy.desktop 
%{buildroot}/usr/share/system-config-selinux/statusPage.py 
%{buildroot}/usr/share/system-config-selinux/system-config-selinux.desktop 
%{buildroot}/usr/share/system-config-selinux/system-config-selinux.glade 
%{buildroot}/usr/share/system-config-selinux/system-config-selinux.png 
%{buildroot}/usr/share/system-config-selinux/system-config-selinux.py 
%{buildroot}/usr/share/system-config-selinux/usersPage.py  
%{buildroot}/usr/share/man/man8/system-config-selinux.8
+rm %{buildroot}%{_sysconfdir}/pam.d/selinux-polgengui \
+   %{buildroot}%{_sysconfdir}/pam.d/system-config-selinux \
+   %{buildroot}%{_sysconfdir}/security/console.apps/selinux-polgengui \
+   %{buildroot}%{_sysconfdir}/security/console.apps/system-config-selinux \
+   %{buildroot}%{_bindir}/selinux-polgengui \
+   %{buildroot}%{_bindir}/system-config-selinux \
+   %{buildroot}%{_datadir}/applications/selinux-polgengui.desktop \
+   %{buildroot}%{_datadir}/applications/system-config-selinux.desktop \
+   %{buildroot}%{_datadir}/pixmaps/system-config-selinux.png
 %endif
 
-%pre
-%service_add_pre restorecond.service
-
-%post
-%service_add_post restorecond.service
-%fillup_only
-
-%preun
-%service_del_preun restorecond.service
-
-%postun
-%service_del_postun restorecond.service
-
-%post python
+%post -n python3-%{name}
 selinuxenabled && [ -f %{_datadir}/selinux/devel/include/build.conf ] && 
%{_bindir}/sepolgen-ifgen 2>/dev/null
 exit 0
 
 %post newrole
 %set_permissions %{_bindir}/newrole
 
-%verifyscript
+%verifyscript newrole
 %verify_permissions -e %{_bindir}/newrole
 
 %files
 /sbin/restorecon
-/sbin/fixfiles
 /sbin/setfiles
-/sbin/load_policy
 /sbin/restorecon_xattr
-%{_sbindir}/genhomedircon
+%{_bindir}/audit2allow
+%{_bindir}/audit2why
+%{_bindir}/chcat
+%{_bindir}/sepolgen
+%{_bindir}/sepolgen-ifgen
+%{_bindir}/sepolgen-ifgen-attr-helper
+%{_bindir}/sepolicy
+%{_bindir}/semodule_expand
+%{_bindir}/semodule_link
+%{_bindir}/semodule_package
+%{_bindir}/semodule_unpackage
+%{_sbindir}/semanage
+%{_sbindir}/fixfiles
 %{_sbindir}/load_policy
-%{_sbindir}/restorecond
+%dir %{_libexecdir}/selinux
+%dir %{_libexecdir}/selinux/hll
+%dir %{_localstatedir}/lib/sepolgen
+%{_libexecdir}/selinux/hll/pp
+%{_sbindir}/genhomedircon
 %{_sbindir}/setsebool
 %{_sbindir}/semodule
 %{_sbindir}/sestatus
 %{_sbindir}/run_init
 %{_sbindir}/open_init_pty
 %{_bindir}/secon
-%{_bindir}/semodule_deps
-%{_bindir}/semodule_expand
-%{_bindir}/semodule_link
-%{_bindir}/semodule_package
-%{_bindir}/semodule_unpackage
-%attr(644,root,root) %{_unitdir}/restorecond.service
 %config(noreplace) %{_sysconfdir}/pam.d/run_init
 %config(noreplace) %{_sysconfdir}/sestatus.conf
-%{_sbindir}/rcrestorecond
-%config(noreplace) %{_sysconfdir}/selinux/restorecond.conf
-%config(noreplace) %{_sysconfdir}/selinux/restorecond_user.conf
-%{_sysconfdir}/xdg/autostart/restorecond.desktop
-%dir %{_libexecdir}/selinux
-%dir %{_libexecdir}/selinux/hll
-%{_libexecdir}/selinux/hll/pp
-%{_datadir}/dbus-1/services/org.selinux.Restorecond.service
-%{_datadir}/dbus-1/system-services/org.selinux.service
-# selinux-policy Requires: policycoreutils, so we own this set of directories 
and our files within them
-%dir %{_mandir}/ru
-%dir %{_mandir}/ru/man1
-%dir %{_mandir}/ru/man8
-%{_mandir}/man8/restorecon_xattr.8%{?ext_man}
+%{_mandir}/man8/*
 %{_mandir}/man5/selinux_config.5%{?ext_man}
 %{_mandir}/man5/sestatus.conf.5%{?ext_man}
-%{_mandir}/man8/semodule_unpackage.8%{?ext_man}
-%{_mandir}/man8/fixfiles.8%{?ext_man}
-%{_mandir}/ru/man8/fixfiles.8%{?ext_man}
-%{_mandir}/man8/load_policy.8%{?ext_man}
-%{_mandir}/ru/man8/load_policy.8%{?ext_man}
-%{_mandir}/man8/open_init_pty.8%{?ext_man}
-%{_mandir}/ru/man8/open_init_pty.8%{?ext_man}
-%{_mandir}/man8/restorecon.8%{?ext_man}
-%{_mandir}/ru/man8/restorecon.8%{?ext_man}
-%{_mandir}/man8/restorecond.8%{?ext_man}
-%{_mandir}/ru/man8/restorecond.8%{?ext_man}
-%{_mandir}/man8/run_init.8%{?ext_man}
-%{_mandir}/ru/man8/run_init.8%{?ext_man}
-%{_mandir}/man8/semodule.8%{?ext_man}
-%{_mandir}/ru/man8/semodule.8%{?ext_man}
-%{_mandir}/man8/semodule_deps.8%{?ext_man}
-%{_mandir}/ru/man8/semodule_deps.8%{?ext_man}
-%{_mandir}/man8/semodule_expand.8%{?ext_man}
-%{_mandir}/ru/man8/semodule_expand.8%{?ext_man}
-%{_mandir}/man8/semodule_link.8%{?ext_man}
-%{_mandir}/ru/man8/semodule_link.8%{?ext_man}
-%{_mandir}/man8/semodule_package.8%{?ext_man}
-%{_mandir}/ru/man8/semodule_package.8%{?ext_man}
-%{_mandir}/man8/sestatus.8%{?ext_man}
-%{_mandir}/ru/man8/sestatus.8%{?ext_man}
-%{_mandir}/man8/setfiles.8%{?ext_man}
-%{_mandir}/ru/man8/setfiles.8%{?ext_man}
-%{_mandir}/man8/setsebool.8%{?ext_man}
-%{_mandir}/ru/man8/setsebool.8%{?ext_man}
 %{_mandir}/man1/secon.1%{?ext_man}
-%{_mandir}/ru/man1/secon.1%{?ext_man}
-%{_mandir}/man8/genhomedircon.8%{?ext_man}
+%{_mandir}/man1/audit2allow.1%{?ext_man}
+%{_mandir}/man1/audit2why.1%{?ext_man}
+
+%{_datadir}/bash-completion/completions/*
+
+%files -n python3-%{name}
+%{_libexecdir}/python3.6/site-packages/*
+%dir %{_localstatedir}/lib/selinux
 
 %files lang -f %{name}.lang
 
-%files python
-%{_sbindir}/semanage
-%{_bindir}/audit2allow
-%{_bindir}/audit2why
-%{_bindir}/chcat
-%{_bindir}/sandbox
-%{_bindir}/sepolicy
-%{_bindir}/sepolgen-ifgen
-%{_bindir}/sepolgen-ifgen-attr-helper
-%{python_sitearch}/seobject.py*
-%{python_sitearch}/sepolgen
-%{_prefix}/lib*/python2.7/site-packages/sepolicy
-%{_prefix}/lib*/python2.7/site-packages/sepolicy*.egg-info
+%files devel
 %dir %{_localstatedir}/lib/sepolgen
-%dir %{_localstatedir}/lib/selinux
 %{_localstatedir}/lib/sepolgen/perm_map
-%{_mandir}/man1/audit2allow.1%{?ext_man}
-%{_mandir}/ru/man1/audit2allow.1%{?ext_man}
-%{_mandir}/man1/audit2why.1%{?ext_man}
-%{_mandir}/man8/chcat.8%{?ext_man}
-%{_mandir}/ru/man8/chcat.8%{?ext_man}
-%{_mandir}/man8/sandbox.8%{?ext_man}
-%{_mandir}/man5/sandbox*
-%{_mandir}/man8/semanage*.8%{?ext_man}
-%{_mandir}/man8/sepolicy*.8%{?ext_man}
-%{_mandir}/man8/sepolgen.8%{?ext_man}
-%{_mandir}/ru/man8/semanage.8%{?ext_man}
-%{_datadir}/bash-completion/completions/semanage
-%{_datadir}/bash-completion/completions/sepolicy
-%{_datadir}/bash-completion/completions/setsebool
-
-%files sandbox
-%attr(0755,root,root) %{_sbindir}/seunshare
-%dir %{_datadir}/sandbox
-%{_datadir}/sandbox/sandboxX.sh
-%{_datadir}/sandbox/start
-%{_fillupdir}/sysconfig.sandbox
-%{_mandir}/man8/seunshare.8%{?ext_man}
 
 %files newrole
 %verify(not mode) %attr(0755,root,root) %{_bindir}/newrole
@@ -331,15 +278,10 @@
 %{_bindir}/selinux-polgengui
 %{_datadir}/applications/system-config-selinux.desktop
 %{_datadir}/system-config-selinux/system-config-selinux.desktop
-%{_bindir}/sepolgen
 %{_datadir}/applications/selinux-polgengui.desktop
 %{_datadir}/applications/sepolicy.desktop
 %{_datadir}/system-config-selinux/selinux-polgengui.desktop
 %{_datadir}/system-config-selinux/sepolicy.desktop
-#%dir %{_datadir}/icons
-#%dir %{_datadir}/icons/hicolor
-#%dir %{_datadir}/icons/hicolor/24x24
-#%dir %{_datadir}/icons/hicolor/24x24/apps
 %{_datadir}/icons/hicolor/24x24/apps/system-config-selinux.png
 %{_datadir}/icons/hicolor/16x16/apps/sepolicy.png
 %{_datadir}/icons/hicolor/22x22/apps/sepolicy.png
@@ -351,14 +293,11 @@
 %{_datadir}/polkit-1/actions/org.selinux.config.policy
 %{_datadir}/polkit-1/actions/org.selinux.policy
 %dir %{_datadir}/system-config-selinux
-#%dir %{_datadir}/system-config-selinux/templates
 %{_datadir}/system-config-selinux/system-config-selinux.png
 %{_datadir}/system-config-selinux/*.py*
-#%{_datadir}/system-config-selinux/selinux.tbl
 %{_datadir}/system-config-selinux/*.glade
 %{_mandir}/man8/selinux-polgengui.8%{?ext_man}
 %{_mandir}/man8/system-config-selinux.8%{?ext_man}
-#%%{_datadir}/system-config-selinux/templates/*.py*
 %config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.selinux.conf
 %config(noreplace) %{_sysconfdir}/pam.d/system-config-selinux
 %config(noreplace) %{_sysconfdir}/pam.d/selinux-polgengui

++++++ make_targets.patch ++++++
Index: policycoreutils-2.8/Makefile
===================================================================
--- policycoreutils-2.8.orig/Makefile   2018-05-24 20:21:09.000000000 +0200
+++ policycoreutils-2.8/Makefile        2018-11-21 15:59:44.968384128 +0100
@@ -1,4 +1,4 @@
-SUBDIRS = setfiles load_policy newrole run_init secon sestatus semodule 
setsebool scripts po man hll
+SUBDIRS = setfiles load_policy newrole run_init secon sestatus semodule 
setsebool scripts po man hll sepolicy audit2allow semanage sepolgen chcat 
semodule_expand semodule_link semodule_package
 
 all install relabel clean indent:
        @for subdir in $(SUBDIRS); do \
++++++ policycoreutils-2.6.tar.gz -> policycoreutils-2.8.tar.gz ++++++
++++ 47997 lines of diff (skipped)

++++++ python3.patch ++++++
Index: selinux-python-2.8/audit2allow/audit2allow
===================================================================
--- selinux-python-2.8.orig/audit2allow/audit2allow     2018-05-24 
20:21:09.000000000 +0200
+++ selinux-python-2.8/audit2allow/audit2allow  2018-11-22 15:07:17.090919833 
+0100
@@ -1,4 +1,4 @@
-#! /usr/bin/python -Es
+#! /usr/bin/python3 -Es
 # Authors: Karl MacMillan <[email protected]>
 # Authors: Dan Walsh <[email protected]>
 #
Index: selinux-python-2.8/audit2allow/sepolgen-ifgen
===================================================================
--- selinux-python-2.8.orig/audit2allow/sepolgen-ifgen  2018-05-24 
20:21:09.000000000 +0200
+++ selinux-python-2.8/audit2allow/sepolgen-ifgen       2018-11-22 
17:09:43.288765789 +0100
@@ -1,4 +1,4 @@
-#! /usr/bin/python -Es
+#! /usr/bin/python3 -Es
 #
 # Authors: Karl MacMillan <[email protected]>
 #
Index: selinux-python-2.8/chcat/chcat
===================================================================
--- selinux-python-2.8.orig/chcat/chcat 2018-05-24 20:21:09.000000000 +0200
+++ selinux-python-2.8/chcat/chcat      2018-11-22 15:07:27.719090678 +0100
@@ -1,4 +1,4 @@
-#! /usr/bin/python -Es
+#! /usr/bin/python3 -Es
 # Copyright (C) 2005 Red Hat
 # see file 'COPYING' for use and warranty information
 #
Index: selinux-python-2.8/semanage/semanage
===================================================================
--- selinux-python-2.8.orig/semanage/semanage   2018-05-24 20:21:09.000000000 
+0200
+++ selinux-python-2.8/semanage/semanage        2018-11-22 15:07:35.455215033 
+0100
@@ -1,4 +1,4 @@
-#! /usr/bin/python -Es
+#! /usr/bin/python3 -Es
 # Copyright (C) 2012-2013 Red Hat
 # AUTHOR: Miroslav Grepl <[email protected]>
 # AUTHOR: David Quigley <[email protected]>
Index: selinux-python-2.8/sepolicy/sepolicy.py
===================================================================
--- selinux-python-2.8.orig/sepolicy/sepolicy.py        2018-05-24 
20:21:09.000000000 +0200
+++ selinux-python-2.8/sepolicy/sepolicy.py     2018-11-22 15:08:07.807735082 
+0100
@@ -1,4 +1,4 @@
-#! /usr/bin/python -Es
+#! /usr/bin/python3 -Es
 # Copyright (C) 2012 Red Hat
 # AUTHOR: Dan Walsh <[email protected]>
 # see file 'COPYING' for use and warranty information


Reply via email to