Accepting request 627824 from Base:System
OBS-URL: https://build.opensuse.org/request/show/627824 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pcp?expand=0&rev=43
This commit is contained in:
commit
e43fb33c02
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 6 09:30:46 UTC 2018 - schwab@suse.de
|
||||||
|
|
||||||
|
- sysmacros.patch: Include <sys/sysmacros.h> for major/minor/makedev
|
||||||
|
- Use %license for COPYING
|
||||||
|
- Don't exclude post-build-checks
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Nov 23 13:41:01 UTC 2017 - rbrown@suse.com
|
Thu Nov 23 13:41:01 UTC 2017 - rbrown@suse.com
|
||||||
|
|
||||||
|
24
pcp.spec
24
pcp.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package pcp
|
# spec file for package pcp
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -21,8 +21,6 @@
|
|||||||
%define _fillupdir /var/adm/fillup-templates
|
%define _fillupdir /var/adm/fillup-templates
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
BuildRequires: -post-build-checks
|
|
||||||
|
|
||||||
%if 0%{?suse_version} > 1140 || 0%{?fedora_version} > 14
|
%if 0%{?suse_version} > 1140 || 0%{?fedora_version} > 14
|
||||||
%global has_systemd 1
|
%global has_systemd 1
|
||||||
%else
|
%else
|
||||||
@ -72,7 +70,7 @@ BuildRequires: -post-build-checks
|
|||||||
%global libpcp_web_sover 1
|
%global libpcp_web_sover 1
|
||||||
|
|
||||||
Summary: System-level performance monitoring and performance management
|
Summary: System-level performance monitoring and performance management
|
||||||
License: %{license_gplv2plus} and %{license_lgplv2plus} and %{license_cc_by}
|
License: %{license_gplv2plus} AND %{license_lgplv2plus} AND %{license_cc_by}
|
||||||
Group: %{pcp_gr}
|
Group: %{pcp_gr}
|
||||||
Name: pcp
|
Name: pcp
|
||||||
Version: 3.11.9
|
Version: 3.11.9
|
||||||
@ -99,6 +97,8 @@ Patch7: 0007-Honor-CFLAGS-in-qmake.patch
|
|||||||
Patch8: 0008-SUSE-fy-pmsnap-control-path.patch
|
Patch8: 0008-SUSE-fy-pmsnap-control-path.patch
|
||||||
# PATCH-FIX-OPENSUSE, kkaempf@suse.de
|
# PATCH-FIX-OPENSUSE, kkaempf@suse.de
|
||||||
Patch9: 0009-pmsnap-control-var-www-srv-www.patch
|
Patch9: 0009-pmsnap-control-var-www-srv-www.patch
|
||||||
|
# PATCH-FIX-UPSTREAM Include <sys/sysmacros.h> for major/minor/makedev
|
||||||
|
Patch10: sysmacros.patch
|
||||||
|
|
||||||
%if 0%{?fedora} || 0%{?rhel}
|
%if 0%{?fedora} || 0%{?rhel}
|
||||||
%global disable_selinux 0
|
%global disable_selinux 0
|
||||||
@ -504,7 +504,7 @@ Performance Co-Pilot (PCP) run-time web library
|
|||||||
#
|
#
|
||||||
%package -n %{lib_devel_pkg}
|
%package -n %{lib_devel_pkg}
|
||||||
Summary: Performance Co-Pilot (PCP) development headers
|
Summary: Performance Co-Pilot (PCP) development headers
|
||||||
License: %{license_gplv2plus} and %{license_lgplv21plus}
|
License: %{license_gplv2plus} AND %{license_lgplv21plus}
|
||||||
Group: %{lib_devel_gr}
|
Group: %{lib_devel_gr}
|
||||||
Url: http://www.pcp.io
|
Url: http://www.pcp.io
|
||||||
Requires: %{lib_pkg} = %{version}-%{release}
|
Requires: %{lib_pkg} = %{version}-%{release}
|
||||||
@ -522,7 +522,7 @@ Performance Co-Pilot (PCP) headers for development.
|
|||||||
#
|
#
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Performance Co-Pilot (PCP) development tools and documentation
|
Summary: Performance Co-Pilot (PCP) development tools and documentation
|
||||||
License: %{license_gplv2plus} and %{license_lgplv21plus}
|
License: %{license_gplv2plus} AND %{license_lgplv21plus}
|
||||||
Group: %{lib_devel_gr}
|
Group: %{lib_devel_gr}
|
||||||
Url: http://www.pcp.io
|
Url: http://www.pcp.io
|
||||||
%if !0%{?suse_version}
|
%if !0%{?suse_version}
|
||||||
@ -539,7 +539,7 @@ Performance Co-Pilot (PCP) documentation and tools for development.
|
|||||||
#
|
#
|
||||||
%package testsuite
|
%package testsuite
|
||||||
Summary: Performance Co-Pilot (PCP) test suite
|
Summary: Performance Co-Pilot (PCP) test suite
|
||||||
License: %{license_gplv2plus} and %{license_mit}
|
License: %{license_gplv2plus} AND %{license_mit}
|
||||||
Group: %{lib_devel_gr}
|
Group: %{lib_devel_gr}
|
||||||
Url: http://www.pcp.io
|
Url: http://www.pcp.io
|
||||||
%if !0%{?suse_version}
|
%if !0%{?suse_version}
|
||||||
@ -2044,7 +2044,7 @@ in python.
|
|||||||
#
|
#
|
||||||
%package gui
|
%package gui
|
||||||
Summary: Visualization tools for the Performance Co-Pilot toolkit
|
Summary: Visualization tools for the Performance Co-Pilot toolkit
|
||||||
License: %{license_gplv2plus} and %{license_lgplv2plus}
|
License: %{license_gplv2plus} AND %{license_lgplv2plus}
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
Url: http://www.pcp.io
|
Url: http://www.pcp.io
|
||||||
%if !0%{?suse_version}
|
%if !0%{?suse_version}
|
||||||
@ -2066,7 +2066,7 @@ monitoring systems using live and archived Performance Co-Pilot
|
|||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%endif
|
%endif
|
||||||
Summary: Documentation and tutorial for the Performance Co-Pilot
|
Summary: Documentation and tutorial for the Performance Co-Pilot
|
||||||
License: %{license_gplv2plus} and %{license_cc_by}
|
License: %{license_gplv2plus} AND %{license_cc_by}
|
||||||
Group: Documentation
|
Group: Documentation
|
||||||
Url: http://www.pcp.io
|
Url: http://www.pcp.io
|
||||||
# http://fedoraproject.org/wiki/Packaging:Conflicts "Splitting Packages"
|
# http://fedoraproject.org/wiki/Packaging:Conflicts "Splitting Packages"
|
||||||
@ -2091,7 +2091,7 @@ PCP utilities and daemons, and the PCP graphical tools.
|
|||||||
%if !%{disable_selinux}
|
%if !%{disable_selinux}
|
||||||
%package selinux
|
%package selinux
|
||||||
Summary: Selinux policy package
|
Summary: Selinux policy package
|
||||||
License: %{license_gplv2plus} and %{license_cc_by}
|
License: %{license_gplv2plus} AND %{license_cc_by}
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
Url: http://www.pcp.io
|
Url: http://www.pcp.io
|
||||||
BuildRequires: selinux-policy-devel
|
BuildRequires: selinux-policy-devel
|
||||||
@ -2118,6 +2118,7 @@ updated policy package.
|
|||||||
%patch7 -p1
|
%patch7 -p1
|
||||||
%patch8 -p1
|
%patch8 -p1
|
||||||
%patch9 -p1
|
%patch9 -p1
|
||||||
|
%patch10 -p1
|
||||||
|
|
||||||
autoconf
|
autoconf
|
||||||
|
|
||||||
@ -2743,7 +2744,8 @@ fi
|
|||||||
# but rather they are (slightly obscure) PMDA config files.
|
# but rather they are (slightly obscure) PMDA config files.
|
||||||
#
|
#
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc CHANGELOG COPYING INSTALL.md README.md VERSION.pcp pcp.lsm
|
%doc CHANGELOG INSTALL.md README.md VERSION.pcp pcp.lsm
|
||||||
|
%license COPYING
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
%exclude %{_docdir}/pcp/demos
|
%exclude %{_docdir}/pcp/demos
|
||||||
%exclude %{_docdir}/pcp/examples
|
%exclude %{_docdir}/pcp/examples
|
||||||
|
12
sysmacros.patch
Normal file
12
sysmacros.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
Index: pcp-3.11.9/src/pmdas/gfs2/pmda.c
|
||||||
|
===================================================================
|
||||||
|
--- pcp-3.11.9.orig/src/pmdas/gfs2/pmda.c
|
||||||
|
+++ pcp-3.11.9/src/pmdas/gfs2/pmda.c
|
||||||
|
@@ -22,6 +22,7 @@
|
||||||
|
#include "pmdagfs2.h"
|
||||||
|
|
||||||
|
#include <sys/types.h>
|
||||||
|
+#include <sys/sysmacros.h>
|
||||||
|
#include <ctype.h>
|
||||||
|
|
||||||
|
static char *gfs2_sysfsdir = "/sys/kernel/debug/gfs2";
|
Loading…
x
Reference in New Issue
Block a user