From 196ba77969a3de1d740d9a8f3b5e5c9ea32e2aff Mon Sep 17 00:00:00 2001 From: Raphael Groner raphro@fedoraproject.org Date: Fri, 3 Jun 2016 11:44:19 +0200 Subject: add build conditional
--- krop.spec | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/krop.spec b/krop.spec index 2dca754..b67d1d6 100644 --- a/krop.spec +++ b/krop.spec @@ -24,7 +24,11 @@ BuildRequires: libappstream-glib BuildRequires: python2-devel BuildRequires: python-setuptools
+%if 0%{?fedora} >= 24 %global pyneeds python2-PyPDF2 PyQt4 python-poppler-qt4 +%else +%global pyneeds python-PyPDF2 PyQt4 python-poppler-qt4 +%endif BuildRequires: %pyneeds Requires: %pyneeds
scm-commits@lists.fedoraproject.org