Update to 0.21.4

This commit is contained in:
Mathieu Bridon 2014-09-19 17:36:32 +02:00 committed by Mathieu Bridon
parent 10a0ff3a5f
commit 39bc7d01c2
3 changed files with 11 additions and 5 deletions

1
.gitignore vendored
View File

@ -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

View File

@ -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 <bochecha@fedoraproject.org> - 0.21.4-1
- Update to 0.21.4
* Fri Sep 19 2014 Mathieu Bridon <bochecha@fedoraproject.org> - 0.21.3-1
- Update to 0.21.3

View File

@ -1 +1 @@
c929bb958f91ffaa942cac754218aa92 pygit2-0.21.3.tar.gz
8a3d02eded2bef2e0af18172814eec32 pygit2-0.21.4.tar.gz