Update Python 2 dependency declarations to new packaging standards

This commit is contained in:
Iryna Shcherbina 2018-02-21 08:16:22 +01:00
parent d65c8777af
commit 4f54dc0c80

View File

@ -77,7 +77,7 @@
Name: systemtap Name: systemtap
Version: 3.2 Version: 3.2
Release: 6%{?dist} Release: 7%{?dist}
# for version, see also configure.ac # for version, see also configure.ac
Patch10: rhbz1504009.patch Patch10: rhbz1504009.patch
@ -184,8 +184,8 @@ BuildRequires: readline-devel
BuildRequires: pkgconfig(ncurses) BuildRequires: pkgconfig(ncurses)
%endif %endif
%if %{with_python2_probes} %if %{with_python2_probes}
BuildRequires: python-devel BuildRequires: python2-devel
BuildRequires: python-setuptools BuildRequires: python2-setuptools
%endif %endif
%if %{with_python3_probes} %if %{with_python3_probes}
BuildRequires: python3-devel BuildRequires: python3-devel
@ -318,7 +318,7 @@ URL: http://sourceware.org/systemtap/
%if %{with_python3} %if %{with_python3}
Requires: python3-pyparsing Requires: python3-pyparsing
%else %else
Requires: pyparsing Requires: python2-pyparsing
%endif %endif
%endif %endif
@ -1160,6 +1160,10 @@ done
# PRERELEASE # PRERELEASE
%changelog %changelog
* Wed Feb 21 2018 Iryna Shcherbina <ishcherb@redhat.com> - 3.2-7
- Update Python 2 dependency declarations to new packaging standards
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
* Tue Feb 13 2018 Stan Cox <scox@redhat.com> - 3.2-6 * Tue Feb 13 2018 Stan Cox <scox@redhat.com> - 3.2-6
- rebuilt - rebuilt