Hello community,

here is the log from the commit of package perl-Encode-JIS2K for 
openSUSE:Factory checked in at 2018-10-01 08:14:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Encode-JIS2K (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Encode-JIS2K.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Encode-JIS2K"

Mon Oct  1 08:14:41 2018 rev:23 rq:638336 version:0.03

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Encode-JIS2K/perl-Encode-JIS2K.changes      
2017-07-30 11:24:41.228193922 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Encode-JIS2K.new/perl-Encode-JIS2K.changes 
2018-10-01 08:14:44.590070856 +0200
@@ -1,0 +2,18 @@
+Tue Sep 25 16:05:05 UTC 2018 - [email protected]
+
+- update to 0.03
+  Revision: 0.03 $ $Date: 2015/06/05 03:57:30 $
+  ! Makefile.PL
+    fix RT#67531 & RT#104967
+    https://rt.cpan.org/Ticket/Display.html?id=67531
+    https://rt.cpan.org/Ticket/Display.html?id=104967
+  ! lib/Encode/JIS2K/2022JP3.pm
+    fix RT#73401
+    https://rt.cpan.org/Ticket/Display.html?id=73401
+
+- Dropped patch fixed upstream
+  * reproducible.patch
+
+- Cleaned with spec-cleaner
+
+-------------------------------------------------------------------

Old:
----
  Encode-JIS2K-0.02.tar.gz
  reproducible.patch

New:
----
  Encode-JIS2K-0.03.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-Encode-JIS2K.spec ++++++
--- /var/tmp/diff_new_pack.Toy41T/_old  2018-10-01 08:14:44.958070619 +0200
+++ /var/tmp/diff_new_pack.Toy41T/_new  2018-10-01 08:14:44.962070617 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Encode-JIS2K
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -16,48 +16,39 @@
 #
 
 
+%define cpan_name Encode-JIS2K
 Name:           perl-Encode-JIS2K
-Requires:       /usr/bin/enc2xs
-Version:        0.02
+Version:        0.03
 Release:        0
-Url:            http://search.cpan.org/~dankogai/Encode-JIS2K-0.02/
-Source0:        
http://search.cpan.org/CPAN/authors/id/D/DA/DANKOGAI/Encode-JIS2K-0.02.tar.gz
-Patch0:         perl-Encode-JIS2K.patch
-# PATCH-FIX-UPSTREAM in 0.03
-Patch1:         reproducible.patch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Summary:        JIS X 0212 (aka JIS 2000) Encodings
 License:        Artistic-1.0
 Group:          Development/Libraries/Perl
-%{perl_requires}
+Url:            https://metacpan.org/pod/Encode::JIS2K
+Source0:        
https://cpan.metacpan.org/authors/id/D/DA/DANKOGAI/%{cpan_name}-%{version}.tar.gz
+Patch0:         perl-Encode-JIS2K.patch
 BuildRequires:  perl
 BuildRequires:  perl-macros
+Requires:       %{_bindir}/enc2xs
+%{perl_requires}
 
 %description
 This module implements encodings that covers JIS X 0213 charset (AKA
 JIS 2000, hence the module name).
 
-
-
-Authors:
---------
-    Dan Kogai <[email protected]>
-
-%define __find_provides /usr/lib/rpm/find-provides
-%define __find_requires /usr/lib/rpm/find-requires
+%define __find_provides %{_prefix}/lib/rpm/find-provides
+%define __find_requires %{_prefix}/lib/rpm/find-requires
 
 %prep
 %setup -q -n Encode-JIS2K-%{version}
 %patch0 -p1
-%patch1 -p1
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
+CFLAGS="%{optflags}" perl Makefile.PL
 make %{?_smp_mflags}
 
 %install
-install -d $RPM_BUILD_ROOT/%{perl_archlib}
-make DESTDIR=$RPM_BUILD_ROOT install_vendor
+install -d %{buildroot}/%{perl_archlib}
+make DESTDIR=%{buildroot} install_vendor
 %perl_process_packlist
 
 %post
@@ -69,7 +60,6 @@
 fi
 
 %files 
-%defattr(-,root,root)
 %doc Changes MANIFEST README*
 %{_mandir}/man3/*.3pm.gz
 %{perl_vendorarch}/Encode/

++++++ Encode-JIS2K-0.02.tar.gz -> Encode-JIS2K-0.03.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Encode-JIS2K-0.02/Changes 
new/Encode-JIS2K-0.03/Changes
--- old/Encode-JIS2K-0.02/Changes       2005-05-12 09:03:29.000000000 +0200
+++ new/Encode-JIS2K-0.03/Changes       2015-06-05 05:57:46.000000000 +0200
@@ -1,8 +1,17 @@
 #
-# $Id: Changes,v 0.2 2005/05/12 07:00:10 dankogai Exp $
+# $Id: Changes,v 0.03 2015/06/05 03:57:30 dankogai Exp dankogai $
 # Revision history for Perl extension Encode::JIS2K.
 #
-$Revision: 0.2 $ $Date: 2005/05/12 07:00:10 $
+$Revision: 0.03 $ $Date: 2015/06/05 03:57:30 $
+! Makefile.PL
+  fix RT#67531 & RT#104967
+  https://rt.cpan.org/Ticket/Display.html?id=67531
+  https://rt.cpan.org/Ticket/Display.html?id=104967
+! lib/Encode/JIS2K/2022JP3.pm
+  fix RT#73401
+  https://rt.cpan.org/Ticket/Display.html?id=73401
+
+0.02 2005/05/12 07:00:10
 ! lib/Encode/JIS2K/2022JP3.pm
   find_encoding('iso-2022-jp-3')->name returns 'Canon', not 'iso-2022-jp-3'.
   Debugged by Hirata Keisuke [email protected]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Encode-JIS2K-0.02/JIS2K.pm 
new/Encode-JIS2K-0.03/JIS2K.pm
--- old/Encode-JIS2K-0.02/JIS2K.pm      2005-05-12 09:03:29.000000000 +0200
+++ new/Encode-JIS2K-0.03/JIS2K.pm      2015-06-05 05:57:38.000000000 +0200
@@ -1,5 +1,5 @@
 package Encode::JIS2K;
-our $VERSION = sprintf "%d.%02d", q$Revision: 0.2 $ =~ /(\d+)/g;
+our $VERSION = sprintf "%d.%02d", q$Revision: 0.03 $ =~ /(\d+)/g;
 
 use Encode;
 use XSLoader;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Encode-JIS2K-0.02/MANIFEST 
new/Encode-JIS2K-0.03/MANIFEST
--- old/Encode-JIS2K-0.02/MANIFEST      2005-05-12 08:55:49.000000000 +0200
+++ new/Encode-JIS2K-0.03/MANIFEST      2015-06-05 05:58:22.000000000 +0200
@@ -20,3 +20,4 @@
 ucm/x0213-1.ucm        UCM
 ucm/x0213-2.ucm        UCM
 META.yml                                 Module meta-data (added by MakeMaker)
+META.json                                Module JSON meta-data (added by 
MakeMaker)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Encode-JIS2K-0.02/META.json 
new/Encode-JIS2K-0.03/META.json
--- old/Encode-JIS2K-0.02/META.json     1970-01-01 01:00:00.000000000 +0100
+++ new/Encode-JIS2K-0.03/META.json     2015-06-05 05:58:22.000000000 +0200
@@ -0,0 +1,41 @@
+{
+   "abstract" : "unknown",
+   "author" : [
+      "unknown"
+   ],
+   "dynamic_config" : 1,
+   "generated_by" : "ExtUtils::MakeMaker version 7.0401, CPAN::Meta::Converter 
version 2.150001",
+   "license" : [
+      "unknown"
+   ],
+   "meta-spec" : {
+      "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec";,
+      "version" : "2"
+   },
+   "name" : "Encode-JIS2K",
+   "no_index" : {
+      "directory" : [
+         "t",
+         "inc"
+      ]
+   },
+   "prereqs" : {
+      "build" : {
+         "requires" : {
+            "ExtUtils::MakeMaker" : "0"
+         }
+      },
+      "configure" : {
+         "requires" : {
+            "ExtUtils::MakeMaker" : "0"
+         }
+      },
+      "runtime" : {
+         "requires" : {
+            "Encode" : "1.41"
+         }
+      }
+   },
+   "release_status" : "stable",
+   "version" : "0.03"
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Encode-JIS2K-0.02/META.yml 
new/Encode-JIS2K-0.03/META.yml
--- old/Encode-JIS2K-0.02/META.yml      2005-05-12 09:04:03.000000000 +0200
+++ new/Encode-JIS2K-0.03/META.yml      2015-06-05 05:58:22.000000000 +0200
@@ -1,11 +1,22 @@
-# http://module-build.sourceforge.net/META-spec.html
-#XXXXXXX This is a prototype!!!  It will change in the future!!! XXXXX#
-name:         Encode-JIS2K
-version:      0.02
-version_from: JIS2K.pm
-installdirs:  site
+---
+abstract: unknown
+author:
+  - unknown
+build_requires:
+  ExtUtils::MakeMaker: '0'
+configure_requires:
+  ExtUtils::MakeMaker: '0'
+dynamic_config: 1
+generated_by: 'ExtUtils::MakeMaker version 7.0401, CPAN::Meta::Converter 
version 2.150001'
+license: unknown
+meta-spec:
+  url: http://module-build.sourceforge.net/META-spec-v1.4.html
+  version: '1.4'
+name: Encode-JIS2K
+no_index:
+  directory:
+    - t
+    - inc
 requires:
-    Encode:                        1.41
-
-distribution_type: module
-generated_by: ExtUtils::MakeMaker version 6.17
+  Encode: '1.41'
+version: '0.03'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Encode-JIS2K-0.02/Makefile.PL 
new/Encode-JIS2K-0.03/Makefile.PL
--- old/Encode-JIS2K-0.02/Makefile.PL   2005-05-12 09:03:29.000000000 +0200
+++ new/Encode-JIS2K-0.03/Makefile.PL   2015-06-05 05:58:02.000000000 +0200
@@ -1,5 +1,5 @@
 #
-# $Id: Makefile.PL,v 0.1 2005/05/12 06:59:25 dankogai Exp $
+# $Id: Makefile.PL,v 0.03 2015/06/05 03:57:30 dankogai Exp dankogai $
 #
 use 5.7.2;
 use strict;
@@ -17,14 +17,21 @@
             );
 
 
-my ($enc2xs, $encode_h) = ();
-PATHLOOP:
-for my $d (split /:/, $ENV{PATH}){
-    for my $f (qw/enc2xs enc2xs5.7.3/){
-        my $path = File::Spec->catfile($d, $f);
-        -x $path and $enc2xs = $path and last PATHLOOP;
-    }
+# from perlvar
+use Config;  # first appeared in 5.00307
+my $secure_perl_path = $Config{perlpath};
+if ($^O ne 'VMS') {
+    my $secure_perl_path .= $Config{_exe}
+        unless $secure_perl_path =~ m/$Config{_exe}$/i;
 }
+die "can't determine path to the perl I'm running under"
+    unless ($secure_perl_path);
+use File::Basename qw(dirname);
+my $dpath = dirname $secure_perl_path;
+my ($enc2xs, $encode_h) = ();
+my $enc2xs_fpath = File::Spec->catfile($dpath, 'enc2xs');
+$enc2xs = $enc2xs_fpath
+    if (-x $enc2xs_fpath);
 $enc2xs or die "enc2xs not found!";
 print "enc2xs is $enc2xs\n";
 my %encode_h = ();
@@ -74,7 +81,7 @@
     $self->{'C'} = ["$name.c"];
     # $self->{'H'} = [$self->catfile($self->updir,'encode.h')];
     my %xs;
-    foreach my $table (keys %tables) {
+    foreach my $table (sort keys %tables) {
        push (@{$self->{'C'}},"$table.c");
        # Do NOT add $table.h etc. to H_FILES unless we own up as to how they
        # get built.
@@ -92,7 +99,7 @@
 #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";
@@ -121,7 +128,7 @@
 BOOT:
 {
 END
-    foreach my $table (keys %tables) {
+    foreach my $table (sort keys %tables) {
        print XS qq[#include "${table}.exh"\n];
     }
     print XS "}\n";
@@ -135,14 +142,14 @@
     my $dir  = "."; # $self->catdir('Encode');
     my $str  = "# $name\$(OBJ_EXT) depends on .h and .exh files not .c files - 
but all written by enc2xs\n";
     $str    .= "$name.c : $name.xs ";
-    foreach my $table (keys %tables)
+    foreach my $table (sort keys %tables)
     {
        $str .= " $table.c";
     }
     $str .= "\n\n";
     $str .= "$name\$(OBJ_EXT) : $name.c\n\n";
 
-    foreach my $table (keys %tables)
+    foreach my $table (sort keys %tables)
     {
        my $numlines = 1;
        my $lengthsofar = length($str);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Encode-JIS2K-0.02/lib/Encode/JIS2K/2022JP3.pm 
new/Encode-JIS2K-0.03/lib/Encode/JIS2K/2022JP3.pm
--- old/Encode-JIS2K-0.02/lib/Encode/JIS2K/2022JP3.pm   2005-05-12 
09:03:29.000000000 +0200
+++ new/Encode-JIS2K-0.03/lib/Encode/JIS2K/2022JP3.pm   2015-06-05 
05:57:56.000000000 +0200
@@ -1,7 +1,7 @@
-package Encode::JIS7::2022JP3;
+package Encode::JIS2K::2022JP3;
 use strict;
 
-our $VERSION = do { my @r = (q$Revision: 0.2 $ =~ /\d+/g); sprintf 
"%d."."%02d" x $#r, @r };
+our $VERSION = do { my @r = (q$Revision: 0.03 $ =~ /\d+/g); sprintf 
"%d."."%02d" x $#r, @r };
 
 use Encode qw(:fallbacks);
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Encode-JIS2K-0.02/ucm/euc-jp2k.ucm 
new/Encode-JIS2K-0.03/ucm/euc-jp2k.ucm
--- old/Encode-JIS2K-0.02/ucm/euc-jp2k.ucm      2005-05-12 09:03:29.000000000 
+0200
+++ new/Encode-JIS2K-0.03/ucm/euc-jp2k.ucm      2015-06-05 05:57:48.000000000 
+0200
@@ -1,5 +1,5 @@
 #
-# $Id: euc-jp2k.ucm,v 0.1 2005/05/12 06:59:40 dankogai Exp $
+# $Id: euc-jp2k.ucm,v 0.03 2015/06/05 03:57:30 dankogai Exp dankogai $
 #
 <code_set_name> "euc-jisx0213"
 <mb_cur_min> 1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Encode-JIS2K-0.02/ucm/sjis-2k.ucm 
new/Encode-JIS2K-0.03/ucm/sjis-2k.ucm
--- old/Encode-JIS2K-0.02/ucm/sjis-2k.ucm       2005-05-12 09:03:27.000000000 
+0200
+++ new/Encode-JIS2K-0.03/ucm/sjis-2k.ucm       2015-06-05 05:58:00.000000000 
+0200
@@ -1,5 +1,5 @@
 #
-# $Id: sjis-2k.ucm,v 0.1 2005/05/12 06:59:41 dankogai Exp $
+# $Id: sjis-2k.ucm,v 0.03 2015/06/05 03:57:30 dankogai Exp dankogai $
 #
 <code_set_name> "shiftjisx0213"
 <mb_cur_min> 1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Encode-JIS2K-0.02/ucm/x0213-1.ucm 
new/Encode-JIS2K-0.03/ucm/x0213-1.ucm
--- old/Encode-JIS2K-0.02/ucm/x0213-1.ucm       2005-05-12 09:03:29.000000000 
+0200
+++ new/Encode-JIS2K-0.03/ucm/x0213-1.ucm       2015-06-05 05:57:57.000000000 
+0200
@@ -1,5 +1,5 @@
 #
-# $Id: x0213-1.ucm,v 0.1 2005/05/12 06:59:43 dankogai Exp $
+# $Id: x0213-1.ucm,v 0.03 2015/06/05 03:57:30 dankogai Exp dankogai $
 #
 <code_set_name>  "jis0213-1-raw"
 <mb_cur_min> 1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Encode-JIS2K-0.02/ucm/x0213-2.ucm 
new/Encode-JIS2K-0.03/ucm/x0213-2.ucm
--- old/Encode-JIS2K-0.02/ucm/x0213-2.ucm       2005-05-12 09:03:29.000000000 
+0200
+++ new/Encode-JIS2K-0.03/ucm/x0213-2.ucm       2015-06-05 05:57:55.000000000 
+0200
@@ -1,5 +1,5 @@
 #
-# $Id: x0213-2.ucm,v 0.1 2005/05/12 06:59:44 dankogai Exp $
+# $Id: x0213-2.ucm,v 0.03 2015/06/05 03:57:30 dankogai Exp dankogai $
 #
 <code_set_name>  "jis0213-2-raw"
 <mb_cur_min> 1


Reply via email to