Update to 0.21.4
This commit is contained in:
parent
10a0ff3a5f
commit
39bc7d01c2
1
.gitignore
vendored
1
.gitignore
vendored
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user