[perl-Test-EOL] Update to 1.2

Paul Howarth pghmcfc at fedoraproject.org
Fri Jun 15 10:50:03 UTC 2012


commit b6f7dd1e38e7a8bca4162e6613a2606f273b619b
Author: Paul Howarth <paul at city-fan.org>
Date:   Fri Jun 15 11:49:06 2012 +0100

    Update to 1.2
    
    - New upstream release 1.2
      - Fix bad regex matching directories containing 'svn', not just '.svn'
        directories (CPAN RT#75968)
    - BR: perl(Cwd)
    - Drop non-dual-lived buildreqs perl(File::Find) and perl(FindBin)
    - This release by BOBTFISH -> update source URL
    - Remove tabs from bundled Module::Install that break release tests
    - Don't need to remove empty directories from the buildroot
    - Drop %defattr, redundant since rpm 4.4

 perl-Test-EOL.spec |   31 +++++++++++++++++++++----------
 sources            |    2 +-
 2 files changed, 22 insertions(+), 11 deletions(-)
---
diff --git a/perl-Test-EOL.spec b/perl-Test-EOL.spec
index 8ea566b..f183d7e 100644
--- a/perl-Test-EOL.spec
+++ b/perl-Test-EOL.spec
@@ -1,21 +1,20 @@
-# We don't really need ExtUtils::MakeMaker > 6.30
-%global old_eumm %(perl -MExtUtils::MakeMaker -e 'printf "%d\\n", $ExtUtils::MakeMaker::VERSION < 6.30 ? 1 : 0;' 2>/dev/null || echo 0)
+# We don't really need ExtUtils::MakeMaker ≥ 6.30
+%global old_eumm %(perl -MExtUtils::MakeMaker -e 'print (($ExtUtils::MakeMaker::VERSION < 6.30) ? 1 : 0);' 2>/dev/null || echo 0)
 
 Name:		perl-Test-EOL
-Version:	1.1
-Release:	2%{?dist}
+Version:	1.2
+Release:	1%{?dist}
 Summary:	Check the correct line endings in your project
 Group:		Development/Libraries
 License:	GPL+ or Artistic
 URL:		http://search.cpan.org/dist/Test-EOL/
-Source0:	http://search.cpan.org/CPAN/authors/id/R/RI/RIBASUSHI/Test-EOL-%{version}.tar.gz
+Source0:	http://search.cpan.org/CPAN/authors/id/B/BO/BOBTFISH/Test-EOL-%{version}.tar.gz
 Patch0:		Test-EOL-1.0-old-EU::MM.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
 BuildArch:	noarch
+BuildRequires:	perl(Cwd)
 BuildRequires:	perl(ExtUtils::MakeMaker)
-BuildRequires:	perl(File::Find)
 BuildRequires:	perl(File::Spec)
-BuildRequires:	perl(FindBin)
 # Simplify breaking dependency loops at bootstrap time
 %if 0%{!?perl_bootstrap:1}
 BuildRequires:	perl(Pod::Coverage::TrustPod)
@@ -35,11 +34,14 @@ whitespace.
 %prep
 %setup -q -n Test-EOL-%{version}
 
-# We don't really need ExtUtils::MakeMaker > 6.30
+# We don't really need ExtUtils::MakeMaker ≥ 6.30
 %if %{old_eumm}
 %patch0 -p1
 %endif
 
+# Remove tabs from bundled Module::Install that break release tests
+find inc/Module/ -type f -exec sh -c 'expand {} > {}.notabs && mv {}.notabs {}' \;
+
 %build
 perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
@@ -48,7 +50,6 @@ make %{?_smp_mflags}
 rm -rf %{buildroot}
 make pure_install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} \;
-find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null
 %{_fixperms} %{buildroot}
 
 %check
@@ -58,12 +59,22 @@ make test RELEASE_TESTING=1
 rm -rf %{buildroot}
 
 %files
-%defattr(-,root,root,-)
 %doc Changes LICENSE README
 %{perl_vendorlib}/Test/
 %{_mandir}/man3/Test::EOL.3pm*
 
 %changelog
+* Fri Jun 15 2012 Paul Howarth <paul at city-fan.org> 1.2-1
+- Update to 1.2
+  - Fix bad regex matching directories containing 'svn', not just '.svn'
+    directories (CPAN RT#75968)
+- BR: perl(Cwd)
+- Drop non-dual-lived buildreqs perl(File::Find) and perl(FindBin)
+- This release by BOBTFISH -> update source URL
+- Remove tabs from bundled Module::Install that break release tests
+- Don't need to remove empty directories from the buildroot
+- Drop %%defattr, redundant since rpm 4.4
+
 * Wed Jun 13 2012 Petr Pisar <ppisar at redhat.com> - 1.1-2
 - Perl 5.16 rebuild
 
diff --git a/sources b/sources
index 3a0f28c..05385d2 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-daaffe10b30779567def40b22d432aec  Test-EOL-1.1.tar.gz
+4857bc1361a4a251f2eb419f6dfc812c  Test-EOL-1.2.tar.gz


More information about the scm-commits mailing list