From c27c19059c89f85bd5221ca75c8d5a458dfd5bdf Mon Sep 17 00:00:00 2001 From: Todd Zullinger Date: Sat, 5 Jun 2021 16:12:24 -0400 Subject: remove %_python_bytecompile_extra This macro is no longer needed (nor wanted) in Fedora. It is not present in EL7/EL8. Remove it. --- cgit.spec | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/cgit.spec b/cgit.spec index 1c0aa6c..c6113da 100644 --- a/cgit.spec +++ b/cgit.spec @@ -11,10 +11,6 @@ %global gpg_cgit AB9942E6D4A4CFC3412620A749FC7012A5DE03AE %global gpg_git 96E07AF25771955980DAD10020D04E5A713660A7 -# Disable automatic compilation of *.py files outside of python sitelib, -# the *.py files in cgit are not importable python modules -%global _python_bytecompile_extra 0 - # Settings for Fedora and EL >= 8 %if 0%{?fedora} || 0%{?rhel} >= 8 %bcond_without httpd_filesystem @@ -223,6 +219,7 @@ make test - use %%{build_cflags} and %%{build_ldflags} - preserve timestamps when running install - clean up & improve dist conditionals +- remove %%_python_bytecompile_extra * Tue Jan 26 2021 Fedora Release Engineering - 1.2.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild -- cgit