Disable automatic compilation of Python files in extra directories
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/IDDR65FMKZYZYLL6DGFEKFACC55PELW3/ https://fedoraproject.org/wiki/Packaging:Python_Appendix#Manual_byte_compilation
This commit is contained in:
parent
2ac92dadc6
commit
e6ad318f5b
@ -1,3 +1,6 @@
|
||||
# Disable automatic compilation of Python files in extra directories
|
||||
%global _python_bytecompile_extra 0
|
||||
|
||||
Summary: Helps troubleshoot SELinux problems
|
||||
Name: setroubleshoot
|
||||
Version: 3.3.17
|
||||
@ -127,7 +130,8 @@ chown -R setroubleshoot:setroubleshoot %{pkgvardatadir}
|
||||
%{_sbindir}/setroubleshootd
|
||||
%{python3_sitelib}/setroubleshoot*.egg-info
|
||||
%dir %attr(0755,root,root) %{pkgconfigdir}
|
||||
%dir %attr(0755,root,root) %{pkgpythondir}
|
||||
%dir %{pkgpythondir}
|
||||
%dir %{pkgpythondir}/__pycache__
|
||||
%{pkgpythondir}/Plugin.py
|
||||
%{pkgpythondir}/__init__.py
|
||||
%{pkgpythondir}/access_control.py
|
||||
@ -146,8 +150,6 @@ chown -R setroubleshoot:setroubleshoot %{pkgvardatadir}
|
||||
%{pkgpythondir}/util.py
|
||||
%{pkgpythondir}/uuid.py
|
||||
%{pkgpythondir}/xml_serialize.py
|
||||
%dir %{pkgpythondir}
|
||||
%dir %{pkgpythondir}/__pycache__
|
||||
%{pkgpythondir}/__pycache__/Plugin.cpython*
|
||||
%{pkgpythondir}/__pycache__/__init__.cpython*
|
||||
%{pkgpythondir}/__pycache__/access_control.cpython*
|
||||
@ -167,8 +169,8 @@ chown -R setroubleshoot:setroubleshoot %{pkgvardatadir}
|
||||
%{pkgpythondir}/__pycache__/uuid.cpython*
|
||||
%{pkgpythondir}/__pycache__/xml_serialize.cpython*
|
||||
%dir %{pkgdatadir}
|
||||
%{pkgdatadir}/SetroubleshootFixit.py*
|
||||
%{pkgdatadir}/updater.py*
|
||||
%{pkgdatadir}/SetroubleshootFixit.py
|
||||
%{pkgdatadir}/updater.py
|
||||
%config(noreplace) %{pkgconfigdir}/%{name}.conf
|
||||
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.fedoraproject.Setroubleshootd.conf
|
||||
%attr(0700,setroubleshoot,setroubleshoot) %dir %{pkgvardatadir}
|
||||
|
Loading…
Reference in New Issue
Block a user