Drop Python 2 subpackage in future systems
This commit is contained in:
parent
ebf8c2dba1
commit
2579d9cbaa
|
@ -34,7 +34,7 @@
|
|||
%endif
|
||||
%{!?with_pyparsing: %global with_pyparsing 0%{?fedora} >= 18 || 0%{?rhel} >= 7}
|
||||
%{!?with_python3: %global with_python3 0%{?fedora} >= 23 || 0%{?rhel} > 7}
|
||||
%{!?with_python2_probes: %global with_python2_probes 1}
|
||||
%{!?with_python2_probes: %global with_python2_probes 0%{?fedora} <= 28 && 0%{?rhel} <= 7}
|
||||
%{!?with_python3_probes: %global with_python3_probes 0%{?fedora} >= 23}
|
||||
%{!?with_httpd: %global with_httpd 0}
|
||||
|
||||
|
@ -77,7 +77,7 @@
|
|||
|
||||
Name: systemtap
|
||||
Version: 3.3
|
||||
Release: 0.20180315gitc2585f2b58cd%{?dist}
|
||||
Release: 0.20180316gitc2585f2b58cd%{?dist}
|
||||
# for version, see also configure.ac
|
||||
|
||||
|
||||
|
@ -421,6 +421,11 @@ License: GPLv2+
|
|||
URL: http://sourceware.org/systemtap/
|
||||
Requires: systemtap-runtime = %{version}-%{release}
|
||||
|
||||
%if ! (%{with_python2_probes})
|
||||
# Provide an clean upgrade path when the python2 package is removed
|
||||
Obsoletes: %{name}-runtime-python2 < %{version}-%{release}
|
||||
%endif
|
||||
|
||||
%description runtime-python3
|
||||
This package includes support files needed to run systemtap scripts
|
||||
that probe python 3 processes.
|
||||
|
@ -1163,6 +1168,9 @@ done
|
|||
|
||||
# PRERELEASE
|
||||
%changelog
|
||||
* Fri Mar 16 2018 Petr Viktorin <pviktori@redhat.com> - 3.3-0.20180316gitc2585f2b58cd
|
||||
- Drop Python 2 subpackage in future systems
|
||||
|
||||
* Thu Mar 15 2018 Frank Ch. Eigler <fche@redhat.com> - 3.3-0.20180315gitc2585f2b58cd
|
||||
- Automated weekly rawhide release
|
||||
- Applied spec changes from upstream git
|
||||
|
|
Loading…
Reference in New Issue