Accepting request 283915 from devel:languages:perl
1 OBS-URL: https://build.opensuse.org/request/show/283915 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Encode-HanExtra?expand=0&rev=23
This commit is contained in:
commit
3b865f19a1
24
HanExtra-include-sort.patch
Normal file
24
HanExtra-include-sort.patch
Normal file
@ -0,0 +1,24 @@
|
||||
---
|
||||
Makefile.PL | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
--- a/Makefile.PL
|
||||
+++ b/Makefile.PL
|
||||
@@ -112,7 +112,7 @@ sub post_initialize {
|
||||
#define U8 U8
|
||||
#include "encode.h"
|
||||
END
|
||||
- foreach my $table (keys %tables) {
|
||||
+ foreach my $table (sort keys %tables) {
|
||||
print XS qq[#include "${table}.h"\n];
|
||||
}
|
||||
print XS <<"END";
|
||||
@@ -141,7 +141,7 @@ PROTOTYPES: DISABLE
|
||||
BOOT:
|
||||
{
|
||||
END
|
||||
- foreach my $table (keys %tables) {
|
||||
+ foreach my $table (sort keys %tables) {
|
||||
print XS qq[#include "${table}.exh"\n];
|
||||
}
|
||||
print XS "}\n";
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 3 15:32:50 CET 2015 - tiwai@suse.de
|
||||
|
||||
- sort the entries in HanExtra.c for consistent packaging
|
||||
(boo#915951):
|
||||
HanExtra-include-sort.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 09 21:15:00 UTC 2014 - Led <ledest@gmail.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Encode-HanExtra
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2015 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
|
||||
@ -22,6 +22,7 @@ Version: 0.23
|
||||
Release: 0
|
||||
Url: http://search.cpan.org/~autrijus/Encode-HanExtra-0.23/
|
||||
Source0: http://search.cpan.org/CPAN/authors/id/A/AU/AUDREYT/Encode-HanExtra-0.23.tar.gz
|
||||
Patch1: HanExtra-include-sort.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Summary: Extra sets of Chinese encodings
|
||||
License: MIT
|
||||
@ -48,6 +49,7 @@ Authors:
|
||||
|
||||
%prep
|
||||
%setup -q -n Encode-HanExtra-%{version}
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
|
||||
|
Loading…
x
Reference in New Issue
Block a user