forked from pool/perl-Unicode-Collate
Accepting request 528476 from devel:languages:perl
- add no-dot-inc.patch to compile with perl 5.26 (https://rt.cpan.org/Public/Bug/Display.html?id=121664) OBS-URL: https://build.opensuse.org/request/show/528476 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Unicode-Collate?expand=0&rev=2
This commit is contained in:
@@ -4,9 +4,8 @@
|
||||
#sources:
|
||||
# - source1
|
||||
# - source2
|
||||
#patches:
|
||||
# foo.patch: -p1
|
||||
# bar.patch:
|
||||
patches:
|
||||
no-dot-inc.patch: -p1
|
||||
#preamble: |-
|
||||
# BuildRequires: gcc-c++
|
||||
#post_prep: |-
|
||||
|
||||
13
no-dot-inc.patch
Normal file
13
no-dot-inc.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
Index: Unicode-Collate-1.19/Makefile.PL
|
||||
===================================================================
|
||||
--- Unicode-Collate-1.19.orig/Makefile.PL
|
||||
+++ Unicode-Collate-1.19/Makefile.PL
|
||||
@@ -6,7 +6,7 @@ my $clean = {};
|
||||
if (-f "Collate.xs") {
|
||||
print "Making header files for XS...\n";
|
||||
|
||||
- do 'mkheader' or die $@ || "mkheader: $!";
|
||||
+ do './mkheader' or die $@ || "mkheader: $!";
|
||||
|
||||
$clean = { FILES => 'ucatbl.h' };
|
||||
}
|
||||
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Sep 24 06:55:18 UTC 2017 - coolo@suse.com
|
||||
|
||||
- add no-dot-inc.patch to compile with perl 5.26
|
||||
(https://rt.cpan.org/Public/Bug/Display.html?id=121664)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Dec 3 07:23:47 UTC 2016 - coolo@suse.com
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Unicode-Collate
|
||||
#
|
||||
# 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,8 +24,9 @@ Summary: Unicode Collation Algorithm
|
||||
License: Artistic-1.0 or GPL-1.0+
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/Unicode-Collate/
|
||||
Source0: http://www.cpan.org/authors/id/S/SA/SADAHIRO/%{cpan_name}-%{version}.tar.gz
|
||||
Source0: https://cpan.metacpan.org/authors/id/S/SA/SADAHIRO/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
Patch0: no-dot-inc.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
@@ -37,6 +38,7 @@ UTS #10) - Unicode Collation Algorithm (a.k.a. UCA).
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||
|
||||
Reference in New Issue
Block a user