Rebuild dropping unsupported bcc architectures

This commit is contained in:
Nathan Scott 2018-02-20 07:43:08 +11:00
parent 7f6cb37189
commit 581cd1ebcf
1 changed files with 8 additions and 1 deletions

View File

@ -1,6 +1,6 @@
Name: pcp
Version: 4.0.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: System-level performance monitoring and performance management
License: GPLv2+ and LGPLv2.1+ and CC-BY
URL: http://www.pcp.io
@ -74,11 +74,15 @@ Source4: %{github}/pcp-webapp-blinkenlights/archive/1.0.0/pcp-webapp-blinkenligh
# support for pmdabcc
%if 0%{?fedora} >= 25 || 0%{?rhel} > 7
%ifarch s390 s390x armv7hl aarch64 i686
%global disable_bcc 1
%else
%if !%{disable_python3}
%global disable_bcc 0
%else
%global disable_bcc 1
%endif
%endif
%else
%global disable_bcc 1
%endif
@ -3296,6 +3300,9 @@ cd
%endif
%changelog
* Tue Feb 20 2018 Nathan Scott <nathans@redhat.com> - 4.0.0-2
- Disable pmdabcc on architectures without BCC/eBPF support.
* Fri Feb 16 2018 Nathan Scott <nathans@redhat.com> - 4.0.0-1
- pcp-atopsar: robustness around missing data (BZ 1508028)
- python pmcc method checking for missing metrics (BZ 1508026)