commit perl-File-Find-Rule for openSUSE:Factory
![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community,
here is the log from the commit of package perl-File-Find-Rule for openSUSE:Factory checked in at 2015-12-13 09:38:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-File-Find-Rule (Old)
and /work/SRC/openSUSE:Factory/.perl-File-Find-Rule.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-File-Find-Rule"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-File-Find-Rule/perl-File-Find-Rule.changes 2011-09-23 12:37:03.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-File-Find-Rule.new/perl-File-Find-Rule.changes 2015-12-13 09:38:48.000000000 +0100
@@ -1,0 +2,10 @@
+Sat Dec 5 10:06:05 UTC 2015 - coolo@suse.com
+
+- updated to 0.34
+ see /usr/share/doc/packages/perl-File-Find-Rule/Changes
+
+ 0.34 Thursday 4th December, 2015
+ Add canonpath option to normalize file-path
+ separators. Work by Mithun Ayachit.
+
+-------------------------------------------------------------------
Old:
----
File-Find-Rule-0.33.tar.gz
New:
----
File-Find-Rule-0.34.tar.gz
cpanspec.yml
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-File-Find-Rule.spec ++++++
--- /var/tmp/diff_new_pack.XupE73/_old 2015-12-13 09:38:49.000000000 +0100
+++ /var/tmp/diff_new_pack.XupE73/_new 2015-12-13 09:38:49.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package perl-File-Find-Rule
#
-# Copyright (c) 2011 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
@@ -16,52 +16,47 @@
#
+Name: perl-File-Find-Rule
+Version: 0.34
+Release: 0
%define cpan_name File-Find-Rule
-
-Name: perl-%cpan_name
-Version: 0.33
-Release: 3
-License: GPL-1.0+ or Artistic-1.0
Summary: Alternative interface to File::Find
-Url: http://search.cpan.org/dist/File-Find-Rule/
+License: GPL-1.0+ or Artistic-1.0
Group: Development/Libraries/Perl
-Source: %cpan_name-%{version}.tar.gz
-BuildRequires: perl-Number-Compare
-BuildRequires: perl-Text-Glob
-BuildRequires: perl-macros
-Requires: perl-Number-Compare
-Requires: perl-Text-Glob
-Provides: %cpan_name
+Url: http://search.cpan.org/dist/File-Find-Rule/
+Source0: http://www.cpan.org/authors/id/R/RC/RCLAMP/%{cpan_name}-%{version}.tar.gz
+Source1: cpanspec.yml
+BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildRequires: perl
+BuildRequires: perl-macros
+BuildRequires: perl(Number::Compare)
+BuildRequires: perl(Text::Glob) >= 0.07
+Requires: perl(Number::Compare)
+Requires: perl(Text::Glob) >= 0.07
%{perl_requires}
%description
-File::Find::Rule is a friendlier interface to File::Find. It allows you to build rules which specify the desired files and directories.
+File::Find::Rule is a friendlier interface to File::Find. It allows you to
+build rules which specify the desired files and directories.
%prep
-%setup -q -n %cpan_name-%{version}
+%setup -q -n %{cpan_name}-%{version}
%build
-perl Makefile.PL OPTIMIZE="%{optflags} -Wall"
-make
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+%{__make} %{?_smp_mflags}
%check
-make test
+%{__make} test
%install
-make DESTDIR=%{buildroot} install_vendor
+%perl_make_install
%perl_process_packlist
+%perl_gen_filelist
-%clean
-# clean up the hard disc after build
-rm -rf %{buildroot}
-
-%files
-%defattr(-,root,root)
-%{_bindir}/findrule*
-%doc %{_mandir}/man?/*
-%{perl_vendorlib}/File
-%{perl_vendorarch}/auto/File
-%doc Changes MANIFEST
+%files -f %{name}.files
+%defattr(-,root,root,755)
+%doc Changes findrule
%changelog
++++++ File-Find-Rule-0.33.tar.gz -> File-Find-Rule-0.34.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-Find-Rule-0.33/Changes new/File-Find-Rule-0.34/Changes
--- old/File-Find-Rule-0.33/Changes 2011-09-19 13:54:13.000000000 +0200
+++ new/File-Find-Rule-0.34/Changes 2015-12-03 15:28:02.000000000 +0100
@@ -1,3 +1,7 @@
+0.34 Thursday 4th December, 2015
+ Add canonpath option to normalize file-path
+ separators. Work by Mithun Ayachit.
+
0.33 Monday 19th September, 2011
Fixes the case where name("foo(*") hits an error with mismatched
parentheis. Reported by Jan Engelhardt.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-Find-Rule-0.33/MANIFEST new/File-Find-Rule-0.34/MANIFEST
--- old/File-Find-Rule-0.33/MANIFEST 2011-09-19 13:49:49.000000000 +0200
+++ new/File-Find-Rule-0.34/MANIFEST 2015-12-03 15:30:12.000000000 +0100
@@ -12,3 +12,4 @@
testdir/foobar
testdir/lib/File/Find/Rule/Test/ATeam.pm
findrule
+META.json Module JSON meta-data (added by MakeMaker)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-Find-Rule-0.33/META.json new/File-Find-Rule-0.34/META.json
--- old/File-Find-Rule-0.33/META.json 1970-01-01 01:00:00.000000000 +0100
+++ new/File-Find-Rule-0.34/META.json 2015-12-03 15:30:12.000000000 +0100
@@ -0,0 +1,45 @@
+{
+ "abstract" : "unknown",
+ "author" : [
+ "unknown"
+ ],
+ "dynamic_config" : 1,
+ "generated_by" : "ExtUtils::MakeMaker version 6.66, CPAN::Meta::Converter version 2.133380",
+ "license" : [
+ "unknown"
+ ],
+ "meta-spec" : {
+ "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
+ "version" : "2"
+ },
+ "name" : "File-Find-Rule",
+ "no_index" : {
+ "directory" : [
+ "t",
+ "inc"
+ ]
+ },
+ "prereqs" : {
+ "build" : {
+ "requires" : {
+ "ExtUtils::MakeMaker" : "0"
+ }
+ },
+ "configure" : {
+ "requires" : {
+ "ExtUtils::MakeMaker" : "0"
+ }
+ },
+ "runtime" : {
+ "requires" : {
+ "File::Find" : "0",
+ "File::Spec" : "0",
+ "Number::Compare" : "0",
+ "Test::More" : "0",
+ "Text::Glob" : "0.07"
+ }
+ }
+ },
+ "release_status" : "stable",
+ "version" : "0.34"
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-Find-Rule-0.33/META.yml new/File-Find-Rule-0.34/META.yml
--- old/File-Find-Rule-0.33/META.yml 2011-09-19 13:54:59.000000000 +0200
+++ new/File-Find-Rule-0.34/META.yml 2015-12-03 15:30:12.000000000 +0100
@@ -1,25 +1,26 @@
---- #YAML:1.0
-name: File-Find-Rule
-version: 0.33
-abstract: ~
-author: []
-license: unknown
-distribution_type: module
-configure_requires:
- ExtUtils::MakeMaker: 0
+---
+abstract: unknown
+author:
+ - unknown
build_requires:
- ExtUtils::MakeMaker: 0
-requires:
- File::Find: 0
- File::Spec: 0
- Number::Compare: 0
- Test::More: 0
- Text::Glob: 0.07
-no_index:
- directory:
- - t
- - inc
-generated_by: ExtUtils::MakeMaker version 6.57_05
+ ExtUtils::MakeMaker: 0
+configure_requires:
+ ExtUtils::MakeMaker: 0
+dynamic_config: 1
+generated_by: 'ExtUtils::MakeMaker version 6.66, CPAN::Meta::Converter version 2.133380'
+license: unknown
meta-spec:
- url: http://module-build.sourceforge.net/META-spec-v1.4.html
- version: 1.4
+ url: http://module-build.sourceforge.net/META-spec-v1.4.html
+ version: 1.4
+name: File-Find-Rule
+no_index:
+ directory:
+ - t
+ - inc
+requires:
+ File::Find: 0
+ File::Spec: 0
+ Number::Compare: 0
+ Test::More: 0
+ Text::Glob: 0.07
+version: 0.34
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-Find-Rule-0.33/lib/File/Find/Rule.pm new/File-Find-Rule-0.34/lib/File/Find/Rule.pm
--- old/File-Find-Rule-0.33/lib/File/Find/Rule.pm 2011-09-19 13:54:13.000000000 +0200
+++ new/File-Find-Rule-0.34/lib/File/Find/Rule.pm 2015-12-03 15:27:56.000000000 +0100
@@ -8,7 +8,7 @@
use Carp qw/croak/;
use File::Find (); # we're only wrapping for now
-our $VERSION = '0.33';
+our $VERSION = '0.34';
# we'd just inherit from Exporter, but I want the colon
sub import {
@@ -294,7 +294,7 @@
code => '(' . join( ' || ', map '( ' . $_->_compile . ' )', @_ ). ')',
args => \@_,
};
-
+
# merge all the subs hashes of the kids into ourself
%{ $self->{subs} } = map { %{ $_->{subs} } } $self, @_;
$self;
@@ -323,7 +323,7 @@
args => \@_,
code => '(' . join ( ' && ', map { "!(". $_->_compile . ")" } @_ ) . ")",
};
-
+
# merge all the subs hashes into us
%{ $self->{subs} } = map { %{ $_->{subs} } } $self, @_;
$self;
@@ -485,6 +485,23 @@
$self;
}
+=item C<canonpath>
+
+Normalize paths found using CFile::Spec-canonpath>. This will return paths
+with a file-seperator that is native to your OS (as determined by LFile::Spec),
+ instead of the default C>.
+
+For example, this will return C
participants (1)
-
root@hilbert.suse.de