[perl-Dist-CheckConflicts] Update to 0.10

Paul Howarth pghmcfc at fedoraproject.org
Wed Dec 18 11:32:46 UTC 2013


commit 17e8e2459a219b2673a688585986f5384d62d157
Author: Paul Howarth <paul at city-fan.org>
Date:   Wed Dec 18 11:32:13 2013 +0000

    Update to 0.10
    
    - New upstream release 0.10
      - We need Module::Runtime 0.009 for module_notional_filename (#6)
    - Update patch for building with Test::More < 0.88
    - Drop %defattr, redundant since rpm 4.4

 ...> Dist-CheckConflicts-0.10-old-Test::More.patch |   16 ++++++++++++++++
 perl-Dist-CheckConflicts.spec                      |   20 +++++++++++++-------
 sources                                            |    2 +-
 3 files changed, 30 insertions(+), 8 deletions(-)
---
diff --git a/Dist-CheckConflicts-0.08-old-Test::More.patch b/Dist-CheckConflicts-0.10-old-Test::More.patch
similarity index 85%
rename from Dist-CheckConflicts-0.08-old-Test::More.patch
rename to Dist-CheckConflicts-0.10-old-Test::More.patch
index 56e2a8b..f8da3e1 100644
--- a/Dist-CheckConflicts-0.08-old-Test::More.patch
+++ b/Dist-CheckConflicts-0.10-old-Test::More.patch
@@ -110,3 +110,19 @@
  }
  
 -done_testing;
+--- xt/release/no-tabs.t
++++ xt/release/no-tabs.t
+@@ -3,7 +3,7 @@ use warnings;
+ 
+ # this test was generated with Dist::Zilla::Plugin::NoTabsTests 0.05
+ 
+-use Test::More 0.88;
++use Test::More tests => 1;
+ use Test::NoTabs;
+ 
+ my @files = (
+@@ -11,4 +11,3 @@ my @files = (
+ );
+ 
+ notabs_ok($_) foreach @files;
+-done_testing;
diff --git a/perl-Dist-CheckConflicts.spec b/perl-Dist-CheckConflicts.spec
index 9aaaffd..640e8d1 100644
--- a/perl-Dist-CheckConflicts.spec
+++ b/perl-Dist-CheckConflicts.spec
@@ -2,14 +2,14 @@
 %global old_test_more %(perl -MTest::More -e 'print (($Test::More::VERSION < 0.88) ? 1 : 0);' 2>/dev/null || echo 0)
 
 Name:		perl-Dist-CheckConflicts
-Version:	0.09
-Release:	3%{?dist}
+Version:	0.10
+Release:	1%{?dist}
 Summary:	Declare version conflicts for your dist
 Group:		Development/Libraries
 License:	GPL+ or Artistic
 URL:		http://search.cpan.org/dist/Dist-CheckConflicts/
 Source0:	http://search.cpan.org/CPAN/authors/id/D/DO/DOY/Dist-CheckConflicts-%{version}.tar.gz
-Patch0:		Dist-CheckConflicts-0.08-old-Test::More.patch
+Patch0:		Dist-CheckConflicts-0.10-old-Test::More.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
 BuildArch:	noarch
 # Module Build
@@ -19,12 +19,13 @@ BuildRequires:	perl(base)
 BuildRequires:	perl(Carp)
 BuildRequires:	perl(Exporter)
 BuildRequires:	perl(List::MoreUtils) >= 0.12
-BuildRequires:	perl(Module::Runtime)
+BuildRequires:	perl(Module::Runtime) >= 0.009
 BuildRequires:	perl(strict)
 BuildRequires:	perl(warnings)
 # Test Suite
-BuildRequires:	perl(File::Find)
-BuildRequires:	perl(File::Temp)
+BuildRequires:	perl(File::Spec)
+BuildRequires:	perl(IO::Handle)
+BuildRequires:	perl(IPC::Open3)
 BuildRequires:	perl(lib)
 BuildRequires:	perl(Test::Fatal)
 BuildRequires:	perl(Test::More) >= 0.47
@@ -81,12 +82,17 @@ make test TEST_FILES="$(echo $(find xt/ -name '*.t'))"
 rm -rf %{buildroot}
 
 %files
-%defattr(-,root,root,-)
 %doc Changes LICENSE README
 %{perl_vendorlib}/Dist/
 %{_mandir}/man3/Dist::CheckConflicts.3pm*
 
 %changelog
+* Wed Dec 18 2013 Paul Howarth <paul at city-fan.org> - 0.10-1
+- Update to 0.10
+  - We need Module::Runtime 0.009 for module_notional_filename (#6)
+- Update patch for building with Test::More < 0.88
+- Drop %%defattr, redundant since rpm 4.4
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.09-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
diff --git a/sources b/sources
index a887591..3e056a5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-2e298121df2d0dc134c36f16d5877233  Dist-CheckConflicts-0.09.tar.gz
+421fd89a8f888d2a3411754da1c384a8  Dist-CheckConflicts-0.10.tar.gz



More information about the perl-devel mailing list