From 724478ac8a3254c23bebef1b321ec6c9a9cf083fdb6d87c5d316c35b657455e5 Mon Sep 17 00:00:00 2001 From: Wolfgang Rosenauer Date: Fri, 29 Sep 2017 06:44:43 +0000 Subject: [PATCH] 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 --- munin.changes | 5 +++++ munin.spec | 2 ++ perl526.patch | 27 +++++++++++++++++++++++++++ 3 files changed, 34 insertions(+) create mode 100644 perl526.patch diff --git a/munin.changes b/munin.changes index f27d955..6c75953 100644 --- a/munin.changes +++ b/munin.changes @@ -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 diff --git a/munin.spec b/munin.spec index dbe7113..2ab0170 100644 --- a/munin.spec +++ b/munin.spec @@ -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 diff --git a/perl526.patch b/perl526.patch new file mode 100644 index 0000000..b64b322 --- /dev/null +++ b/perl526.patch @@ -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;