corsepiu pushed to perl-File-Find-Rule-Perl (master). "Upstream update. (..more)"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>From 4bc5b9da8d75bd54716a17f852326b66a4421068 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= <corsepiu@xxxxxxxxxxxxxxxxx>
Date: Wed, 15 Apr 2015 13:35:49 +0200
Subject: Upstream update.

- Reflect Source0: having changed.
- Rework spec to reflect upstream changes.

diff --git a/.gitignore b/.gitignore
index 3b83524..c5223f5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/File-Find-Rule-Perl-1.13.tar.gz
+/File-Find-Rule-Perl-1.15.tar.gz
diff --git a/File-Find-Rule-Perl-1.15-fedora.patch b/File-Find-Rule-Perl-1.15-fedora.patch
new file mode 100644
index 0000000..63ffb5b
--- /dev/null
+++ b/File-Find-Rule-Perl-1.15-fedora.patch
@@ -0,0 +1,11 @@
+--- File-Find-Rule-Perl-1.15.orig/t/03_no_index.t	2015-04-05 22:57:10.000000000 +0200
++++ File-Find-Rule-Perl-1.15/t/03_no_index.t	2015-04-15 12:39:45.612810084 +0200
+@@ -38,6 +38,8 @@
+                         MYMETA.json
+ 		};
+ 		my @files = sort grep {
++			! /^(debug|elf).*\.list/
++			and
+ 			! /^debian\b/
+ 			and
+ 			! /(?:^|\W)\.\w/
diff --git a/perl-File-Find-Rule-Perl.spec b/perl-File-Find-Rule-Perl.spec
index 97103a2..17331f7 100644
--- a/perl-File-Find-Rule-Perl.spec
+++ b/perl-File-Find-Rule-Perl.spec
@@ -1,11 +1,13 @@
 Name:           perl-File-Find-Rule-Perl
-Version:        1.13
-Release:        8%{?dist}
+Version:        1.15
+Release:        1%{?dist}
 Summary:        Common rules for searching for Perl things
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/File-Find-Rule-Perl/
-Source0:        http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/File-Find-Rule-Perl-%{version}.tar.gz
+Source0:        http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/File-Find-Rule-Perl-%{version}.tar.gz
+# Filter out the files rpm generates in sourcedir.
+Patch0:         File-Find-Rule-Perl-1.15-fedora.patch
 Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 BuildArch:      noarch
 BuildRequires:  perl(constant)
@@ -19,48 +21,38 @@ BuildRequires:  perl(File::Spec::Unix)
 BuildRequires:  perl(Params::Util) >= 0.38
 BuildRequires:  perl(Parse::CPAN::Meta) >= 1.38
 BuildRequires:  perl(Test::More) >= 0.47
-# For improved tests
-%if !%{defined perl_bootstrap}
-BuildRequires:  perl(Perl::MinimumVersion) >= 1.27
-BuildRequires:  perl(Test::MinimumVersion) >= 0.101080
-BuildRequires:  perl(Test::Pod) >= 1.44
-BuildRequires:  perl(Test::CPAN::Meta) >= 0.17
-%endif
 
 %description
 Common rules for searching for Perl things.
 
 %prep
-%setup -q -T -c
-%setup -q -T -D -a0
+%setup -q -n File-Find-Rule-Perl-%{version}
+%patch0 -p1
 
 %build
-cd File-Find-Rule-Perl-%{version}
 %{__perl} Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
-cd ..
 
 %install
-cd File-Find-Rule-Perl-%{version}
 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-cd ..
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
 find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
 chmod -R u+w $RPM_BUILD_ROOT/*
 
 %check
-%if !%{defined perl_bootstrap}
-cd File-Find-Rule-Perl-%{version}
-make test AUTOMATED_TESTING=1
-cd ..
-%endif
+make test
 
 %files
-%doc File-Find-Rule-Perl-%{version}/Changes File-Find-Rule-Perl-%{version}/LICENSE
+%doc Changes
 %{perl_vendorlib}/File
 %{_mandir}/man3/*
 
 %changelog
+* Wed Apr 15 2015 Ralf Corsépius <corsepiu@xxxxxxxxxxxxxxxxx> - 1.15-1
+- Upstream update.
+- Reflect Source0: having changed.
+- Rework spec to reflect upstream changes.
+
 * Sun Sep 07 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 1.13-8
 - Perl 5.20 re-rebuild of bootstrapped packages
 
diff --git a/sources b/sources
index d5c7949..306a709 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-c3ee4f00f643f82fdb6f1cbcebfa90de  File-Find-Rule-Perl-1.13.tar.gz
+d8b458792b7eed83c744ae30b1bc3348  File-Find-Rule-Perl-1.15.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-File-Find-Rule-Perl.git/commit/?h=master&id=4bc5b9da8d75bd54716a17f852326b66a4421068
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux