From f2cb46a69d57ab982d475551e36ecda9d0cb05c5 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 10:37:29 +0100 Subject: [PATCH] add pycairo-py27-devel package to remove devel deps from main package [release 1.18.1-3mamba;Sun Apr 25 2021] --- pycairo-py27.spec | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/pycairo-py27.spec b/pycairo-py27.spec index 0c2bb65..26cf580 100644 --- a/pycairo-py27.spec +++ b/pycairo-py27.spec @@ -1,6 +1,6 @@ Name: pycairo-py27 Version: 1.18.1 -Release: 2mamba +Release: 3mamba Summary: Python 2 bindings for cairo Group: System/Libraries/Python Vendor: openmamba @@ -12,7 +12,7 @@ License: LGPL, MPL 1.1 ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libcairo-devel -BuildRequires: libpython-devel +BuildRequires: libpython27-devel ## AUTOBUILDREQ-END %description @@ -29,6 +29,13 @@ Provides: python-pycairo %description -n pycairo Python 2 bindings for cairo. +%package -n pycairo-py27-devel +Summary: Development package for python 2 bindings for cairo +Group: Development/Libraries + +%description -n pycairo-py27-devel +Development package for python 2 bindings for cairo. + %prep %setup -q -n pycairo-%{version} @@ -53,12 +60,18 @@ sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist %defattr(-,root,root) %dir %{python27_sitearch}/pycairo-%{version}-py*.egg-info %{python27_sitearch}/pycairo-%{version}-py*.egg-info/* +%doc COPYING + +%files -n pycairo-py27-devel -f %{name}.filelist +%defattr(-,root,root) %{python27_sitearch}/cairo/include/py*cairo.h %{_includedir}/* %{_libdir}/pkgconfig/*.pc -%doc COPYING %changelog +* Sun Apr 25 2021 Silvan Calarco 1.18.1-3mamba +- add pycairo-py27-devel package to remove devel deps from main package + * Sun Apr 18 2021 Silvan Calarco 1.18.1-2mamba - python 2.7 legacy package