[perl-Test-MockTime] Upstream update.

corsepiu corsepiu at fedoraproject.org
Mon Aug 11 12:11:12 UTC 2014


commit 7b6b061fa374ef15ae5b527c31e5a56a97b13012
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date:   Mon Aug 11 14:11:12 2014 +0200

    Upstream update.
    
    - Modernize spec.

 .gitignore              |    2 +-
 perl-Test-MockTime.spec |   16 +++++++---------
 sources                 |    2 +-
 3 files changed, 9 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 9975701..e6b5e4e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-Test-MockTime-0.12.tar.gz
+/Test-MockTime-0.13.tar.gz
diff --git a/perl-Test-MockTime.spec b/perl-Test-MockTime.spec
index 9baebca..4594219 100644
--- a/perl-Test-MockTime.spec
+++ b/perl-Test-MockTime.spec
@@ -1,15 +1,15 @@
 Name:           perl-Test-MockTime
-Version:        0.12
-Release:        14%{?dist}
+Version:        0.13
+Release:        1%{?dist}
 Summary:        Replaces actual time with simulated time
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Test-MockTime/
 Source0:        http://www.cpan.org/authors/id/D/DD/DDICK/Test-MockTime-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Time::Local)
 BuildRequires:  perl(Time::Piece) >= 1.08
 
 # for improved tests
@@ -36,8 +36,6 @@ chmod -x lib/Test/MockTime.pm t/test.t
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
 
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
@@ -48,16 +46,16 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 %check
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root,-)
 %doc Changes
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Mon Aug 11 2014 Ralf Corsépius <corsepiu at fedoraproject.org> - 0.13-1
+- Upstream update.
+- Modernize spec.
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.12-14
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 
diff --git a/sources b/sources
index c339c9e..983213f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-de726192bcdd0cef68a07ffdf11d7300  Test-MockTime-0.12.tar.gz
+937bc5ccb151e90b7749fc83c1680e70  Test-MockTime-0.13.tar.gz



More information about the perl-devel mailing list