Accepting request 528411 from devel:languages:perl

- compile with perl 5.26 by patching the Makefile

OBS-URL: https://build.opensuse.org/request/show/528411
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Encode-HanExtra?expand=0&rev=24
This commit is contained in:
Dominique Leuenberger 2017-10-02 14:42:33 +00:00 committed by Git OBS Bridge
commit ac370c880e
2 changed files with 7 additions and 7 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Sep 23 15:03:00 UTC 2017 - coolo@suse.com
- compile with perl 5.26 by patching the Makefile
-------------------------------------------------------------------
Tue Feb 3 15:32:50 CET 2015 - tiwai@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package perl-Encode-HanExtra
#
# Copyright (c) 2015 SUSE LINUX 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
@ -41,17 +41,12 @@ complete coverage will easily increase the size of perl distribution by
several megabytes; hence, this CPAN module tries to provide the rest of
them.
Authors:
--------
Autrijus Tang <autrijus@autrijus.org>
%prep
%setup -q -n Encode-HanExtra-%{version}
%patch1 -p1
%build
sed -i -e 's/use inc::Module::Install;/use lib q[.];\nuse inc::Module::Install;/' Makefile.PL
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
make %{?_smp_mflags}