forked from pool/perl-IRI
Accepting request 530690 from devel:languages:perl:tobefixed
- patch the Makefile to build with perl 5.26 OBS-URL: https://build.opensuse.org/request/show/530690 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IRI?expand=0&rev=9
This commit is contained in:
committed by
Git OBS Bridge
parent
0840d2b997
commit
60f00cfd95
27
cpanspec.yml
27
cpanspec.yml
@@ -1,27 +1,6 @@
|
||||
---
|
||||
#description_paragraphs: 3
|
||||
#description: |-
|
||||
# override description from CPAN
|
||||
#summary: override summary from CPAN
|
||||
#no_testing: broken upstream
|
||||
#sources:
|
||||
# - source1
|
||||
# - source2
|
||||
patches:
|
||||
fix-package.diff: -p1
|
||||
#preamble: |-
|
||||
# BuildRequires: gcc-c++
|
||||
#post_prep: |-
|
||||
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
|
||||
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
|
||||
#post_build: |-
|
||||
# rm unused.files
|
||||
#post_install: |-
|
||||
# sed on %{name}.files
|
||||
#license: SUSE-NonFree
|
||||
#skip_noarch: 1
|
||||
#custom_build: |-
|
||||
#./Build build flags=%{?_smp_mflags} --myflag
|
||||
#custom_test: |-
|
||||
#startserver && make test
|
||||
#ignore_requires: Bizarre::Module
|
||||
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 07:28:41 UTC 2017 - coolo@suse.com
|
||||
|
||||
- patch the Makefile to build with perl 5.26
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 21 05:28:55 UTC 2016 - coolo@suse.com
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-IRI
|
||||
#
|
||||
# Copyright (c) 2016 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
|
||||
@@ -24,7 +24,8 @@ Summary: Internationalized Resource Identifiers
|
||||
License: Artistic-1.0 or GPL-1.0+
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/IRI/
|
||||
Source0: http://www.cpan.org/authors/id/G/GW/GWILLIAMS/%{cpan_name}-%{version}.tar.gz
|
||||
#Source0: https://cpan.metacpan.org/authors/id/G/GW/GWILLIAMS/%{cpan_name}-0.008.tar.gz
|
||||
Source0: IRI-0.006.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
Patch0: fix-package.diff
|
||||
BuildArch: noarch
|
||||
@@ -51,6 +52,9 @@ serializing, and base resolution.
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
%patch0 -p1
|
||||
# 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