forked from pool/perl-Config-MySQL
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
This commit is contained in:
committed by
Git OBS Bridge
parent
b2b290b0e4
commit
5b62bcec85
3
cpanspec.yml
Normal file
3
cpanspec.yml
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
post_prep:
|
||||
sed -i -e 's/use inc::Module::Install/use lib q[.];\nuse inc::Module::Install/' Makefile.PL
|
@@ -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
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user