Hello community,

here is the log from the commit of package perl-Test-Taint for openSUSE:Factory 
checked in at 2019-06-14 20:42:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Test-Taint (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Test-Taint.new.4811 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Test-Taint"

Fri Jun 14 20:42:51 2019 rev:11 rq:709927 version:1.08

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Test-Taint/perl-Test-Taint.changes  
2018-10-11 11:58:02.897825467 +0200
+++ 
/work/SRC/openSUSE:Factory/.perl-Test-Taint.new.4811/perl-Test-Taint.changes    
    2019-06-14 20:42:53.962342082 +0200
@@ -1,0 +2,12 @@
+Thu Jun 13 05:38:41 UTC 2019 - Stephan Kulow <[email protected]>
+
+- updated to 1.08
+   see /usr/share/doc/packages/perl-Test-Taint/Changes
+
+  1.08    Wed Jun 12 15:01:48 CDT 2019
+          [FIXES]
+          Fixed intermittent failures in the test suite.  Thanks, Petr
+          Pisar. (RT #119897)
+- obsoletes 
Test-Taint-1.06-Test-taintedness-on-X-instead-of-environment-variabl.patch
+
+-------------------------------------------------------------------

Old:
----
  Test-Taint-1.06-Test-taintedness-on-X-instead-of-environment-variabl.patch
  Test-Taint-1.06.tar.gz

New:
----
  Test-Taint-1.08.tar.gz
  cpanspec.yml

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

Other differences:
------------------
++++++ perl-Test-Taint.spec ++++++
--- /var/tmp/diff_new_pack.1jnvpn/_old  2019-06-14 20:42:54.550341084 +0200
+++ /var/tmp/diff_new_pack.1jnvpn/_new  2019-06-14 20:42:54.554341077 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Test-Taint
 #
-# Copyright (c) 2013 SUSE LINUX Products 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-Test-Taint
-Version:        1.06
+Version:        1.08
 Release:        0
 %define cpan_name Test-Taint
 Summary:        Tools to test taintedness
-License:        GPL-1.0+ or Artistic-1.0
+License:        Artistic-1.0 OR GPL-1.0-or-later
 Group:          Development/Libraries/Perl
 Url:            https://metacpan.org/release/%{cpan_name}
-Source:         
https://cpan.metacpan.org/authors/id/P/PE/PETDANCE/%{cpan_name}-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM Random failure  
https://rt.cpan.org/Public/Bug/Display.html?id=119897
-Patch1:         
https://rt.cpan.org/Ticket/Attachment/1699180/912509/Test-Taint-1.06-Test-taintedness-on-X-instead-of-environment-variabl.patch
+Source0:        
https://cpan.metacpan.org/authors/id/P/PE/PETDANCE/%{cpan_name}-%{version}.tar.gz
+Source1:        cpanspec.yml
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
 BuildRequires:  perl-macros
@@ -35,17 +34,16 @@
 %description
 Tainted data is data that comes from an unsafe source, such as the command
 line, or, in the case of web apps, any GET or POST transactions. Read the
-the perlsec manpage man page for details on why tainted data is bad, and
-how to untaint the data.
+perlsec man page for details on why tainted data is bad, and how to untaint
+the data.
 
 When you're writing unit tests for code that deals with tainted data,
 you'll want to have a way to provide tainted data for your routines to
 handle, and easy ways to check and report on the taintedness of your data,
-in standard the Test::More manpage style.
+in standard Test::More style.
 
 %prep
 %setup -q -n %{cpan_name}-%{version}
-%patch1 -p1
 
 %build
 perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"

++++++ Test-Taint-1.06.tar.gz -> Test-Taint-1.08.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Taint-1.06/Changes new/Test-Taint-1.08/Changes
--- old/Test-Taint-1.06/Changes 2012-10-19 18:30:43.000000000 +0200
+++ new/Test-Taint-1.08/Changes 2019-06-12 22:06:20.000000000 +0200
@@ -1,5 +1,11 @@
 Revision history for Perl extension Test::Taint
 
+1.08    Wed Jun 12 15:01:48 CDT 2019
+        [FIXES]
+        Fixed intermittent failures in the test suite.  Thanks, Petr
+        Pisar. (RT #119897)
+
+
 1.06    Fri Oct 19 11:30:31 CDT 2012
         [ENHANCEMENTS]
         tainted() now localizes $SIG{__DIE__} before performing the
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Taint-1.06/META.json 
new/Test-Taint-1.08/META.json
--- old/Test-Taint-1.06/META.json       2012-10-19 18:31:16.000000000 +0200
+++ new/Test-Taint-1.08/META.json       2019-06-12 22:06:51.000000000 +0200
@@ -4,7 +4,7 @@
       "unknown"
    ],
    "dynamic_config" : 1,
-   "generated_by" : "ExtUtils::MakeMaker version 6.62, CPAN::Meta::Converter 
version 2.112621",
+   "generated_by" : "ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter 
version 2.143240",
    "license" : [
       "unknown"
    ],
@@ -22,26 +22,31 @@
    "prereqs" : {
       "build" : {
          "requires" : {
-            "ExtUtils::MakeMaker" : 0
+            "ExtUtils::MakeMaker" : "0"
          }
       },
       "configure" : {
          "requires" : {
-            "ExtUtils::MakeMaker" : 0
+            "ExtUtils::MakeMaker" : "0"
          }
       },
       "runtime" : {
          "requires" : {
-            "Scalar::Util" : 0,
-            "Test::Builder" : 0,
-            "Test::More" : 0,
-            "Tie::Array" : 0,
-            "Tie::Hash" : 0,
-            "Tie::Scalar" : 0,
-            "overload" : 0
+            "Scalar::Util" : "0",
+            "Test::Builder" : "0",
+            "Test::More" : "0",
+            "Tie::Array" : "0",
+            "Tie::Hash" : "0",
+            "Tie::Scalar" : "0",
+            "overload" : "0"
          }
       }
    },
    "release_status" : "stable",
-   "version" : "1.06"
+   "resources" : {
+      "repository" : {
+         "url" : "https://github.com/petdance/test-taint";
+      }
+   },
+   "version" : "1.08"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Taint-1.06/META.yml new/Test-Taint-1.08/META.yml
--- old/Test-Taint-1.06/META.yml        2012-10-19 18:31:16.000000000 +0200
+++ new/Test-Taint-1.08/META.yml        2019-06-12 22:06:51.000000000 +0200
@@ -3,26 +3,28 @@
 author:
   - unknown
 build_requires:
-  ExtUtils::MakeMaker: 0
+  ExtUtils::MakeMaker: '0'
 configure_requires:
-  ExtUtils::MakeMaker: 0
+  ExtUtils::MakeMaker: '0'
 dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 6.62, CPAN::Meta::Converter version 
2.112621'
+generated_by: 'ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter version 
2.143240'
 license: unknown
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
-  version: 1.4
+  version: '1.4'
 name: Test-Taint
 no_index:
   directory:
     - t
     - inc
 requires:
-  Scalar::Util: 0
-  Test::Builder: 0
-  Test::More: 0
-  Tie::Array: 0
-  Tie::Hash: 0
-  Tie::Scalar: 0
-  overload: 0
-version: 1.06
+  Scalar::Util: '0'
+  Test::Builder: '0'
+  Test::More: '0'
+  Tie::Array: '0'
+  Tie::Hash: '0'
+  Tie::Scalar: '0'
+  overload: '0'
+resources:
+  repository: https://github.com/petdance/test-taint
+version: '1.08'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Taint-1.06/Makefile.PL 
new/Test-Taint-1.08/Makefile.PL
--- old/Test-Taint-1.06/Makefile.PL     2012-10-19 17:46:47.000000000 +0200
+++ new/Test-Taint-1.08/Makefile.PL     2019-06-12 21:56:31.000000000 +0200
@@ -3,7 +3,7 @@
 use warnings FATAL => 'all';
 use ExtUtils::MakeMaker;
 
-WriteMakefile(
+my %parms = (
     NAME                => 'Test::Taint',
     VERSION_FROM        => 'Taint.pm',
     ABSTRACT            => "Checks for taintedness of variables",
@@ -20,6 +20,16 @@
     clean               => { FILES => 'Test-Taint-*' },
 );
 
+if ( $ExtUtils::MakeMaker::VERSION ge '6.46' ) {
+    $parms{META_MERGE} = {
+        resources => {
+            repository  => 'https://github.com/petdance/test-taint',
+        }
+    };
+}
+
+WriteMakefile( %parms );
+
 sub MY::postamble {
     return <<'MAKE';
 .PHONY: critic
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Taint-1.06/Taint.pm new/Test-Taint-1.08/Taint.pm
--- old/Test-Taint-1.06/Taint.pm        2012-10-19 18:26:21.000000000 +0200
+++ new/Test-Taint-1.08/Taint.pm        2019-06-12 22:06:20.000000000 +0200
@@ -9,12 +9,12 @@
 
 =head1 VERSION
 
-Version 1.06
+Version 1.08
 
 =cut
 
 use vars qw( $VERSION );
-$VERSION = "1.06";
+$VERSION = '1.08';
 
 =head1 SYNOPSIS
 
@@ -281,7 +281,7 @@
 sense to, so they will B<not> be tainted by this function.
 
 Some C<tie>d and magical variables may fail to be tainted by this routine,
-try as it may.)
+try as it may.
 
 =cut
 
@@ -357,7 +357,7 @@
 
 =head1 COPYRIGHT
 
-Copyright 2004, Andy Lester, All Rights Reserved.
+Copyright 2004-2019, Andy Lester.
 
 You may use, modify, and distribute this package under the
 same terms as Perl itself.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Taint-1.06/t/tainted.t 
new/Test-Taint-1.08/t/tainted.t
--- old/Test-Taint-1.06/t/tainted.t     2012-10-19 18:00:53.000000000 +0200
+++ new/Test-Taint-1.08/t/tainted.t     2019-06-12 22:06:20.000000000 +0200
@@ -7,11 +7,8 @@
 
 use Test::Taint;
 
-my @keys = keys %ENV;
-my $key = shift @keys;
-
 taint_checking_ok();
-ok( tainted($ENV{$key}), "\$ENV{$key} is tainted" );
+ok( tainted($^X), '$^X is tainted' );
 
 my $foo = 43;
 ok( !tainted($foo), '43 is not tainted' );
@@ -21,7 +18,7 @@
 
     local $SIG{__DIE__} = sub { $counter++ };
 
-    ok( tainted($ENV{$key}), "\$ENV{$key} is tainted" );
+    ok( tainted($^X), '$^X is tainted' );
     is($counter, 0, 'counter was not incremented (our die did not fire)');
 
     eval { die 'validly' };
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Taint-1.06/t/tainted_ok.t 
new/Test-Taint-1.08/t/tainted_ok.t
--- old/Test-Taint-1.06/t/tainted_ok.t  2012-10-19 18:00:32.000000000 +0200
+++ new/Test-Taint-1.08/t/tainted_ok.t  2019-06-12 22:06:20.000000000 +0200
@@ -5,11 +5,8 @@
 
 use Test::Taint tests=>3;
 
-my @keys = keys %ENV;
-my $key = shift @keys;
-
 taint_checking_ok();
-tainted_ok( $ENV{$key}, "\$ENV{$key} is tainted" );
+tainted_ok( $^X, '$^X is tainted' );
 
 my $foo = 43;
 untainted_ok( $foo );

++++++ cpanspec.yml ++++++
---
#description_paragraphs: 3
#description: |-
#  override description from CPAN
#summary: override summary from CPAN
#no_testing: broken upstream
#sources:
#  - source1
#  - source2
#patches:
#  foo.patch: -p1
#  bar.patch:
#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

Reply via email to