Update to 1.0

Adds Py_UNREACHABLE, Py_RETURN_RICHCOMPARE, Py_UNUSED
This commit is contained in:
Petr Viktorin 2018-02-11 13:50:16 +01:00
parent cbfc386bf8
commit 61ce694af1
3 changed files with 12 additions and 4 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
/py3c-0.6.tar.gz
/py3c-0.7.tar.gz
/py3c-0.8.tar.gz
/py3c-1.0.tar.gz

View File

@ -2,8 +2,8 @@
%global debug_package %{nil}
Name: py3c
Version: 0.8
Release: 5%{?dist}
Version: 1.0
Release: 1%{?dist}
Summary: Guide and compatibility macros for porting extensions to Python 3
# Licences differ for subpackages
@ -69,7 +69,7 @@ ln -s $themefonts $bundledfonts
%check
export CFLAGS="%{optflags}"
make %{?_smp_mflags} test-python
make %{?_smp_mflags} test-python2
make %{?_smp_mflags} test-python3
%install
@ -77,6 +77,9 @@ make install prefix=%{buildroot}%{_prefix} includedir=%{buildroot}%{_includedir}
mkdir -p %{buildroot}%{_pkgdocdir}
cp -rv doc/build/html/* %{buildroot}%{_pkgdocdir}
# Strip buildroot name from the pkgconfig file
sed --in-place -e's!%{buildroot}!!' %{buildroot}%{_datadir}/pkgconfig/py3c.pc
%files devel
%license LICENSE.MIT
%doc README.rst
@ -89,6 +92,10 @@ cp -rv doc/build/html/* %{buildroot}%{_pkgdocdir}
%doc %{_pkgdocdir}/
%changelog
* Wed Feb 01 2017 Petr Viktorin <pviktorin@redhat.com> - 1.0-1
- Update to 1.0 (adds Py_UNREACHABLE, Py_RETURN_RICHCOMPARE, Py_UNUSED)
- Strip buildroot name from the pkgconfig file
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (py3c-0.8.tar.gz) = d58e047694eb84e9f7b8402567e6de2a6cb9584d1a129444c12f92481536c0adf44356430cc459745fcc8f565e2b33783a33405a17503f1b97d7bdd0651da1c8
SHA512 (py3c-1.0.tar.gz) = 1a634b6489ceadc2f7f79f0c896c8ab6ec0cc978c5b0195f7cdda1ac32db7f8bfd3889e6e0543843d287bbc0e27a156b09dc15bf979d951951fb74fbc5c1149c