Update Python 2 dependency declarations to new packaging standards

This commit is contained in:
Iryna Shcherbina 2018-02-12 05:30:22 +01:00
parent f2100214a5
commit cc51b50219

View File

@ -5,7 +5,7 @@
Name: python-pycparser
Summary: C parser and AST generator written in Python
Version: 2.14
Release: 13%{?dist}
Release: 14%{?dist}
License: BSD
Group: System Environment/Libraries
URL: http://github.com/eliben/pycparser
@ -19,11 +19,11 @@ Patch100: pycparser-2.10-ply.patch
BuildArch: noarch
BuildRequires: python2-devel python-setuptools
BuildRequires: python2-devel python2-setuptools
# for unit tests
BuildRequires: dos2unix
BuildRequires: python-ply >= 3.6
BuildRequires: python2-ply >= 3.6
%if 0%{?with_python3}
BuildRequires: python3-devel python3-setuptools
@ -39,7 +39,7 @@ need to parse C source code.
%package -n python2-pycparser
Summary: C parser and AST generator written in Python
Group: System Environment/Libraries
Requires: python-ply >= 3.6
Requires: python2-ply >= 3.6
%{?python_provide:%python_provide python2-pycparser}
%description -n python2-pycparser
@ -113,6 +113,10 @@ popd
%endif # with_python3
%changelog
* Mon Feb 12 2018 Iryna Shcherbina <ishcherb@redhat.com> - 2.14-14
- Update Python 2 dependency declarations to new packaging standards
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.14-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild