Use correct packaging for byte compiled files
setroubleshoot and setroubleshoot-server use same python directory. Therefore we need to list all byte compiled files in each sub-package. Resolves: rhbz#1321047
This commit is contained in:
parent
dafb5b6519
commit
c964568ba8
@ -53,12 +53,13 @@ to user preference. The same tools can be run on existing log files.
|
||||
%{_datadir}/dbus-1/services/sealert.service
|
||||
%{_datadir}/icons/hicolor/*/*/*
|
||||
%dir %attr(0755,root,root) %{pkgpythondir}
|
||||
%{pkgpythondir}/browser.py*
|
||||
%{pkgpythondir}/gui_utils.py*
|
||||
%{pkgpythondir}/browser.py
|
||||
%{pkgpythondir}/__pycache__/browser.cpython*
|
||||
%{pkgpythondir}/gui_utils.py
|
||||
%{pkgpythondir}/__pycache__/gui_utils.cpython*
|
||||
%{_bindir}/seapplet
|
||||
%attr(0644,root,root) %{_tmpfilesdir}/%{name}.conf
|
||||
%attr(0711,setroubleshoot,setroubleshoot) %dir %{_rundir}/setroubleshoot
|
||||
%{pkgpythondir}/__pycache__/*
|
||||
|
||||
|
||||
%post
|
||||
@ -148,24 +149,43 @@ rm -rf %{buildroot}
|
||||
%{python3_sitelib}/setroubleshoot*.egg-info
|
||||
%dir %attr(0755,root,root) %{pkgconfigdir}
|
||||
%dir %attr(0755,root,root) %{pkgpythondir}
|
||||
%{pkgpythondir}/Plugin.py*
|
||||
%{pkgpythondir}/__init__.py*
|
||||
%{pkgpythondir}/access_control.py*
|
||||
%{pkgpythondir}/analyze.py*
|
||||
%{pkgpythondir}/audit_data.py*
|
||||
%{pkgpythondir}/avc_audit.py*
|
||||
%{pkgpythondir}/config.py*
|
||||
%{pkgpythondir}/email_alert.py*
|
||||
%{pkgpythondir}/errcode.py*
|
||||
%{pkgpythondir}/html_util.py*
|
||||
%{pkgpythondir}/rpc.py*
|
||||
%{pkgpythondir}/serverconnection.py*
|
||||
%{pkgpythondir}/rpc_interfaces.py*
|
||||
%{pkgpythondir}/server.py*
|
||||
%{pkgpythondir}/signature.py*
|
||||
%{pkgpythondir}/util.py*
|
||||
%{pkgpythondir}/uuid.py*
|
||||
%{pkgpythondir}/xml_serialize.py*
|
||||
%{pkgpythondir}/Plugin.py
|
||||
%{pkgpythondir}/__init__.py
|
||||
%{pkgpythondir}/access_control.py
|
||||
%{pkgpythondir}/analyze.py
|
||||
%{pkgpythondir}/audit_data.py
|
||||
%{pkgpythondir}/avc_audit.py
|
||||
%{pkgpythondir}/config.py
|
||||
%{pkgpythondir}/email_alert.py
|
||||
%{pkgpythondir}/errcode.py
|
||||
%{pkgpythondir}/html_util.py
|
||||
%{pkgpythondir}/rpc.py
|
||||
%{pkgpythondir}/serverconnection.py
|
||||
%{pkgpythondir}/rpc_interfaces.py
|
||||
%{pkgpythondir}/server.py
|
||||
%{pkgpythondir}/signature.py
|
||||
%{pkgpythondir}/util.py
|
||||
%{pkgpythondir}/uuid.py
|
||||
%{pkgpythondir}/xml_serialize.py
|
||||
%dir %{pkgpythondir}
|
||||
%{pkgpythondir}/__pycache__/Plugin.cpython*
|
||||
%{pkgpythondir}/__pycache__/__init__.cpython*
|
||||
%{pkgpythondir}/__pycache__/access_control.cpython*
|
||||
%{pkgpythondir}/__pycache__/analyze.cpython*
|
||||
%{pkgpythondir}/__pycache__/audit_data.cpython*
|
||||
%{pkgpythondir}/__pycache__/avc_audit.cpython*
|
||||
%{pkgpythondir}/__pycache__/config.cpython*
|
||||
%{pkgpythondir}/__pycache__/email_alert.cpython*
|
||||
%{pkgpythondir}/__pycache__/errcode.cpython*
|
||||
%{pkgpythondir}/__pycache__/html_util.cpython*
|
||||
%{pkgpythondir}/__pycache__/rpc.cpython*
|
||||
%{pkgpythondir}/__pycache__/rpc_interfaces.cpython*
|
||||
%{pkgpythondir}/__pycache__/server.cpython*
|
||||
%{pkgpythondir}/__pycache__/serverconnection.cpython*
|
||||
%{pkgpythondir}/__pycache__/signature.cpython*
|
||||
%{pkgpythondir}/__pycache__/util.cpython*
|
||||
%{pkgpythondir}/__pycache__/uuid.cpython*
|
||||
%{pkgpythondir}/__pycache__/xml_serialize.cpython*
|
||||
%dir %{pkgdatadir}
|
||||
%{pkgdatadir}/SetroubleshootFixit.py*
|
||||
%{pkgdatadir}/updater.py*
|
||||
|
Loading…
Reference in New Issue
Block a user