Add sepolgen module to python3 package

Signed-off-by: Ondrej Slamecka <oslameck@redhat.com>
This commit is contained in:
Ondrej Slamecka 2015-07-23 11:25:30 +02:00 committed by Petr Lautrbach
parent afd6abb634
commit 8da01b879c

View File

@ -78,7 +78,7 @@ make -C policycoreutils-%{version} PYTHON=python3 LSPP_PRIV=y DESTDIR="%{buildr
rm -rf %{buildroot}/%{_sysconfdir}/rc.d/init.d/restorecond 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} 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}/ tar -jxf %{SOURCE2} -C %{buildroot}/
rm -f %{buildroot}/usr/share/man/ru/man8/genhomedircon.8.gz 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/__init__.py*
%{python3_sitelib}/seobject/__pycache__/* %{python3_sitelib}/seobject/__pycache__/*
%{python3_sitelib}/seobject*.egg-info %{python3_sitelib}/seobject*.egg-info
%{python3_sitearch}/sepolgen
%dir %{python3_sitearch}/sepolicy %dir %{python3_sitearch}/sepolicy
%{python3_sitearch}/sepolicy/*so %{python3_sitearch}/sepolicy/*so
%{python3_sitearch}/sepolicy/templates %{python3_sitearch}/sepolicy/templates