From 42e7d3cc2f12b45c1a6bb51fb74d076442935051 Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Jan 30 2020 14:54:51 +0000 Subject: Drop tests and Suggests for Python 2; require python3-devel --- diff --git a/py3c.spec b/py3c.spec index 922d655..d5e1bed 100644 --- a/py3c.spec +++ b/py3c.spec @@ -3,7 +3,7 @@ Name: py3c Version: 1.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Guide and compatibility macros for porting extensions to Python 3 # Licences differ for subpackages @@ -14,7 +14,6 @@ URL: http://py3c.readthedocs.io/ Source0: https://github.com/encukou/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: gcc -BuildRequires: python2-devel BuildRequires: python3-devel BuildRequires: python3-sphinx BuildRequires: python3-sphinx_rtd_theme @@ -29,10 +28,7 @@ and reduce boilerplate. License: MIT Summary: Header files for py3c -# Do not *require* python?-devel, because some projects can drop support -# for one of the Python versions, but still use the compat macros. -Suggests: python2-devel -Suggests: python3-devel +Requires: python3-devel # A header-only library counts as static Provides: %{name}-static = %{version}-%{release} @@ -70,7 +66,6 @@ ln -s $themefonts $bundledfonts %check export CFLAGS="%{optflags}" -make %{?_smp_mflags} test-python2 make %{?_smp_mflags} test-python3 %install @@ -93,6 +88,9 @@ sed --in-place -e's!%{buildroot}!!' %{buildroot}%{_datadir}/pkgconfig/py3c.pc %doc %{_pkgdocdir}/ %changelog +* Thu Jan 30 2020 Petr Viktorin - 1.1-3 +- Drop tests and Suggests for Python 2; require python3-devel + * Thu Jan 30 2020 Fedora Release Engineering - 1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild