From 8da01b879c5c80154c8c0f29c1e98b5978ecc907 Mon Sep 17 00:00:00 2001 From: Ondrej Slamecka Date: Thu, 23 Jul 2015 11:25:30 +0200 Subject: [PATCH] Add sepolgen module to python3 package Signed-off-by: Ondrej Slamecka --- policycoreutils.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/policycoreutils.spec b/policycoreutils.spec index 81c0295..18c4fef 100644 --- a/policycoreutils.spec +++ b/policycoreutils.spec @@ -78,7 +78,7 @@ make -C policycoreutils-%{version} PYTHON=python3 LSPP_PRIV=y DESTDIR="%{buildr rm -rf %{buildroot}/%{_sysconfdir}/rc.d/init.d/restorecond make -C sepolgen-%{sepolgenver} DESTDIR="%{buildroot}" SBINDIR="%{buildroot}%{_sbindir}" LIBDIR="%{buildroot}%{_libdir}" install -make -C sepolgen-%{sepolgenver} DESTDIR="%{buildroot}" SBINDIR="%{buildroot}%{_sbindir}" LIBDIR="%{buildroot}%{_libdir}" install +make -C sepolgen-%{sepolgenver} PYTHON=python3 DESTDIR="%{buildroot}" SBINDIR="%{buildroot}%{_sbindir}" LIBDIR="%{buildroot}%{_libdir}" install tar -jxf %{SOURCE2} -C %{buildroot}/ rm -f %{buildroot}/usr/share/man/ru/man8/genhomedircon.8.gz @@ -126,6 +126,7 @@ by python 3 in an SELinux environment. %{python3_sitelib}/seobject/__init__.py* %{python3_sitelib}/seobject/__pycache__/* %{python3_sitelib}/seobject*.egg-info +%{python3_sitearch}/sepolgen %dir %{python3_sitearch}/sepolicy %{python3_sitearch}/sepolicy/*so %{python3_sitearch}/sepolicy/templates