[perl-Test-SharedFork] - Update to 0.16. - Abandon perl-Test-SharedFork-tests. - Spec file overhaul.

corsepiu corsepiu at fedoraproject.org
Fri Feb 18 11:49:01 UTC 2011


commit 39a29195c1419895ec37bb456856f778809d21da
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date:   Fri Feb 18 12:48:51 2011 +0100

    - Update to 0.16.
    - Abandon perl-Test-SharedFork-tests.
    - Spec file overhaul.

 .gitignore                |    1 +
 perl-Test-SharedFork.spec |   21 +++++++++++----------
 sources                   |    2 +-
 3 files changed, 13 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index a52291f..d49a5b8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 Test-SharedFork-0.11.tar.gz
 /Test-SharedFork-0.15.tar.gz
+/Test-SharedFork-0.16.tar.gz
diff --git a/perl-Test-SharedFork.spec b/perl-Test-SharedFork.spec
index 40c3958..2fe9855 100644
--- a/perl-Test-SharedFork.spec
+++ b/perl-Test-SharedFork.spec
@@ -1,12 +1,12 @@
 Name:           perl-Test-SharedFork
 Summary:        Fork test
-Version:        0.15
-Release:        4%{?dist}
+Version:        0.16
+Release:        1%{?dist}
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 Source0:        http://search.cpan.org/CPAN/authors/id/T/TO/TOKUHIROM/Test-SharedFork-%{version}.tar.gz 
 URL:            http://search.cpan.org/dist/Test-SharedFork
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 BuildArch:      noarch
 
@@ -14,7 +14,9 @@ BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.42
 BuildRequires:  perl(Test::More) >= 0.88
 
 %{?perl_default_filter}
-%{?perl_default_subpackage_tests}
+
+Obsoletes: perl-Test-SharedFork-tests <= %{version}-%{release}
+Provides: perl-Test-SharedFork-tests = %{version}-%{release}
 
 %description
 Test::SharedFork is utility module for Test::Builder. It manages testing
@@ -28,8 +30,6 @@ by keeping the test count consistent between parent and child processes.
 make %{?_smp_mflags}
 
 %install
-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 ';'
@@ -39,10 +39,6 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
 %check
 make test
 
-
-%clean
-rm -rf %{buildroot}
-
 %files
 %defattr(-,root,root,-)
 %doc Changes README
@@ -50,6 +46,11 @@ rm -rf %{buildroot}
 %{_mandir}/man3/*.3*
 
 %changelog
+* Fri Feb 18 2011 Ralf Corsepius <corsepiu at fedoraproject.org> - 0.16-1
+- Update to 0.16.
+- Abandon perl-Test-SharedFork-tests.
+- Spec file overhaul.
+
 * Wed Feb 09 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.15-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
diff --git a/sources b/sources
index f1e8cbe..b3be378 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-b183e8f154a5e6a813249d10543aab50  Test-SharedFork-0.15.tar.gz
+ee0469b14d48bbd651f2ec5465f61a52  Test-SharedFork-0.16.tar.gz



More information about the perl-devel mailing list