Make automagic Python bytecompilation optional

https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation_phase_2
This commit is contained in:
Miro Hrončok 2018-11-15 12:13:14 +01:00
parent b725d1e38a
commit a212174975
2 changed files with 6 additions and 2 deletions

2
macros
View File

@ -184,7 +184,7 @@
## Should python bytecompilation errors terminate a build? ## Should python bytecompilation errors terminate a build?
%_python_bytecompile_errors_terminate_build 1 %_python_bytecompile_errors_terminate_build 1
## Should python bytecompilation compile outisde python specific directories? ## Should python bytecompilation compile outisde python specific directories?
%_python_bytecompile_extra 1 %_python_bytecompile_extra 0
# Use SHA-256 for FILEDIGESTS instead of default MD5 # Use SHA-256 for FILEDIGESTS instead of default MD5
%_source_filedigest_algorithm 8 %_source_filedigest_algorithm 8

View File

@ -6,7 +6,7 @@
Summary: Red Hat specific rpm configuration files Summary: Red Hat specific rpm configuration files
Name: redhat-rpm-config Name: redhat-rpm-config
Version: 124 Version: 125
Release: 1%{?dist} Release: 1%{?dist}
# No version specified. # No version specified.
License: GPL+ License: GPL+
@ -197,6 +197,10 @@ install -p -m 644 -t %{buildroot}%{_rpmluadir}/fedora/srpm forge.lua
%{_rpmconfigdir}/macros.d/macros.kmp %{_rpmconfigdir}/macros.d/macros.kmp
%changelog %changelog
* Thu Nov 15 2018 Miro Hrončok <mhroncok@redhat.com> - 125-1
- Make automagic Python bytecompilation optional
https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation_phase_2
* Thu Nov 08 2018 Jason L Tibbitts III <tibbs@math.uh.edu> - 124-1 * Thu Nov 08 2018 Jason L Tibbitts III <tibbs@math.uh.edu> - 124-1
- forge: add more distprefix cleaning (bz1646724) - forge: add more distprefix cleaning (bz1646724)