[perl-Test-TinyMocker] Update to 0.05
Paul Howarth
pghmcfc at fedoraproject.org
Tue Feb 11 13:52:07 UTC 2014
commit 5b8c9b5205a924ebb25cd980206c52e9b53bb25e
Author: Paul Howarth <paul at city-fan.org>
Date: Tue Feb 11 13:52:04 2014 +0000
Update to 0.05
- New upstream release 0.05
- Removed a spurious Unicode space that caused failures in t/pod.t
- Support for mocking of unknown symbols
- Package upstream's new LICENSE file
- Don't need to remove empty directories from the buildroot
- Make %files list more explicit
- Don't use macros for commands
.gitignore | 2 +-
Test-TinyMocker-0.03-SREZIC-01.patch | 26 ----------------------
perl-Test-TinyMocker.spec | 39 ++++++++++++++++++---------------
sources | 2 +-
4 files changed, 23 insertions(+), 46 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 5151ca9..a22f3d6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/Test-TinyMocker-0.03.tar.gz
+/Test-TinyMocker-[0-9.]*.tar.gz
diff --git a/perl-Test-TinyMocker.spec b/perl-Test-TinyMocker.spec
index 70cdb71..f7c9de9 100644
--- a/perl-Test-TinyMocker.spec
+++ b/perl-Test-TinyMocker.spec
@@ -1,23 +1,21 @@
Name: perl-Test-TinyMocker
-Version: 0.03
-Release: 7%{?dist}
+Version: 0.05
+Release: 1%{?dist}
Summary: A very simple tool to mock external modules
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Test-TinyMocker/
Source0: http://www.cpan.org/authors/id/S/SU/SUKRIA/Test-TinyMocker-%{version}.tar.gz
-# Fix typo in the POD, CPAN RT#77680
-Patch0: Test-TinyMocker-0.03-SREZIC-01.patch
BuildArch: noarch
BuildRequires: perl(base)
BuildRequires: perl(Carp)
BuildRequires: perl(Exporter)
-BuildRequires: perl(ExtUtils::MakeMaker)
-BuildRequires: perl(Pod::Coverage)
-BuildRequires: perl(Test::More)
+BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
+BuildRequires: perl(Pod::Coverage) >= 0.18
+BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(Test::Pod)
-BuildRequires: perl(Test::Pod::Coverage)
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+BuildRequires: perl(Test::Pod::Coverage) >= 1.08
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%{?perl_default_filter}
@@ -27,29 +25,34 @@ you simulate some kind of behavior for your tests.
%prep
%setup -q -n Test-TinyMocker-%{version}
-%patch0 -p1
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
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}/*
+%{_fixperms} %{buildroot}
%check
make test
%files
-%doc AUTHORS Changes README
-%{perl_vendorlib}/*
-%{_mandir}/man3/*
+%doc AUTHORS Changes LICENSE README
+%{perl_vendorlib}/Test/
+%{_mandir}/man3/Test::TinyMocker.3pm*
%changelog
+* Tue Feb 11 2014 Paul Howarth <paul at city-fan.org> - 0.05-1
+- Update to 0.05
+ - Removed a spurious Unicode space that caused failures in t/pod.t
+ - Support for mocking of unknown symbols
+- Package upstream's new LICENSE file
+- Don't need to remove empty directories from the buildroot
+- Make %%files list more explicit
+- Don't use macros for commands
+
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.03-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
diff --git a/sources b/sources
index 5deb87c..02203a8 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-7d0e19e423498dab68499252f313c2ae Test-TinyMocker-0.03.tar.gz
+b8c7b60c470ed383b049004a21b78dd9 Test-TinyMocker-0.05.tar.gz
More information about the scm-commits
mailing list