diff --git a/.gitignore b/.gitignore index 065ee0c..48e75e5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /pygit2-0.20.2.tar.gz /pygit2-0.20.3.tar.gz +/pygit2-0.21.0.tar.gz diff --git a/python-pygit2.spec b/python-pygit2.spec index b237ae1..6d01cc0 100644 --- a/python-pygit2.spec +++ b/python-pygit2.spec @@ -6,7 +6,7 @@ %endif Name: python-%{pkgname} -Version: 0.20.3 +Version: 0.21.0 Release: 1%{?dist} Summary: Python 2.x bindings for libgit2 URL: http://www.pygit2.org @@ -14,32 +14,38 @@ Source: http://pypi.python.org/packages/source/p/%{pkgname}/%{pkgname}-% License: GPLv2 with linking exception BuildRequires: libgit2-devel BuildRequires: openssl-devel +BuildRequires: python-cffi BuildRequires: python2-devel -BuildRequires: python-sphinx BuildRequires: python-nose BuildRequires: python-setuptools %description pygit2 is a set of Python bindings to the libgit2 library, which implements -the core of Git. Pygit2 works with Python 2.6, 2.7, 3.1, 3.2 and 3.3. +the core of Git. Pygit2 works with Python 2.7, 3.1, 3.2, 3.3 and 3.4. + %package -n python3-%{pkgname} Summary: Python 3.x bindings for libgit2 +BuildRequires: python3-cffi BuildRequires: python3-devel BuildRequires: python3-nose BuildRequires: python3-setuptools %description -n python3-%{pkgname} pygit2 is a set of Python bindings to the libgit2 library, which implements -the core of Git. Pygit2 works with Python 2.6, 2.7, 3.1, 3.2 and 3.3. +the core of Git. Pygit2 works with Python 2.7, 3.1, 3.2, 3.3 and 3.4. + %package doc Summary: Documentation for %{name} BuildArch: noarch +BuildRequires: python-sphinx +Requires: %{name} = %{version}-%{release} %description doc Documentation for %{name}. + %prep %setup -qn %{pkgname}-%{version} rm -rf %{py3dir} @@ -47,10 +53,12 @@ cp -a . %{py3dir} %build CFLAGS="%{optflags}" %{__python2} setup.py build +make -C docs html + pushd %{py3dir} CFLAGS="%{optflags}" %{__python3} setup.py build popd -make -C docs html + %install %{__python2} setup.py install --prefix=%{_prefix} -O1 --skip-build --root=%{buildroot} @@ -72,17 +80,22 @@ popd %{python2_sitearch}/%{pkgname}-%{version}-py%{python2_version}.egg-info %{python2_sitearch}/%{pkgname} %{python2_sitearch}/_%{pkgname}.so +%{python2_sitearch}/_cffi__x9d80345cx7034714f.so %files -n python3-%{pkgname} %doc COPYING README.rst TODO.txt %{python3_sitearch}/%{pkgname}-%{version}-py%{python3_version}.egg-info %{python3_sitearch}/%{pkgname} %{python3_sitearch}/_%{pkgname}.*.so +%{python3_sitearch}/_cffi__x7a58d3ffx7034714f.cpython-34m.so %files doc %doc docs/_build/html/* %changelog +* Sun Jun 29 2014 Mathieu Bridon - 0.21.0-1 +- Update to 0.21.0 + * Sat Jun 21 2014 Christopher Meng - 0.20.3-1 - Update to 0.20.3 diff --git a/sources b/sources index eed38e3..b38b674 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -1efcc58383fd2e558a8d3cba4dcc4754 pygit2-0.20.3.tar.gz +ffd1df8fa73e65bc6d2b66ad8f90412c pygit2-0.21.0.tar.gz