diff options
-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 |