Accepting request 728087 from devel:languages:perl:autoupdate

Automatic update
Add manual dependency Sub::Uplevel

OBS-URL: https://build.opensuse.org/request/show/728087
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Parallel-Scoreboard?expand=0&rev=2
This commit is contained in:
2019-09-04 12:12:11 +00:00
committed by Git OBS Bridge
parent 8b78883429
commit 78cf726736
5 changed files with 75 additions and 44 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:49ced2db78e478647cdbd7f77c24d96c2f26d91cd98c31616befe3a709959dc0
size 60146

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d0b0718e0840bd8ab0c9aac2ea8cafc98de68a67aebb7bc267a5d5b1d2b95951
size 44504

28
cpanspec.yml Normal file
View File

@@ -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

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Tue Sep 3 20:12:30 UTC 2019 - Tina Mueller <tina.mueller@suse.com>
- Add manual Sub::Uplevel dependency
-------------------------------------------------------------------
Wed Apr 3 07:22:15 UTC 2019 - Stephan Kulow <coolo@suse.com>
- 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

View File

@@ -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