forked from pool/perl-Unicode-Normalize
- add perl526.patch to work with perl 5.26
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Unicode-Normalize?expand=0&rev=4
This commit is contained in:
committed by
Git OBS Bridge
parent
b75f3a5484
commit
8d764777e3
27
cpanspec.yml
Normal file
27
cpanspec.yml
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
---
|
||||||
|
#description_paragraphs: 3
|
||||||
|
#description: |-
|
||||||
|
# override description from CPAN
|
||||||
|
#summary: override summary from CPAN
|
||||||
|
#no_testing: broken upstream
|
||||||
|
#sources:
|
||||||
|
# - source1
|
||||||
|
# - source2
|
||||||
|
patches:
|
||||||
|
perl526.patch: -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
|
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 26 06:21:33 UTC 2017 - coolo@suse.com
|
||||||
|
|
||||||
|
- add perl526.patch to work with perl 5.26
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Feb 26 09:48:18 UTC 2016 - mlin@suse.com
|
Fri Feb 26 09:48:18 UTC 2016 - mlin@suse.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-Unicode-Normalize
|
# spec file for package perl-Unicode-Normalize
|
||||||
#
|
#
|
||||||
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -24,7 +24,9 @@ Summary: Unicode Normalization Forms
|
|||||||
License: Artistic-1.0 or GPL-1.0+
|
License: Artistic-1.0 or GPL-1.0+
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
Url: http://search.cpan.org/dist/Unicode-Normalize/
|
Url: http://search.cpan.org/dist/Unicode-Normalize/
|
||||||
Source0: http://www.cpan.org/authors/id/K/KH/KHW/%{cpan_name}-%{version}.tar.gz
|
Source0: https://cpan.metacpan.org/authors/id/K/KH/KHW/%{cpan_name}-%{version}.tar.gz
|
||||||
|
Source1: cpanspec.yml
|
||||||
|
Patch0: perl526.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
@@ -46,6 +48,7 @@ floating point nor a negative sign in '$code_point'.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||||
@@ -61,6 +64,7 @@ floating point nor a negative sign in '$code_point'.
|
|||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,755)
|
%defattr(-,root,root,755)
|
||||||
%doc Changes disableXS enableXS LICENSE MANIFEST.N mkheader Normalize.pmN README
|
%doc Changes disableXS enableXS MANIFEST.N mkheader Normalize.pmN README
|
||||||
|
%license LICENSE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
13
perl526.patch
Normal file
13
perl526.patch
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
Index: Unicode-Normalize-1.25/Makefile.PL
|
||||||
|
===================================================================
|
||||||
|
--- Unicode-Normalize-1.25.orig/Makefile.PL
|
||||||
|
+++ Unicode-Normalize-1.25/Makefile.PL
|
||||||
|
@@ -8,7 +8,7 @@ my $mm_ver = ExtUtils::MakeMaker->VERSIO
|
||||||
|
if (-f "Normalize.xs") {
|
||||||
|
print STDERR "Making header files for XS...\n";
|
||||||
|
|
||||||
|
- do 'mkheader' or die $@ || "mkheader: $!";
|
||||||
|
+ do './mkheader' or die $@ || "mkheader: $!";
|
||||||
|
|
||||||
|
$clean = { FILES => 'unfcan.h unfcmb.h unfcmp.h unfcpt.h unfexc.h' };
|
||||||
|
}
|
Reference in New Issue
Block a user