Drop tests and Suggests for Python 2; require python3-devel
This commit is contained in:
parent
7959489555
commit
42e7d3cc2f
12
py3c.spec
12
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 <pviktori@redhat.com> - 1.1-3
|
||||
- Drop tests and Suggests for Python 2; require python3-devel
|
||||
|
||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user