From f1adf79b50645eca45bbe4aa729516627886961e Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 19 Aug 2020 11:23:40 +0200 Subject: F33 build --- pdflib-lite.spec | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'pdflib-lite.spec') 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 - 7.0.5-10 +- F33 build + +* Mon Aug 12 2019 Remi Collet - 7.0.5-9 +- also drop perl and python bindings on Fedora >= 31 + * Wed Dec 12 2018 Remi Collet - 7.0.5-8 - cleanup for EL-8, drop perl and python subpackage which have to be build as part of the modules -- cgit