From 5b62bcec854d8b9e2f30c444575677e17dbdcb6df9bdc454d34167ef166656ad Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Tue, 3 Oct 2017 08:29:23 +0000 Subject: [PATCH] Accepting request 530723 from devel:languages:perl:tobefixed fix OBS-URL: https://build.opensuse.org/request/show/530723 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Config-MySQL?expand=0&rev=3 --- cpanspec.yml | 3 +++ perl-Config-MySQL.changes | 5 +++++ perl-Config-MySQL.spec | 16 ++++++++++------ 3 files changed, 18 insertions(+), 6 deletions(-) create mode 100644 cpanspec.yml diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..a09effb --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,3 @@ +--- +post_prep: + sed -i -e 's/use inc::Module::Install/use lib q[.];\nuse inc::Module::Install/' Makefile.PL diff --git a/perl-Config-MySQL.changes b/perl-Config-MySQL.changes index 4453e14..543d003 100644 --- a/perl-Config-MySQL.changes +++ b/perl-Config-MySQL.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Oct 3 08:13:12 UTC 2017 - coolo@suse.com + +- patch the Makefile to build with perl 5.26 + ------------------------------------------------------------------- Tue Dec 2 10:24:47 UTC 2014 - coolo@suse.com diff --git a/perl-Config-MySQL.spec b/perl-Config-MySQL.spec index bdd6add..38bfc9e 100644 --- a/perl-Config-MySQL.spec +++ b/perl-Config-MySQL.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Config-MySQL # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,7 +24,8 @@ Summary: Read and write MySQL-style configuration files License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Config-MySQL/ -Source: http://www.cpan.org/authors/id/I/IA/IARNELL/%{cpan_name}-%{version}.tar.gz +Source0: https://cpan.metacpan.org/authors/id/I/IA/IARNELL/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl @@ -36,13 +37,16 @@ Requires: perl(Config::INI::Writer) %{perl_requires} %description -This module extends the Config::INI manpage to support reading and writing -MySQL-style configuration files. Although deceptively similar to standard -'.INI' files, they can include bare boolean options with no value -assignment and additional features like '!include' and '!includedir'. +This module extends Config::INI to support reading and writing MySQL-style +configuration files. Although deceptively similar to standard '.INI' files, +they can include bare boolean options with no value assignment and +additional features like '!include' and '!includedir'. %prep %setup -q -n %{cpan_name}-%{version} +# MANUAL BEGIN +sed -i -e 's/use inc::Module::Install/use lib q[.];\nuse inc::Module::Install/' Makefile.PL +# MANUAL END %build %{__perl} Makefile.PL INSTALLDIRS=vendor