- compile with perl 5.26 by patching the Makefile

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Encode-HanExtra?expand=0&rev=20
This commit is contained in:
Stephan Kulow 2017-09-23 15:03:15 +00:00 committed by Git OBS Bridge
parent eac05b03a6
commit f26bcbaf75
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}