add pycairo-py27-devel package to remove devel deps from main package [release 1.18.1-3mamba;Sun Apr 25 2021]
This commit is contained in:
parent
fe24f28c28
commit
f2cb46a69d
@ -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 <silvan.calarco@mambasoft.it> 1.18.1-3mamba
|
||||
- add pycairo-py27-devel package to remove devel deps from main package
|
||||
|
||||
* Sun Apr 18 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.18.1-2mamba
|
||||
- python 2.7 legacy package
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user