diff --git a/File-Find-Rule-0.33.tar.gz b/File-Find-Rule-0.33.tar.gz deleted file mode 100644 index 1d9e512..0000000 --- a/File-Find-Rule-0.33.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2417752b1eb61774938a67d6f211fbb80eecb3146bf0a0c8699939912559e370 -size 15207 diff --git a/File-Find-Rule-0.34.tar.gz b/File-Find-Rule-0.34.tar.gz new file mode 100644 index 0000000..f088dd8 --- /dev/null +++ b/File-Find-Rule-0.34.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7e6f16cc33eb1f29ff25bee51d513f4b8a84947bbfa18edb2d3cc40a2d64cafe +size 16165 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..9b7ec50 --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,23 @@ +--- +#description_paragraphs: 3 +#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_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 diff --git a/perl-File-Find-Rule.changes b/perl-File-Find-Rule.changes index f03dc9b..a161081 100644 --- a/perl-File-Find-Rule.changes +++ b/perl-File-Find-Rule.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +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. + ------------------------------------------------------------------- Wed Sep 21 01:33:36 UTC 2011 - vcizek@suse.com diff --git a/perl-File-Find-Rule.spec b/perl-File-Find-Rule.spec index 321b1dd..04c7074 100644 --- a/perl-File-Find-Rule.spec +++ b/perl-File-Find-Rule.spec @@ -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 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