Only use Python 3 in Fedora >= 23, more info at
https://bugzilla.redhat.com/show_bug.cgi?id=1194324#c4
This commit is contained in:
parent
7674f7200a
commit
5e5b28e013
8
pcp.spec
8
pcp.spec
@ -1,7 +1,7 @@
|
|||||||
Summary: System-level performance monitoring and performance management
|
Summary: System-level performance monitoring and performance management
|
||||||
Name: pcp
|
Name: pcp
|
||||||
Version: 3.10.2
|
Version: 3.10.2
|
||||||
%define buildversion 2
|
%define buildversion 3
|
||||||
|
|
||||||
Release: %{buildversion}%{?dist}
|
Release: %{buildversion}%{?dist}
|
||||||
License: GPLv2+ and LGPLv2.1+ and CC-BY
|
License: GPLv2+ and LGPLv2.1+ and CC-BY
|
||||||
@ -43,7 +43,7 @@ Patch1: bz1194324.patch
|
|||||||
%if 0%{?rhel} == 0 || 0%{?rhel} > 6
|
%if 0%{?rhel} == 0 || 0%{?rhel} > 6
|
||||||
%define disable_python3 0
|
%define disable_python3 0
|
||||||
# Do we wish to mandate python3 use in pcp? (f22+ and el8+)
|
# Do we wish to mandate python3 use in pcp? (f22+ and el8+)
|
||||||
%if 0%{?fedora} >= 22 || 0%{?rhel} > 7
|
%if 0%{?fedora} >= 23 || 0%{?rhel} > 7
|
||||||
%define default_python3 1
|
%define default_python3 1
|
||||||
%else
|
%else
|
||||||
%define default_python3 0
|
%define default_python3 0
|
||||||
@ -1096,6 +1096,10 @@ chmod 644 "$PCP_PMNS_DIR/.NeedRebuild"
|
|||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Feb 23 2015 Slavek Kabrda <bkabrda@redhat.com> - 3.10.2-3
|
||||||
|
- Only use Python 3 in Fedora >= 23, more info at
|
||||||
|
https://bugzilla.redhat.com/show_bug.cgi?id=1194324#c4
|
||||||
|
|
||||||
* Mon Feb 23 2015 Nathan Scott <nathans@redhat.com> - 3.10.2-2
|
* Mon Feb 23 2015 Nathan Scott <nathans@redhat.com> - 3.10.2-2
|
||||||
- Initial changes to support python3 as default (BZ 1194324)
|
- Initial changes to support python3 as default (BZ 1194324)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user