Fix build on EL7
Minor change, does not require rebuild on Fedora
This commit is contained in:
parent
f280693b53
commit
310ab968e3
@ -112,6 +112,11 @@ make test || :
|
|||||||
%license LICENSE
|
%license LICENSE
|
||||||
# For noarch packages: sitelib
|
# For noarch packages: sitelib
|
||||||
%{python2_sitelib}/*
|
%{python2_sitelib}/*
|
||||||
|
# Fix build on EL7
|
||||||
|
%if !0%{?fedora}
|
||||||
|
%{_bindir}/pygmentize
|
||||||
|
%lang(en) %{_mandir}/man1/pygmentize.1*
|
||||||
|
%endif
|
||||||
|
|
||||||
# python3 packages are only built on Fedora
|
# python3 packages are only built on Fedora
|
||||||
%if 0%{?fedora}
|
%if 0%{?fedora}
|
||||||
|
Loading…
Reference in New Issue
Block a user