summaryrefslogtreecommitdiffstats
path: root/pdflib-lite.spec
diff options
context:
space:
mode:
Diffstat (limited to 'pdflib-lite.spec')
-rw-r--r--pdflib-lite.spec14
1 files changed, 10 insertions, 4 deletions
diff --git a/pdflib-lite.spec b/pdflib-lite.spec
index cb56f7f..0eb9951 100644
--- a/pdflib-lite.spec
+++ b/pdflib-lite.spec
@@ -1,10 +1,10 @@
-%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
-%{!?python_include: %global python_include %(%{__python} -c "from distutils.sysconfig import get_python_inc; print get_python_inc(0)")}
-%if 0%{?rhel} == 8
+%if 0%{?fedora} >= 31 || 0%{?rhel} >= 8
%global with_python 0
%global with_perl 0
%else
+%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+%{!?python_include: %global python_include %(%{__python} -c "from distutils.sysconfig import get_python_inc; print get_python_inc(0)")}
%global with_python 1
%global with_perl 1
%endif
@@ -14,7 +14,7 @@ Summary: Portable C library for dynamically generating PDF files
Name: pdflib-lite
# Remenber to check the URL after changing this...
Version: 7.0.5
-Release: 8%{?dist}
+Release: 10%{?dist}
License: Distributable
URL: http://www.pdflib.com/
@@ -224,6 +224,12 @@ cp bind/pdflib/php/examples.php5/*.php \
%changelog
+* Wed Aug 12 2020 Remi Collet <remi@remirepo.net> - 7.0.5-10
+- F33 build
+
+* Mon Aug 12 2019 Remi Collet <remi@remirepo.net> - 7.0.5-9
+- also drop perl and python bindings on Fedora >= 31
+
* Wed Dec 12 2018 Remi Collet <remi@remirepo.net> - 7.0.5-8
- cleanup for EL-8, drop perl and python subpackage
which have to be build as part of the modules