diff options
author | Todd Zullinger <tmz@pobox.com> | 2021-06-05 15:57:39 -0400 |
---|---|---|
committer | Todd Zullinger <tmz@pobox.com> | 2021-06-06 17:09:52 -0400 |
commit | fcd0e59be6b4ce9392e58c7b3f14086e17193a20 (patch) | |
tree | 720a2466c15ef08545b3966b6bd82e94b7ae15ae /cgit.spec | |
parent | c27c19059c89f85bd5221ca75c8d5a458dfd5bdf (diff) | |
download | cgit_EL6-fcd0e59be6b4ce9392e58c7b3f14086e17193a20.tar.gz |
limit *.py[co] %exclude to el7
The exclusion was added in 9febbf3 (disable automatic compilation of
*.py files outside of python sitelib, 2018-06-15). Since that time, no
supported Fedora releases need it and the only EL release which does is
EL7. Update the comment to reflect this and only use %exclude on EL7.
Diffstat (limited to 'cgit.spec')
-rw-r--r-- | cgit.spec | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -205,8 +205,8 @@ make test %dir %attr(-,apache,root) %{cachedir} %{cgitdata} %{filterdir} -# exclude byte-compiled python files (relevant on Fedora < 29 and RHEL < 8) -%exclude %{filterdir}/*.py[co] +# exclude byte-compiled python files on EL7 +%{?el7:%exclude %{filterdir}/*.py[co]} %{scriptdir}/* %{_mandir}/man*/* @@ -220,6 +220,7 @@ make test - preserve timestamps when running install - clean up & improve dist conditionals - remove %%_python_bytecompile_extra +- limit *.py[co] %%exclude to el7 * Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild |