Rename Python 2 package to python2-cairo
This commit is contained in:
parent
5de3629b6f
commit
0e76331d29
40
pycairo.spec
40
pycairo.spec
@ -9,20 +9,35 @@ Source0: https://github.com/pygobject/pycairo/releases/download/v%{version}/pyca
|
||||
|
||||
BuildRequires: cairo-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: pytest
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: python2-pytest
|
||||
BuildRequires: python-xpyb-devel
|
||||
Requires: python-xpyb
|
||||
|
||||
%description
|
||||
Python bindings for the cairo library.
|
||||
|
||||
%package devel
|
||||
Summary: Libraries and headers for pycairo
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: python-devel
|
||||
%package -n python2-cairo
|
||||
Summary: Python 2 bindings for the cairo library
|
||||
%{?python_provide:%python_provide python2-cairo}
|
||||
Requires: python-xpyb
|
||||
# Renamed in F27
|
||||
Obsoletes: pycairo < 1.15.2
|
||||
Provides: pycairo = %{version}-%{release}
|
||||
Provides: pycairo%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
%description -n python2-cairo
|
||||
Python 2 bindings for the cairo library.
|
||||
|
||||
%package -n python2-cairo-devel
|
||||
Summary: Libraries and headers for pycairo
|
||||
Requires: python2-cairo%{?_isa} = %{version}-%{release}
|
||||
Requires: python2-devel
|
||||
# Renamed in F27
|
||||
Obsoletes: pycairo-devel < 1.15.2
|
||||
Provides: pycairo-devel = %{version}-%{release}
|
||||
Provides: pycairo-devel%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description -n python2-cairo-devel
|
||||
This package contains files required to build wrappers for cairo add-on
|
||||
libraries so that they interoperate with pycairo.
|
||||
|
||||
@ -38,12 +53,12 @@ libraries so that they interoperate with pycairo.
|
||||
%check
|
||||
%{__python2} setup.py test
|
||||
|
||||
%files
|
||||
%files -n python2-cairo
|
||||
%license COPYING*
|
||||
%{python_sitearch}/cairo/
|
||||
%{python_sitearch}/pycairo*.egg-info
|
||||
%{python2_sitearch}/cairo/
|
||||
%{python2_sitearch}/pycairo*.egg-info
|
||||
|
||||
%files devel
|
||||
%files -n python2-cairo-devel
|
||||
%{_includedir}/pycairo/
|
||||
%{_libdir}/pkgconfig/pycairo.pc
|
||||
|
||||
@ -53,6 +68,7 @@ libraries so that they interoperate with pycairo.
|
||||
- Switch to new upstream at https://github.com/pygobject/pycairo
|
||||
- Switch to distutils build system
|
||||
- Tighten subpackage deps with the _isa macro
|
||||
- Rename Python 2 package to python2-cairo
|
||||
|
||||
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.0-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
Loading…
Reference in New Issue
Block a user