[perl-Test-Most/epel7] Revert to version 0.23

Paul Howarth pghmcfc at fedoraproject.org
Mon Jan 20 22:18:45 UTC 2014


commit db00186f2212f06122d97230cd61b2adc1206be4
Author: Paul Howarth <paul at city-fan.org>
Date:   Mon Jan 20 22:17:45 2014 +0000

    Revert to version 0.23
    
    This is the last version that didn't require Test::Differences 0.61;
    EL-7 has Test::Differences 0.5000, which in perl terms is older.

 .gitignore          |    3 --
 perl-Test-Most.spec |   61 +++++++++++++-------------------------------------
 sources             |    2 +-
 3 files changed, 17 insertions(+), 49 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 52b2fa0..a331c36 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,2 @@
 Test-Most-0.21.tar.gz
 /Test-Most-0.23.tar.gz
-/Test-Most-0.24.tar.gz
-/Test-Most-0.25.tar.gz
-/Test-Most-0.31.tar.gz
diff --git a/perl-Test-Most.spec b/perl-Test-Most.spec
index 9dbe6f6..aed565b 100644
--- a/perl-Test-Most.spec
+++ b/perl-Test-Most.spec
@@ -1,31 +1,24 @@
 Name:           perl-Test-Most
-Version:        0.31
+Version:        0.23
 Release:        2%{?dist}
 Summary:        Perl module with test functions and features
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Test-Most/
 Source0:        http://www.cpan.org/authors/id/O/OV/OVID/Test-Most-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
-BuildRequires:  perl(base)
-BuildRequires:  perl(Carp)
-BuildRequires:  perl(Data::Dumper)
 BuildRequires:  perl(Data::Dumper::Names) >= 0.03
-BuildRequires:  perl(Exporter)
 BuildRequires:  perl(Exception::Class) >= 1.14
-BuildRequires:  perl(lib)
 BuildRequires:  perl(Module::Build)
-BuildRequires:  perl(Test::Builder)
-BuildRequires:  perl(Test::Builder::Module)
 BuildRequires:  perl(Test::Deep) >= 0.106
-BuildRequires:  perl(Test::Differences) >= 0.61
-BuildRequires:  perl(Test::Exception) >= 0.31
-BuildRequires:  perl(Test::Harness) >= 3.21
+BuildRequires:  perl(Test::Differences) 
+BuildRequires:  perl(Test::Exception) >= 0.29
+BuildRequires:  perl(Test::Harness) >= 3.07
 BuildRequires:  perl(Test::More) >= 0.88
-BuildRequires:  perl(Test::Warn) >= 0.23
+BuildRequires:  perl(Test::Warn) >= 0.11
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 # not automatically detected
-Requires:       perl(Carp)
 Requires:       perl(Test::Deep)
 Requires:       perl(Test::Differences)
 Requires:       perl(Test::Exception)
@@ -45,48 +38,26 @@ control over your test suite.
 ./Build
 
 %install
-./Build install destdir=%{buildroot} create_packlist=0
-find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
-%{_fixperms} %{buildroot}/*
+rm -rf $RPM_BUILD_ROOT
+
+./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
 ./Build test
 
+%clean
+rm -rf $RPM_BUILD_ROOT
+
 %files
+%defattr(-,root,root,-)
 %doc Changes README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
-* Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.31-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
-
-* Thu Sep 13 2012 Jitka Plesnikova <jplesnik at redhat.com> - 0.31-1
-- 0.31 bump
-- Specify all dependencies.
-
-* Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.25-4
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
-
-* Thu Jun 14 2012 Petr Pisar <ppisar at redhat.com> - 0.25-3
-- Perl 5.16 rebuild
-
-* Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.25-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
-
-* Thu Aug 18 2011 Petr Sabata <contyk at redhat.com> - 0.25-1
-- 0.25 bump
-
-* Tue Jul 26 2011 Petr Sabata <contyk at redhat.com> - 0.24-1
-- 0.24 bump
-- Removing now obsolete Buildroot and defattr
-
-* Wed Jun 29 2011 Marcela Mašláňová <mmaslano at redhat.com> - 0.23-4
-- Perl mass rebuild
-
-* Wed Feb 09 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.23-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
-
 * Tue Dec 07 2010 Iain Arnell <iarnell at gmail.com> 0.23-2
 - add explicit requires that are no longer automatically detected
 
diff --git a/sources b/sources
index e3798b1..fd57985 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-6be4f2f97858c7958a837cfbc2a22fba  Test-Most-0.31.tar.gz
+e36de54581fa2248c37f9e30e814769c  Test-Most-0.23.tar.gz


More information about the scm-commits mailing list