diff --git a/.gitignore b/.gitignore index 870acca..a885faf 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /py3c-0.6.tar.gz /py3c-0.7.tar.gz /py3c-0.8.tar.gz +/py3c-1.0.tar.gz diff --git a/py3c.spec b/py3c.spec index 3c29168..6ae6ca5 100644 --- a/py3c.spec +++ b/py3c.spec @@ -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 - 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 - 0.8-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild diff --git a/sources b/sources index 7d9f4e7..e65d0f8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (py3c-0.8.tar.gz) = d58e047694eb84e9f7b8402567e6de2a6cb9584d1a129444c12f92481536c0adf44356430cc459745fcc8f565e2b33783a33405a17503f1b97d7bdd0651da1c8 +SHA512 (py3c-1.0.tar.gz) = 1a634b6489ceadc2f7f79f0c896c8ab6ec0cc978c5b0195f7cdda1ac32db7f8bfd3889e6e0543843d287bbc0e27a156b09dc15bf979d951951fb74fbc5c1149c