From 310ab968e33c32b91ca9b6e00fba05e2d0e29f55 Mon Sep 17 00:00:00 2001 From: Haikel Guemar Date: Jul 04 2017 11:02:32 +0000 Subject: Fix build on EL7 Minor change, does not require rebuild on Fedora --- diff --git a/python-pygments.spec b/python-pygments.spec index 097e3df..a8ff2d9 100644 --- a/python-pygments.spec +++ b/python-pygments.spec @@ -112,6 +112,11 @@ make test || : %license LICENSE # For noarch packages: 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 %if 0%{?fedora}