8
0

Accepting request 726179 from devel:languages:perl:autoupdate

OBS-URL: https://build.opensuse.org/request/show/726179
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Unicode-Normalize?expand=0&rev=6
This commit is contained in:
2019-08-26 13:03:24 +00:00
committed by Git OBS Bridge
parent 8d764777e3
commit 805648f56b
6 changed files with 29 additions and 31 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:00b33a75d3b356ade2e09391ea2d32fac881671c18b1eb26b9ca31273d5b046c
size 40530

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bade6f74e89b95a4b2226a0965ac1218e0e4eeaa0edb4b30ee7aac9d5dae773f
size 35586

View File

@@ -7,8 +7,8 @@
#sources:
# - source1
# - source2
patches:
perl526.patch: -p1
#patches:
# perl526.patch: -p1
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-

View File

@@ -1,3 +1,17 @@
-------------------------------------------------------------------
Thu Aug 22 21:56:48 CEST 2019 - Tina Mueller <tina.mueller@suse.com>
- Remove patch for Makefile.PL (not needed anymore)
-------------------------------------------------------------------
Wed Apr 3 07:43:24 UTC 2019 - Stephan Kulow <coolo@suse.com>
- updated to 1.26
see /usr/share/doc/packages/perl-Unicode-Normalize/Changes
1.26 *** RELEASE DATE HERE ***
- Switch to XSLoader from Dynaloader
-------------------------------------------------------------------
Tue Sep 26 06:21:33 UTC 2017 - coolo@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Unicode-Normalize
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 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
@@ -12,21 +12,20 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: perl-Unicode-Normalize
Version: 1.25
Version: 1.26
Release: 0
%define cpan_name Unicode-Normalize
Summary: Unicode Normalization Forms
License: Artistic-1.0 or GPL-1.0+
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Unicode-Normalize/
Url: https://metacpan.org/release/%{cpan_name}
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
@@ -35,8 +34,7 @@ BuildRequires: perl-macros
%description
Parameters:
'$string' is used as a string under character semantics (see
_perlunicode_).
'$string' is used as a string under character semantics (see perlunicode).
'$code_point' should be an unsigned integer representing a Unicode code
point.
@@ -48,14 +46,13 @@ 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}"
%{__make} %{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags}
%check
%{__make} test
make test
%install
%perl_make_install
@@ -64,7 +61,7 @@ floating point nor a negative sign in '$code_point'.
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes disableXS enableXS MANIFEST.N mkheader Normalize.pmN README
%doc Changes mkheader README
%license LICENSE
%changelog

View File

@@ -1,13 +0,0 @@
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' };
}