Hello community,

here is the log from the commit of package perl-Test-CheckManifest for 
openSUSE:Factory checked in at 2018-02-09 15:47:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Test-CheckManifest (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Test-CheckManifest.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Test-CheckManifest"

Fri Feb  9 15:47:00 2018 rev:2 rq:573949 version:1.33

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/perl-Test-CheckManifest/perl-Test-CheckManifest.changes
  2017-06-26 15:52:11.124320030 +0200
+++ 
/work/SRC/openSUSE:Factory/.perl-Test-CheckManifest.new/perl-Test-CheckManifest.changes
     2018-02-09 15:47:00.748540810 +0100
@@ -1,0 +2,16 @@
+Wed Feb  7 17:23:23 UTC 2018 - co...@suse.com
+
+- updated to 1.33
+   see /usr/share/doc/packages/perl-Test-CheckManifest/Changes
+
+  1.33  2018-01-26
+  
+        [INTERNAL]
+        * Auto generate META.json using dzil plugin [MetaJSON] (github #8, 
thanks to manwar)
+  
+  1.32  2018-01-26
+  
+        [BUGFIX]
+        * ok_manifest reports duplicate files on internal symlinks (github #7)
+
+-------------------------------------------------------------------

Old:
----
  Test-CheckManifest-1.31.tar.gz

New:
----
  Test-CheckManifest-1.33.tar.gz

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

Other differences:
------------------
++++++ perl-Test-CheckManifest.spec ++++++
--- /var/tmp/diff_new_pack.yrI1At/_old  2018-02-09 15:47:01.400517397 +0100
+++ /var/tmp/diff_new_pack.yrI1At/_new  2018-02-09 15:47:01.400517397 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Test-CheckManifest
 #
-# Copyright (c) 2017 SUSE LINUX 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
@@ -17,7 +17,7 @@
 
 
 Name:           perl-Test-CheckManifest
-Version:        1.31
+Version:        1.33
 Release:        0
 %define cpan_name Test-CheckManifest
 Summary:        Check if your Manifest matches your distro

++++++ Test-CheckManifest-1.31.tar.gz -> Test-CheckManifest-1.33.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-CheckManifest-1.31/Changes 
new/Test-CheckManifest-1.33/Changes
--- old/Test-CheckManifest-1.31/Changes 2017-04-21 16:08:36.000000000 +0200
+++ new/Test-CheckManifest-1.33/Changes 2018-01-26 13:42:10.000000000 +0100
@@ -1,6 +1,16 @@
 Revision history for Perl extension Test::CheckManifest.
 ========================================================
 
+1.33  2018-01-26
+
+      [INTERNAL]
+      * Auto generate META.json using dzil plugin [MetaJSON] (github #8, 
thanks to manwar)
+
+1.32  2018-01-26
+
+      [BUGFIX]
+      * ok_manifest reports duplicate files on internal symlinks (github #7)
+
 1.31  2017-04-21
 
       [IMPROVEMENT]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-CheckManifest-1.31/LICENSE 
new/Test-CheckManifest-1.33/LICENSE
--- old/Test-CheckManifest-1.31/LICENSE 2017-04-21 16:08:36.000000000 +0200
+++ new/Test-CheckManifest-1.33/LICENSE 2018-01-26 13:42:10.000000000 +0100
@@ -1,4 +1,4 @@
-This software is Copyright (c) 2015 by Renee Baecker.
+This software is Copyright (c) 2018 by Renee Baecker.
 
 This is free software, licensed under:
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-CheckManifest-1.31/MANIFEST 
new/Test-CheckManifest-1.33/MANIFEST
--- old/Test-CheckManifest-1.31/MANIFEST        2017-04-21 16:08:36.000000000 
+0200
+++ new/Test-CheckManifest-1.33/MANIFEST        2018-01-26 13:42:10.000000000 
+0100
@@ -1,7 +1,8 @@
-# This file was automatically generated by Dist::Zilla::Plugin::Manifest 
v5.043.
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest 
v6.010.
 Changes
 LICENSE
 MANIFEST
+META.json
 META.yml
 Makefile.PL
 README
@@ -12,3 +13,4 @@
 't/file with whitespaces.txt'
 t/testrules.yml
 t/xt/02_issue1.t
+t/xt/03_issue7.t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-CheckManifest-1.31/META.json 
new/Test-CheckManifest-1.33/META.json
--- old/Test-CheckManifest-1.31/META.json       1970-01-01 01:00:00.000000000 
+0100
+++ new/Test-CheckManifest-1.33/META.json       2018-01-26 13:42:10.000000000 
+0100
@@ -0,0 +1,53 @@
+{
+   "abstract" : "Check if your Manifest matches your distro",
+   "author" : [
+      "Renee Baecker <ren...@cpan.org>"
+   ],
+   "dynamic_config" : 0,
+   "generated_by" : "Dist::Zilla version 6.010, CPAN::Meta::Converter version 
2.150005",
+   "license" : [
+      "artistic_2"
+   ],
+   "meta-spec" : {
+      "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec";,
+      "version" : "2"
+   },
+   "name" : "Test-CheckManifest",
+   "prereqs" : {
+      "configure" : {
+         "requires" : {
+            "ExtUtils::MakeMaker" : "0"
+         }
+      },
+      "runtime" : {
+         "requires" : {
+            "Carp" : "0",
+            "Cwd" : "0",
+            "File::Basename" : "0",
+            "File::Find" : "0",
+            "File::Spec" : "0",
+            "Test::Builder" : "0"
+         }
+      },
+      "test" : {
+         "requires" : {
+            "CPAN::Meta::YAML" : "0"
+         }
+      }
+   },
+   "release_status" : "stable",
+   "resources" : {
+      "bugtracker" : {
+         "web" : "http://github.com/reneeb/Test-CheckManifest/issues";
+      },
+      "homepage" : "http://github.com/reneeb/Test-CheckManifest";,
+      "repository" : {
+         "type" : "git",
+         "url" : "http://github.com/reneeb/Test-CheckManifest.git";,
+         "web" : "http://github.com/reneeb/Test-CheckManifest";
+      }
+   },
+   "version" : "1.33",
+   "x_serialization_backend" : "JSON::XS version 3.01"
+}
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-CheckManifest-1.31/META.yml 
new/Test-CheckManifest-1.33/META.yml
--- old/Test-CheckManifest-1.31/META.yml        2017-04-21 16:08:36.000000000 
+0200
+++ new/Test-CheckManifest-1.33/META.yml        2018-01-26 13:42:10.000000000 
+0100
@@ -7,7 +7,7 @@
 configure_requires:
   ExtUtils::MakeMaker: '0'
 dynamic_config: 0
-generated_by: 'Dist::Zilla version 5.043, CPAN::Meta::Converter version 
2.150005'
+generated_by: 'Dist::Zilla version 6.010, CPAN::Meta::Converter version 
2.150005'
 license: artistic_2
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -24,4 +24,5 @@
   bugtracker: http://github.com/reneeb/Test-CheckManifest/issues
   homepage: http://github.com/reneeb/Test-CheckManifest
   repository: http://github.com/reneeb/Test-CheckManifest.git
-version: '1.31'
+version: '1.33'
+x_serialization_backend: 'YAML::Tiny version 1.69'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-CheckManifest-1.31/Makefile.PL 
new/Test-CheckManifest-1.33/Makefile.PL
--- old/Test-CheckManifest-1.31/Makefile.PL     2017-04-21 16:08:36.000000000 
+0200
+++ new/Test-CheckManifest-1.33/Makefile.PL     2018-01-26 13:42:10.000000000 
+0100
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker 
v5.043.
+# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker 
v6.010.
 use strict;
 use warnings;
 
@@ -26,7 +26,7 @@
   "TEST_REQUIRES" => {
     "CPAN::Meta::YAML" => 0
   },
-  "VERSION" => "1.31",
+  "VERSION" => "1.33",
   "test" => {
     "TESTS" => "t/*.t t/extra/*.t t/xt/*.t"
   }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-CheckManifest-1.31/README 
new/Test-CheckManifest-1.33/README
--- old/Test-CheckManifest-1.31/README  2017-04-21 16:08:36.000000000 +0200
+++ new/Test-CheckManifest-1.33/README  2018-01-26 13:42:10.000000000 +0100
@@ -1,16 +1,16 @@
 
 
 This archive contains the distribution Test-CheckManifest,
-version 1.31:
+version 1.33:
 
   Check if your Manifest matches your distro
 
-This software is Copyright (c) 2015 by Renee Baecker.
+This software is Copyright (c) 2018 by Renee Baecker.
 
 This is free software, licensed under:
 
   The Artistic License 2.0 (GPL Compatible)
 
 
-This README file was generated by Dist::Zilla::Plugin::Readme v5.043.
+This README file was generated by Dist::Zilla::Plugin::Readme v6.010.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-CheckManifest-1.31/lib/Test/CheckManifest.pm 
new/Test-CheckManifest-1.33/lib/Test/CheckManifest.pm
--- old/Test-CheckManifest-1.31/lib/Test/CheckManifest.pm       2017-04-21 
16:08:36.000000000 +0200
+++ new/Test-CheckManifest-1.33/lib/Test/CheckManifest.pm       2018-01-26 
13:42:10.000000000 +0100
@@ -12,7 +12,7 @@
 use Test::Builder;
 use File::Find;
 
-our $VERSION = '1.31';
+our $VERSION = '1.33';
 our $VERBOSE = 1;
 
 my $test      = Test::Builder->new();
@@ -130,14 +130,16 @@
         for my $tfile(@files){
             $tfile = (split(/\s{2,}/,$tfile,2))[0];
             next unless -e $home . '/' . $tfile;
-            $tfile = Cwd::realpath($home . '/' . $tfile);
+            $tfile = File::Spec->rel2abs($home . '/' . $tfile);
         }
     
         my (@dir_files,%files_hash,%excluded);
         @files_hash{@files} = ();
     
-        find({no_chdir => 1,
-            wanted   => sub{
+        find({
+            no_chdir => 1,
+            follow   => 0,
+            wanted   => sub {
                 my $file         = $File::Find::name;
                 my $is_excluded  = _is_excluded(
                     $file,
@@ -148,7 +150,7 @@
                     $home,
                 );
                 
-                push(@dir_files,Cwd::realpath($file)) if -f $file and 
!$is_excluded;
+                push(@dir_files,File::Spec->rel2abs($file)) if -f $file and 
!$is_excluded;
                 
                 $excluded{$file} = 1 if -f $file and $is_excluded
             }
@@ -292,7 +294,7 @@
 
 =head1 VERSION
 
-version 1.31
+version 1.33
 
 =head1 SYNOPSIS
 
@@ -389,7 +391,7 @@
 
 =head1 COPYRIGHT AND LICENSE
 
-This software is Copyright (c) 2015 by Renee Baecker.
+This software is Copyright (c) 2018 by Renee Baecker.
 
 This is free software, licensed under:
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-CheckManifest-1.31/t/xt/03_issue7.t 
new/Test-CheckManifest-1.33/t/xt/03_issue7.t
--- old/Test-CheckManifest-1.31/t/xt/03_issue7.t        1970-01-01 
01:00:00.000000000 +0100
+++ new/Test-CheckManifest-1.33/t/xt/03_issue7.t        2018-01-26 
13:42:10.000000000 +0100
@@ -0,0 +1,34 @@
+#!/usr/bin/perl
+
+use strict;
+use warnings;
+
+use Test::More;
+use Test::CheckManifest;
+use IO::File;
+use File::Basename;
+use File::Spec;
+
+SKIP: {
+    skip 'Test not needed on Windows', 1 if $^O =~ /Win32/;
+
+    {
+        my $dir = dirname( File::Spec->rel2abs( __FILE__ ) );
+
+        # create file
+        my $fh_manifest = IO::File->new( $dir . '/MANIFEST', 'w' );
+        $fh_manifest->print( $_ . "\n" ) for (qw/MANIFEST A.txt B.txt 
02_issue1.t 03_issue7.t/);
+        $fh_manifest->close or die $!;
+        
+        # create file
+        my $fh = IO::File->new( $dir . '/A.txt', 'w' );
+        $fh->print( scalar localtime ) or die $!;
+        $fh->close or die $!;
+        
+        # create symlink
+        eval { symlink $dir . '/A.txt', $dir . '/B.txt' };
+
+        ok_manifest({ dir => $dir });
+    }
+
+}


Reply via email to