diff --git a/Parallel-Scoreboard-0.03.tar.gz b/Parallel-Scoreboard-0.03.tar.gz deleted file mode 100644 index 11c5369..0000000 --- a/Parallel-Scoreboard-0.03.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:49ced2db78e478647cdbd7f77c24d96c2f26d91cd98c31616befe3a709959dc0 -size 60146 diff --git a/Parallel-Scoreboard-0.08.tar.gz b/Parallel-Scoreboard-0.08.tar.gz new file mode 100644 index 0000000..c59311d --- /dev/null +++ b/Parallel-Scoreboard-0.08.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d0b0718e0840bd8ab0c9aac2ea8cafc98de68a67aebb7bc267a5d5b1d2b95951 +size 44504 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..a873cdc --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,28 @@ +--- +#description_paragraphs: 3 +#description: |- +# override description from CPAN +#summary: override summary from CPAN +#no_testing: broken upstream +#sources: +# - source1 +# - source2 +#patches: +# foo.patch: -p1 +# bar.patch: +preamble: |- + BuildRequires: perl(Sub::Uplevel) +#post_prep: |- +# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'` +# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL +#post_build: |- +# rm unused.files +#post_install: |- +# sed on %{name}.files +#license: SUSE-NonFree +#skip_noarch: 1 +#custom_build: |- +#./Build build flags=%{?_smp_mflags} --myflag +#custom_test: |- +#startserver && make test +#ignore_requires: Bizarre::Module diff --git a/perl-Parallel-Scoreboard.changes b/perl-Parallel-Scoreboard.changes index 76041e7..391a2f7 100644 --- a/perl-Parallel-Scoreboard.changes +++ b/perl-Parallel-Scoreboard.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Tue Sep 3 20:12:30 UTC 2019 - Tina Mueller + +- Add manual Sub::Uplevel dependency + +------------------------------------------------------------------- +Wed Apr 3 07:22:15 UTC 2019 - Stephan Kulow + +- updated to 0.08 + see /usr/share/doc/packages/perl-Parallel-Scoreboard/Changes + ------------------------------------------------------------------- Tue Nov 01 10:19:36 CET 2011 - pascal.bleser@opensuse.org diff --git a/perl-Parallel-Scoreboard.spec b/perl-Parallel-Scoreboard.spec index af3fad3..14ab332 100644 --- a/perl-Parallel-Scoreboard.spec +++ b/perl-Parallel-Scoreboard.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Parallel-Scoreboard # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,70 +12,62 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # - Name: perl-Parallel-Scoreboard -Version: 0.03 +Version: 0.08 Release: 0 -Summary: A scoreboard for monitoring status of many workers -Source: http://search.cpan.org/CPAN/authors/id/K/KA/KAZUHO/Parallel-Scoreboard-%{version}.tar.gz -Url: http://search.cpan.org/dist/Parallel-Scoreboard +%define cpan_name Parallel-Scoreboard +Summary: Scoreboard for monitoring status of many workers +License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl -License: GNU General Public License version 2 or later or Artistic (GPLv2+ or Artistic) +Url: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/K/KA/KAZUHO/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml +BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build -%{perl_requires} +BuildRequires: perl BuildRequires: perl-macros -BuildRequires: make -BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42 -BuildRequires: perl(Filter::Util::Call) +BuildRequires: perl(Class::Accessor::Lite) >= 0.05 BuildRequires: perl(HTML::Entities) BuildRequires: perl(JSON) -BuildRequires: perl(Class::Accessor::Lite) >= 0.05 -Requires: perl(Filter::Util::Call) +Requires: perl(Class::Accessor::Lite) >= 0.05 Requires: perl(HTML::Entities) Requires: perl(JSON) -Requires: perl(Class::Accessor::Lite) >= 0.05 -%if 0%{?suse_version} >= 1120 -BuildArch: noarch -%endif +%{perl_requires} +# MANUAL BEGIN +BuildRequires: perl(Sub::Uplevel) +# MANUAL END %description -Parallel::Scoreboard is a pure-perl implementation of a process -scoreboard. By using the module it is easy to create a monitor for many -worker process, like the status module of the Apache HTTP server. +Parallel::Scoreboard is a pure-perl implementation of a process scoreboard. +By using the module it is easy to create a monitor for many worker process, +like the status module of the Apache HTTP server. + Unlike other similar modules, Parallel::Scoreboard is easy to use and has -no limitation on the format or the length of the statuses to be stored. -Any arbitrary data (like JSON or frozen perl object) can be saved by the -worker processes as their status and read from the manager process. +no limitation on the format or the length of the statuses to be stored. Any +arbitrary data (like JSON or frozen perl object) can be saved by the worker +processes as their status and read from the manager process. %prep -%setup -q -n "Parallel-Scoreboard-%{version}" -%__sed -i '/^auto_install/d' Makefile.PL +%setup -q -n %{cpan_name}-%{version} %build -%__perl Makefile.PL PREFIX="%{_prefix}" -%__make %{?_smp_flags} +PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%check +make test %install %perl_make_install %perl_process_packlist +%perl_gen_filelist -%check -%__make test - -%clean -%{?buildroot:%__rm -rf "%{buildroot}"} - -%files -%defattr(-,root,root) +%files -f %{name}.files +%defattr(-,root,root,755) %doc Changes README -%dir %{perl_vendorlib}/Parallel -%{perl_vendorlib}/Parallel/Scoreboard.pm -%{perl_vendorlib}/Parallel/Scoreboard -%doc %{perl_man3dir}/Parallel::Scoreboard.%{perl_man3ext}%{ext_man} -%doc %{perl_man3dir}/Parallel::Scoreboard::*.%{perl_man3ext}%{ext_man} %changelog