diff --git a/.gitignore b/.gitignore index e290fa4..e95efa8 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /pygit2-0.21.1.tar.gz /pygit2-0.21.2.tar.gz /pygit2-0.21.3.tar.gz +/pygit2-0.21.4.tar.gz diff --git a/python-pygit2.spec b/python-pygit2.spec index 1f42f42..87b7422 100644 --- a/python-pygit2.spec +++ b/python-pygit2.spec @@ -1,7 +1,7 @@ %global pkgname pygit2 Name: python-%{pkgname} -Version: 0.21.3 +Version: 0.21.4 Release: 1%{?dist} Summary: Python 2.x bindings for libgit2 URL: http://www.pygit2.org @@ -55,6 +55,7 @@ Documentation for %{name}. rm -rf %{py3dir} cp -a . %{py3dir} + %build CFLAGS="%{optflags}" %{__python2} setup.py build make -C docs html @@ -73,19 +74,21 @@ find %{_builddir} -name '.buildinfo' -delete # Correct the permissions. find %{buildroot} -name '*.so' -exec chmod 755 {} ';' + %check %{__python2} setup.py test pushd %{py3dir} %{__python3} setup.py test popd + %files %doc README.rst TODO.txt %license COPYING %{python2_sitearch}/%{pkgname}-%{version}-py%{python2_version}.egg-info %{python2_sitearch}/%{pkgname} %{python2_sitearch}/_%{pkgname}.so -%{python2_sitearch}/_cffi__*.so +%{python2_sitearch}/%{pkgname}_cffi_*.so %files -n python3-%{pkgname} %doc README.rst TODO.txt @@ -93,14 +96,16 @@ popd %{python3_sitearch}/%{pkgname}-%{version}-py%{python3_version}.egg-info %{python3_sitearch}/%{pkgname} %{python3_sitearch}/_%{pkgname}.*.so -%{python3_sitearch}/_cffi__*.cpython-34m.so - +%{python3_sitearch}/%{pkgname}_cffi_*.so %files doc %doc docs/_build/html/* %changelog +* Mon Nov 17 2014 Mathieu Bridon - 0.21.4-1 +- Update to 0.21.4 + * Fri Sep 19 2014 Mathieu Bridon - 0.21.3-1 - Update to 0.21.3 diff --git a/sources b/sources index 5e32e83..439b191 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c929bb958f91ffaa942cac754218aa92 pygit2-0.21.3.tar.gz +8a3d02eded2bef2e0af18172814eec32 pygit2-0.21.4.tar.gz