Update to 1.8.10, rename to python-cairo.
This commit is contained in:
parent
0487a65af9
commit
c700bd496b
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
||||
pycairo-1.8.8.tar.gz
|
||||
/py2cairo-1.8.10.tar.gz
|
||||
|
||||
24
pycairo.spec
24
pycairo.spec
@ -1,19 +1,27 @@
|
||||
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||
|
||||
# Last updated for 1.8.8
|
||||
%define cairo_version 1.8.6
|
||||
# Last updated for 1.8.10
|
||||
%define cairo_version 1.8.10
|
||||
|
||||
### Abstract ###
|
||||
|
||||
Name: pycairo
|
||||
Version: 1.8.8
|
||||
Release: 2%{?dist}
|
||||
Name: python-cairo
|
||||
Version: 1.8.10
|
||||
Release: 1%{?dist}
|
||||
License: MPLv1.1 or LGPLv2
|
||||
Group: Development/Languages
|
||||
Summary: Python bindings for the cairo library
|
||||
URL: http://cairographics.org/pycairo
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||
Source: http://cairographics.org/releases/pycairo-%{version}.tar.gz
|
||||
Source: http://cairographics.org/releases/py2cairo-%{version}.tar.gz
|
||||
|
||||
# With version 1.8.10, the upstream pycairo project began releasing multiple
|
||||
# tarballs for different Python versions: py2cairo for Python 2, and pycairo
|
||||
# for Python 3. In order to provide a smooth upgrade path for users wishing
|
||||
# to stay on the Python 2 version, this package was renamed to python-cairo
|
||||
# and a python3-cairo package was introduced for Python 3.
|
||||
Provides: pycairo = %{version}
|
||||
Obsoletes: pycairo < 1.8.10
|
||||
|
||||
### Build Dependencies ###
|
||||
|
||||
@ -63,6 +71,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_libdir}/pkgconfig/pycairo.pc
|
||||
|
||||
%changelog
|
||||
* Tue Sep 21 2010 Matthew Barnes <mbarnes@redhat.com> - 1.8.10-1
|
||||
- Update to 1.8.10
|
||||
- Rename the package to python-cairo.
|
||||
|
||||
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 1.8.8-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user