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:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:49ced2db78e478647cdbd7f77c24d96c2f26d91cd98c31616befe3a709959dc0
|
|
||||||
size 60146
|
|
3
Parallel-Scoreboard-0.08.tar.gz
Normal file
3
Parallel-Scoreboard-0.08.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:d0b0718e0840bd8ab0c9aac2ea8cafc98de68a67aebb7bc267a5d5b1d2b95951
|
||||||
|
size 44504
|
28
cpanspec.yml
Normal file
28
cpanspec.yml
Normal 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
|
@@ -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
|
Tue Nov 01 10:19:36 CET 2011 - pascal.bleser@opensuse.org
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-Parallel-Scoreboard
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# 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)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# 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
|
Name: perl-Parallel-Scoreboard
|
||||||
Version: 0.03
|
Version: 0.08
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A scoreboard for monitoring status of many workers
|
%define cpan_name Parallel-Scoreboard
|
||||||
Source: http://search.cpan.org/CPAN/authors/id/K/KA/KAZUHO/Parallel-Scoreboard-%{version}.tar.gz
|
Summary: Scoreboard for monitoring status of many workers
|
||||||
Url: http://search.cpan.org/dist/Parallel-Scoreboard
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||||
Group: Development/Libraries/Perl
|
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
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%{perl_requires}
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: make
|
BuildRequires: perl(Class::Accessor::Lite) >= 0.05
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
|
|
||||||
BuildRequires: perl(Filter::Util::Call)
|
|
||||||
BuildRequires: perl(HTML::Entities)
|
BuildRequires: perl(HTML::Entities)
|
||||||
BuildRequires: perl(JSON)
|
BuildRequires: perl(JSON)
|
||||||
BuildRequires: perl(Class::Accessor::Lite) >= 0.05
|
Requires: perl(Class::Accessor::Lite) >= 0.05
|
||||||
Requires: perl(Filter::Util::Call)
|
|
||||||
Requires: perl(HTML::Entities)
|
Requires: perl(HTML::Entities)
|
||||||
Requires: perl(JSON)
|
Requires: perl(JSON)
|
||||||
Requires: perl(Class::Accessor::Lite) >= 0.05
|
%{perl_requires}
|
||||||
%if 0%{?suse_version} >= 1120
|
# MANUAL BEGIN
|
||||||
BuildArch: noarch
|
BuildRequires: perl(Sub::Uplevel)
|
||||||
%endif
|
# MANUAL END
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Parallel::Scoreboard is a pure-perl implementation of a process
|
Parallel::Scoreboard is a pure-perl implementation of a process scoreboard.
|
||||||
scoreboard. By using the module it is easy to create a monitor for many
|
By using the module it is easy to create a monitor for many worker process,
|
||||||
worker process, like the status module of the Apache HTTP server.
|
like the status module of the Apache HTTP server.
|
||||||
|
|
||||||
Unlike other similar modules, Parallel::Scoreboard is easy to use and has
|
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.
|
no limitation on the format or the length of the statuses to be stored. Any
|
||||||
Any arbitrary data (like JSON or frozen perl object) can be saved by the
|
arbitrary data (like JSON or frozen perl object) can be saved by the worker
|
||||||
worker processes as their status and read from the manager process.
|
processes as their status and read from the manager process.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n "Parallel-Scoreboard-%{version}"
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
%__sed -i '/^auto_install/d' Makefile.PL
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%__perl Makefile.PL PREFIX="%{_prefix}"
|
PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor
|
||||||
%__make %{?_smp_flags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%check
|
||||||
|
make test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
|
%perl_gen_filelist
|
||||||
|
|
||||||
%check
|
%files -f %{name}.files
|
||||||
%__make test
|
%defattr(-,root,root,755)
|
||||||
|
|
||||||
%clean
|
|
||||||
%{?buildroot:%__rm -rf "%{buildroot}"}
|
|
||||||
|
|
||||||
%files
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc Changes README
|
%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
|
%changelog
|
||||||
|
Reference in New Issue
Block a user