[perl-Test-EOL] Update to 1.0
Paul Howarth
pghmcfc at fedoraproject.org
Thu Jan 5 10:40:59 UTC 2012
commit 022c49db7c256bde3cd8806de23f780413499160
Author: Paul Howarth <paul at city-fan.org>
Date: Thu Jan 5 10:38:18 2012 +0000
Update to 1.0
- New upstream release 1.0
- Fix misleading test failure diagnostics when only issue is trailing
whitespace
- No longer blindly assume utf8 on input files (CPAN RT#59877)
- Properly document testing options
- This release by RIBASUSHI -> update source URL
- Drop upstreamed patch for CPAN RT#59877
- Update patch for building with old ExtUtils::MakeMaker versions
.gitignore | 2 +-
Test-EOL-0.8-old-EU::MM.patch | 30 ------------------------------
Test-EOL-0.9-rt59877.patch | 40 ----------------------------------------
Test-EOL-1.0-old-EU::MM.patch | 30 ++++++++++++++++++++++++++++++
perl-Test-EOL.spec | 35 +++++++++++++++++++++--------------
sources | 2 +-
6 files changed, 53 insertions(+), 86 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 54c76ec..23564ae 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-Test-EOL-0.9.tar.gz
+/Test-EOL-[0-9.]*.tar.gz
diff --git a/Test-EOL-1.0-old-EU::MM.patch b/Test-EOL-1.0-old-EU::MM.patch
new file mode 100644
index 0000000..c7255c3
--- /dev/null
+++ b/Test-EOL-1.0-old-EU::MM.patch
@@ -0,0 +1,30 @@
+--- Test-EOL/Makefile.PL
++++ Test-EOL/Makefile.PL
+@@ -4,7 +4,7 @@
+
+
+
+-use ExtUtils::MakeMaker 6.30;
++use ExtUtils::MakeMaker;
+
+
+
+@@ -17,7 +17,7 @@
+ "Test::More" => 0
+ },
+ "CONFIGURE_REQUIRES" => {
+- "ExtUtils::MakeMaker" => "6.30"
++ "ExtUtils::MakeMaker" => "0"
+ },
+ "DISTNAME" => "Test-EOL",
+ "EXE_FILES" => [],
+@@ -55,6 +55,9 @@
+ delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
+ unless eval { ExtUtils::MakeMaker->VERSION(6.52) };
+
++delete $WriteMakefileArgs{LICENSE}
++ unless eval { ExtUtils::MakeMaker->VERSION(6.31) };
++
+ WriteMakefile(%WriteMakefileArgs);
+
+
diff --git a/perl-Test-EOL.spec b/perl-Test-EOL.spec
index 0d5d29b..026b7c5 100644
--- a/perl-Test-EOL.spec
+++ b/perl-Test-EOL.spec
@@ -1,26 +1,26 @@
-# We don't really need ExtUtils::MakeMaker ≥ 6.31
-%global old_eumm %(perl -MExtUtils::MakeMaker -e 'printf "%d\\n", $ExtUtils::MakeMaker::VERSION < 6.31 ? 1 : 0;' 2>/dev/null || echo 0)
+# 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)
Name: perl-Test-EOL
-Version: 0.9
-Release: 5%{?dist}
+Version: 1.0
+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/F/FL/FLORA/Test-EOL-%{version}.tar.gz
-Patch0: Test-EOL-0.8-old-EU::MM.patch
-Patch1: Test-EOL-0.9-rt59877.patch
+Source0: http://search.cpan.org/CPAN/authors/id/R/RI/RIBASUSHI/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(ExtUtils::MakeMaker)
+# Simplify breaking dependency loops at bootstrap time
+%if 0%{!?perl_bootstrap:1}
+BuildRequires: perl(Pod::Coverage::TrustPod)
+%endif
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::NoTabs)
BuildRequires: perl(Test::Pod)
BuildRequires: perl(Test::Pod::Coverage)
-%if 0%{!?perl_bootstrap:1}
-BuildRequires: perl(Pod::Coverage::TrustPod)
-%endif
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description
@@ -31,14 +31,11 @@ whitespace.
%prep
%setup -q -n Test-EOL-%{version}
-# We don't really need ExtUtils::MakeMaker ≥ 6.31
+# We don't really need ExtUtils::MakeMaker > 6.30
%if %{old_eumm}
%patch0 -p1
%endif
-# Don't assume tested files are UTF-8 encoded (CPAN RT#59877)
-%patch1 -p1
-
%build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
@@ -63,6 +60,16 @@ rm -rf %{buildroot}
%{_mandir}/man3/Test::EOL.3pm*
%changelog
+* Thu Jan 5 2012 Paul Howarth <paul at city-fan.org> 1.0-1
+- Update to 1.0
+ - Fix misleading test failure diagnostics when only issue is trailing
+ whitespace
+ - No longer blindly assume utf8 on input files (CPAN RT#59877)
+ - Properly document testing options
+- This release by RIBASUSHI -> update source URL
+- Drop upstreamed patch for CPAN RT#59877
+- Update patch for building with old ExtUtils::MakeMaker versions
+
* Thu Jun 30 2011 Paul Howarth <paul at city-fan.org> - 0.9-5
- Restore EPEL-4 compatibility
- perl(Pod::Coverage::TrustPod) is available everywhere now
diff --git a/sources b/sources
index 8a63283..7ba0e06 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-b3b4453d0caed2954a93585924ab15f2 Test-EOL-0.9.tar.gz
+38407e5dcc00004693b3ba0afc59d3ae Test-EOL-1.0.tar.gz
More information about the perl-devel
mailing list