8
0

Accepting request 1100462 from devel:languages:perl:autoupdate

- updated to 0.10
   see /usr/share/doc/packages/perl-Metrics-Any/Changes
  0.10    2023-07-07
          [CHANGES]
           * Swap all of the unit tests from Test::More to Test2::V0

OBS-URL: https://build.opensuse.org/request/show/1100462
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Metrics-Any?expand=0&rev=8
This commit is contained in:
2023-07-28 07:44:37 +00:00
committed by Git OBS Bridge
parent a61b567996
commit b2417b109c
4 changed files with 32 additions and 12 deletions

View File

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

3
Metrics-Any-0.10.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Sat Jul 8 03:07:38 UTC 2023 - Tina Müller <timueller+perl@suse.de>
- updated to 0.10
see /usr/share/doc/packages/perl-Metrics-Any/Changes
0.10 2023-07-07
[CHANGES]
* Swap all of the unit tests from Test::More to Test2::V0
-------------------------------------------------------------------
Tue Nov 29 03:07:37 UTC 2022 - Tina Müller <timueller+perl@suse.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Metrics-Any
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,21 +18,31 @@
%define cpan_name Metrics-Any
Name: perl-Metrics-Any
Version: 0.09
Version: 0.100.0
Release: 0
%define cpan_version 0.10
Provides: perl(Metrics::Any) = 0.100.0
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Abstract collection of monitoring metrics
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/P/PE/PEVANS/%{cpan_name}-%{version}.tar.gz
Source0: https://cpan.metacpan.org/authors/id/P/PE/PEVANS/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(List::Util) >= 1.29
BuildRequires: perl(Module::Build) >= 0.400400
BuildRequires: perl(Test::Fatal)
BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(Test2::V0)
Requires: perl(List::Util) >= 1.29
Provides: perl(Metrics::Any::Adapter) = 0.100.0
Provides: perl(Metrics::Any::Adapter::File) = 0.100.0
Provides: perl(Metrics::Any::Adapter::Null) = 0.100.0
Provides: perl(Metrics::Any::Adapter::Stderr) = 0.100.0
Provides: perl(Metrics::Any::Adapter::Tee) = 0.100.0
Provides: perl(Metrics::Any::Adapter::Test) = 0.100.0
Provides: perl(Metrics::Any::AdapterBase::Stored) = 0.100.0
Provides: perl(Metrics::Any::Collector) = 0.100.0
%define __perllib_provides /bin/true
%{perl_requires}
%description
@@ -58,17 +68,17 @@ reporting (as well as to write code which does not itself depend on the
code required to perform that reporting).
%prep
%autosetup -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{cpan_version}
%build
perl Build.PL installdirs=vendor
./Build build flags=%{?_smp_mflags}
perl Build.PL --installdirs=vendor
./Build build --flags=%{?_smp_mflags}
%check
./Build test
%install
./Build install destdir=%{buildroot} create_packlist=0
./Build install --destdir=%{buildroot} --create_packlist=0
%perl_gen_filelist
%files -f %{name}.files