[perl-Test-Block] update to 0.13 clean spec
Marcela Mašláňová
mmaslano at fedoraproject.org
Fri Jan 27 09:11:29 UTC 2012
commit 04f4baec0c3a30254f907ed37b07bd47634c9057
Author: Marcela Mašláňová <mmaslano at redhat.com>
Date: Fri Jan 27 10:11:20 2012 +0100
update to 0.13
clean spec
.gitignore | 1 +
perl-Test-Block.spec | 18 ++++++------------
sources | 2 +-
3 files changed, 8 insertions(+), 13 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e040d4d..bd502b2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
Test-Block-0.11.tar.gz
+/Test-Block-0.13.tar.gz
diff --git a/perl-Test-Block.spec b/perl-Test-Block.spec
index 7a06abb..447b39c 100644
--- a/perl-Test-Block.spec
+++ b/perl-Test-Block.spec
@@ -1,14 +1,13 @@
Name: perl-Test-Block
-Version: 0.11
-Release: 10%{?dist}
+Version: 0.13
+Release: 1%{?dist}
# see lib/Test/Block.pm
License: GPL+ or Artistic
Group: Development/Libraries
Summary: Specify fine granularity test plans
Source: http://search.cpan.org/CPAN/authors/id/A/AD/ADIE/Test-Block-%{version}.tar.gz
Url: http://search.cpan.org/dist/Test-Block
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildArch: noarch
@@ -19,9 +18,6 @@ BuildRequires: perl(Test::Builder::Tester) >= 1.01
BuildRequires: perl(Test::Exception) >= 0.15
BuildRequires: perl(Test::More) >= 0.47
-# not picked up due to use base
-Requires: perl(Tie::StdScalar)
-
%description
This module allows you to specify the number of expected tests at a finer
level of granularity than an entire test script. It is built with
@@ -35,8 +31,6 @@ Test::Builder and plays happily with Test::More and friends.
make %{?_smp_mflags}
%install
-rm -rf %{buildroot}
-
make pure_install PERL_INSTALL_ROOT=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
@@ -46,16 +40,16 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
%check
make test
-%clean
-rm -rf %{buildroot}
-
%files
-%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*.3*
%changelog
+* Fri Jan 27 2012 Marcela Mašláňová <mmaslano at redhat.com> - 0.13-1
+- update to 0.13
+- clean spec
+
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.11-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
diff --git a/sources b/sources
index d2c0c3d..9c9a78d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-386a722947f2c77f6157d1dea0338e35 Test-Block-0.11.tar.gz
+f4e289f7f2a333983f1e4d578d82f5a3 Test-Block-0.13.tar.gz
More information about the scm-commits
mailing list