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
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# 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+
|
||||
Group: Development/Libraries/Perl
|
||||
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
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
@@ -46,6 +48,7 @@ floating point nor a negative sign in '$code_point'.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||
@@ -61,6 +64,7 @@ floating point nor a negative sign in '$code_point'.
|
||||
|
||||
%files -f %{name}.files
|
||||
%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
|
||||
|
Reference in New Issue
Block a user