From 93895f711ae126dfbedade1627c4cca6db567a6f Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 16:46:07 +0100 Subject: [PATCH] rebuilt with python3 3.7.4 [release 0.4-2mamba;Fri Aug 09 2019] --- python-tinycss.spec | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/python-tinycss.spec b/python-tinycss.spec index e48dd55..fe28a28 100644 --- a/python-tinycss.spec +++ b/python-tinycss.spec @@ -1,6 +1,6 @@ Name: python-tinycss Version: 0.4 -Release: 1mamba +Release: 2mamba Summary: tinycss is a complete yet simple CSS parser for Python Group: System/Libraries Vendor: openmamba @@ -12,8 +12,8 @@ License: BSD ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libpython-devel -BuildRequires: libpython27-devel ## AUTOBUILDREQ-END +BuildRequires: libpython3-devel >= 3.7.4 Requires: python >= %python_version BuildRoot: %{_tmppath}/%{name}-%{version}-root @@ -41,11 +41,19 @@ CFLAGS="%{optflags}" %{__python} setup.py build #sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist +%if "%{?pyver}" == "3" +sed -i "/speedups.cpython-3.m/d" %{name}.filelist +%endif + + %files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) %doc LICENSE %changelog +* Fri Aug 09 2019 Silvan Calarco 0.4-2mamba +- rebuilt with python3 3.7.4 + * Mon Oct 17 2016 Automatic Build System 0.4-1mamba - automatic version update by autodist