[perl-Test-Fatal] Update to 0.011
Paul Howarth
pghmcfc at fedoraproject.org
Tue Sep 17 09:33:36 UTC 2013
commit a0d97cf90e1a896152e0834d047aa1c04f1732b2
Author: Paul Howarth <paul at city-fan.org>
Date: Tue Sep 17 10:32:05 2013 +0100
Update to 0.011
- New upstream release 0.011
- More clearly (and correctly) document the way NOT to use Test::Fatal
- Try to fix $TODO not working when the user test uses $T::B::Level
- Explicitly run the extra tests
- Package examples directory as documentation
- Don't need to remove empty directories from the buildroot
- Drop %defattr, redundant since rpm 4.4
Test-Fatal-0.008-old-EU::MM.patch | 30 ------------------------------
perl-Test-Fatal.spec | 34 ++++++++++++++++++++--------------
sources | 2 +-
3 files changed, 21 insertions(+), 45 deletions(-)
---
diff --git a/perl-Test-Fatal.spec b/perl-Test-Fatal.spec
index a754db9..eba2853 100644
--- a/perl-Test-Fatal.spec
+++ b/perl-Test-Fatal.spec
@@ -1,22 +1,25 @@
Summary: Incredibly simple helpers for testing code with exceptions
Name: perl-Test-Fatal
-Version: 0.010
-Release: 7%{?dist}
+Version: 0.011
+Release: 1%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
Url: http://search.cpan.org/dist/Test-Fatal/
Source0: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Test-Fatal-%{version}.tar.gz
-Patch0: Test-Fatal-0.008-old-EU::MM.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildArch: noarch
+BuildRequires: perl(blib)
+BuildRequires: perl(Capture::Tiny)
BuildRequires: perl(Carp)
BuildRequires: perl(Exporter) >= 5.57
BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(overload)
BuildRequires: perl(Test::Builder)
BuildRequires: perl(Test::Builder::Tester)
-BuildRequires: perl(Test::More)
-BuildRequires: perl(Test::Pod)
+BuildRequires: perl(Test::More) >= 0.96
+BuildRequires: perl(Test::Pod) >= 1.41
BuildRequires: perl(Try::Tiny) >= 0.07
+BuildRequires: perl(version)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Test::Builder)
@@ -28,11 +31,6 @@ with about the same amount of typing.
%prep
%setup -q -n Test-Fatal-%{version}
-# We don't really need ExtUtils::MakeMaker ≥ 6.30
-%if "%{?rhel}" == "4"
-%patch0 -p1
-%endif
-
%build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
@@ -41,22 +39,30 @@ 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
-make test RELEASE_TESTING=1
+make test
+make test TEST_FILES="$(echo $(find xt/ -name '*.t'))"
%clean
rm -rf %{buildroot}
%files
-%defattr(-,root,root,-)
-%doc Changes LICENSE README
+%doc Changes LICENSE README examples/
%{perl_vendorlib}/Test/
%{_mandir}/man3/Test::Fatal.3pm*
%changelog
+* Tue Sep 17 2013 Paul Howarth <paul at city-fan.org> - 0.011-1
+- Update to 0.011
+ - More clearly (and correctly) document the way NOT to use Test::Fatal
+ - Try to fix $TODO not working when the user test uses $T::B::Level
+- Explicitly run the extra tests
+- Package examples directory as documentation
+- Don't need to remove empty directories from the buildroot
+- Drop %%defattr, redundant since rpm 4.4
+
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.010-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
diff --git a/sources b/sources
index cf9460d..b2f820f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-d8052d4160e8d999cbeb574592f26541 Test-Fatal-0.010.tar.gz
+3e635215d4d9d1f40b8901b7987cadb6 Test-Fatal-0.011.tar.gz
More information about the scm-commits
mailing list