Use new translation files structure
https://github.com/fedora-selinux/selinux/issues/43
This commit is contained in:
parent
e8cd8997c5
commit
1a9e2c70e4
@ -89,7 +89,7 @@ to switch roles.
|
||||
cp %{SOURCE13} selinux-gui-%{version}/
|
||||
tar -xvf %{SOURCE14} -C selinux-python-%{version}/sepolicy/
|
||||
%patch1 -p0 -b .selinux-python
|
||||
#%patch2 -p0 -b .selinux-gui
|
||||
%patch2 -p0 -b .selinux-gui
|
||||
%patch3 -p0 -b .selinux-sandbox
|
||||
%patch4 -p0 -b .selinux-dbus
|
||||
#%%patch5 -p0 -b .semodule-utils
|
||||
@ -204,7 +204,10 @@ find %{buildroot}%{python2_sitelib} %{buildroot}%{python2_sitearch} \
|
||||
# compilation.
|
||||
%py_byte_compile %{__python3} %{buildroot}%{_datadir}/system-config-selinux
|
||||
|
||||
%find_lang %{name}
|
||||
%find_lang policycoreutils
|
||||
%find_lang selinux-python
|
||||
%find_lang selinux-gui
|
||||
%find_lang selinux-sandbox
|
||||
|
||||
%package python-utils
|
||||
Summary: SELinux policy core python utilities
|
||||
@ -273,7 +276,7 @@ BuildArch: noarch
|
||||
The python3-policycoreutils package contains the interfaces that can be used
|
||||
by python 3 in an SELinux environment.
|
||||
|
||||
%files -n python3-policycoreutils
|
||||
%files -f selinux-python.lang -n python3-policycoreutils
|
||||
%{python3_sitelib}/seobject.py*
|
||||
%{python3_sitelib}/__pycache__
|
||||
%{python3_sitelib}/sepolgen
|
||||
@ -369,7 +372,7 @@ BuildRequires: libcap-ng-devel
|
||||
The policycoreutils-sandbox package contains the scripts to create graphical
|
||||
sandboxes
|
||||
|
||||
%files sandbox
|
||||
%files -f selinux-sandbox.lang sandbox
|
||||
%config(noreplace) %{_sysconfdir}/sysconfig/sandbox
|
||||
%{_datadir}/sandbox/sandboxX.sh
|
||||
%{_datadir}/sandbox/start
|
||||
@ -401,7 +404,7 @@ BuildArch: noarch
|
||||
%description gui
|
||||
system-config-selinux is a utility for managing the SELinux environment
|
||||
|
||||
%files gui
|
||||
%files -f selinux-gui.lang gui
|
||||
%{_bindir}/system-config-selinux
|
||||
%{_bindir}/selinux-polgengui
|
||||
%{_datadir}/applications/sepolicy.desktop
|
||||
|
Loading…
Reference in New Issue
Block a user