SHA256
1
0
forked from pool/munin

Accepting request 529833 from home:coolo:branches:openSUSE:Factory

- add perl526.patch to compile with perl 5.26 (no more . in @INC)

OBS-URL: https://build.opensuse.org/request/show/529833
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/munin?expand=0&rev=39
This commit is contained in:
Wolfgang Rosenauer 2017-09-29 06:44:43 +00:00 committed by Git OBS Bridge
parent 01c5c6e55b
commit 724478ac8a
3 changed files with 34 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Sep 29 04:56:09 UTC 2017 - coolo@suse.com
- add perl526.patch to compile with perl 5.26 (no more . in @INC)
-------------------------------------------------------------------
Fri Jun 2 15:43:10 UTC 2017 - suse-beta@cboltz.de

View File

@ -48,6 +48,7 @@ Source13: gsa-munin.zip
# https://svn.koumbit.net/koumbit/trunk/munin-plugins/quota-usage
Patch: munin-plugin-quota_usage_warnings.patch
Patch2: mysql55.patch
Patch3: perl526.patch
BuildRequires: html2text
BuildRequires: perl-HTML-Template
BuildRequires: perl-Log-Log4perl
@ -157,6 +158,7 @@ unzip %{SOURCE12}
unzip %{SOURCE13}
%patch
%patch2 -p1
%patch3 -p1
%build
%__make HOSTNAME=yourhostname

27
perl526.patch Normal file
View File

@ -0,0 +1,27 @@
Index: munin-2.0.32/master/Build.PL
===================================================================
--- munin-2.0.32.orig/master/Build.PL
+++ munin-2.0.32/master/Build.PL
@@ -1,3 +1,4 @@
+use lib '.';
use MasterBuilder;
use warnings;
Index: munin-2.0.32/node/Build.PL
===================================================================
--- munin-2.0.32.orig/node/Build.PL
+++ munin-2.0.32/node/Build.PL
@@ -1,3 +1,4 @@
+use lib '.';
use NodeBuilder;
use warnings;
Index: munin-2.0.32/plugins/Build.PL
===================================================================
--- munin-2.0.32.orig/plugins/Build.PL
+++ munin-2.0.32/plugins/Build.PL
@@ -1,3 +1,4 @@
+use lib '.';
use PluginsBuilder;
use warnings;