[perl-Parallel-Scoreboard/f14/master] - Upstream update. - Add BR: perl(Class::Accessor::Lite), perl(HTML::Entities), perl(JSON).

corsepiu corsepiu at fedoraproject.org
Fri Feb 4 05:48:38 UTC 2011


commit 61093b339fccbd2322e555bc1b58df1a0d5b3fed
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date:   Fri Feb 4 06:48:28 2011 +0100

    - Upstream update.
    - Add BR: perl(Class::Accessor::Lite), perl(HTML::Entities), perl(JSON).

 .gitignore                    |    1 +
 perl-Parallel-Scoreboard.spec |   21 +++++++++++++++------
 sources                       |    2 +-
 3 files changed, 17 insertions(+), 7 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index ee492b5..f040269 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /Parallel-Scoreboard-0.02.tar.gz
+/Parallel-Scoreboard-0.03.tar.gz
diff --git a/perl-Parallel-Scoreboard.spec b/perl-Parallel-Scoreboard.spec
index 02e1e00..cc6d0e7 100644
--- a/perl-Parallel-Scoreboard.spec
+++ b/perl-Parallel-Scoreboard.spec
@@ -1,6 +1,6 @@
 Name:           perl-Parallel-Scoreboard
-Version:        0.02
-Release:        2%{?dist}
+Version:        0.03
+Release:        1%{?dist}
 Summary:        Scoreboard for monitoring status of many processes
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -8,10 +8,14 @@ URL:            http://search.cpan.org/dist/Parallel-Scoreboard/
 Source0:        http://www.cpan.org/authors/id/K/KA/KAZUHO/Parallel-Scoreboard-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
+BuildRequires:  perl(Class::Accessor::Lite) >= 0.05
+BuildRequires:  perl(HTML::Entities)
+BuildRequires:  perl(JSON)
 BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(File::Temp)
 BuildRequires:  perl(Test::More)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(Class::Accessor::Lite) >= 0.05
 
 %description
 Parallel::Scoreboard is a pure-perl implementation of a process scoreboard.
@@ -21,10 +25,11 @@ like the status module of the Apache HTTP server.
 %prep
 %setup -q -n Parallel-Scoreboard-%{version}
 # Remove bundled modules
-rm inc/Test/More.pm inc/File/Temp.pm
-rmdir inc/Test inc/File
-# Remove bundled modules from MANIFEST
-sed -i -e '/inc\/Test\/More\.pm/d' -e '/inc\/File\/Temp\.pm/d' MANIFEST
+for f in inc/Test/More.pm inc/File/Temp.pm; do
+  pat=$(echo "$f" | sed 's,/,\\/,g;s,\.,\\.,g')
+  rm $f
+  sed -i -e "/$pat/d" MANIFEST
+done
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -53,6 +58,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man3/*
 
 %changelog
+* Fri Feb 04 2011 Ralf Corsépius <corsepiu at fedoraproject.org> 0.03-1
+- Upstream update.
+- Add BR: perl(Class::Accessor::Lite), perl(HTML::Entities), perl(JSON).
+
 * Wed Jan 26 2011 Ralf Corsépius <corsepiu at fedoraproject.org> 0.02-2
 - Use system-wide versions of Test/More.pm and File/Temp.pm instead of
   bundled versions.
diff --git a/sources b/sources
index c67e002..8832ced 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-5db0b9f17197824f1f1c11c624857152  Parallel-Scoreboard-0.02.tar.gz
+5012c8b370ed66db603638c83c5506b7  Parallel-Scoreboard-0.03.tar.gz



More information about the perl-devel mailing list