From f16059d8fc2bb0792952fc42c86fc4c11be6cab63cd3eaeec1ab0a0dae3860e8 Mon Sep 17 00:00:00 2001 From: Dirk Stoecker Date: Tue, 16 Feb 2021 10:51:58 +0000 Subject: [PATCH] Accepting request 872803 from devel:languages:perl:autoupdate - updated to 0.47 see /usr/share/doc/packages/perl-Specio/Changes 0.47 2021-01-29 - Change Specio constraint object's stringification overloading to return the type name rather than the default Perl object stringification, which gives you something like "Specio::Constraint::Parameterized=HASH(0x564d258efb48)". Anonymous are special cased to return something you can print. - All types now overload the `eq` comparison operator. Moose expects types to be comparable in this manner when doing role summation. This fixes a bug reported by Martin Gruner. GH #18. OBS-URL: https://build.opensuse.org/request/show/872803 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Specio?expand=0&rev=24 --- Specio-0.46.tar.gz | 3 --- Specio-0.47.tar.gz | 3 +++ cpanspec.yml | 1 + perl-Specio.changes | 18 ++++++++++++++++++ perl-Specio.spec | 20 +++++++++----------- 5 files changed, 31 insertions(+), 14 deletions(-) delete mode 100644 Specio-0.46.tar.gz create mode 100644 Specio-0.47.tar.gz diff --git a/Specio-0.46.tar.gz b/Specio-0.46.tar.gz deleted file mode 100644 index 79d8644..0000000 --- a/Specio-0.46.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0bf42aa116076d6efc18f72b72c7acb5638bd41c0aa09aecc12fc8bf9ceb9596 -size 105690 diff --git a/Specio-0.47.tar.gz b/Specio-0.47.tar.gz new file mode 100644 index 0000000..e5f3377 --- /dev/null +++ b/Specio-0.47.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f41307f14444f8777e572f27eeb6a964084399e7e382c47c577827ad8a286a1c +size 108288 diff --git a/cpanspec.yml b/cpanspec.yml index 76ad4a4..b9bbec8 100644 --- a/cpanspec.yml +++ b/cpanspec.yml @@ -26,3 +26,4 @@ #custom_test: |- #startserver && make test #ignore_requires: Bizarre::Module +skip_doc: precious.toml|azure-pipelines.yml diff --git a/perl-Specio.changes b/perl-Specio.changes index 8eb8473..03e71c0 100644 --- a/perl-Specio.changes +++ b/perl-Specio.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Tue Feb 16 10:24:24 UTC 2021 - Dirk Stoecker + +- updated to 0.47 + see /usr/share/doc/packages/perl-Specio/Changes + + 0.47 2021-01-29 + + - Change Specio constraint object's stringification overloading to return the + type name rather than the default Perl object stringification, which gives + you something like + "Specio::Constraint::Parameterized=HASH(0x564d258efb48)". Anonymous are + special cased to return something you can print. + + - All types now overload the `eq` comparison operator. Moose expects types to + be comparable in this manner when doing role summation. This fixes a bug + reported by Martin Gruner. GH #18. + ------------------------------------------------------------------- Sun Mar 15 03:13:38 UTC 2020 - diff --git a/perl-Specio.spec b/perl-Specio.spec index 0a32332..28850b1 100644 --- a/perl-Specio.spec +++ b/perl-Specio.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Specio # -# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,18 +16,16 @@ # -Name: perl-Specio -Version: 0.46 -Release: 0 %define cpan_name Specio +Name: perl-Specio +Version: 0.47 +Release: 0 Summary: Type constraints and coercions for Perl License: Artistic-2.0 -Group: Development/Libraries/Perl -Url: https://metacpan.org/release/%{cpan_name} +URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Devel::StackTrace) @@ -79,11 +77,12 @@ My long-term goal is to replace Moose's built-in types and MooseX::Types with this module. %prep -%setup -q -n %{cpan_name}-%{version} +%autosetup -n %{cpan_name}-%{version} +find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644 %build perl Makefile.PL INSTALLDIRS=vendor -make %{?_smp_mflags} +%make_build %check make test @@ -94,8 +93,7 @@ make test %perl_gen_filelist %files -f %{name}.files -%defattr(-,root,root,755) -%doc azure-pipelines.yml Changes CODE_OF_CONDUCT.md CONTRIBUTING.md README.md TODO.md +%doc Changes CODE_OF_CONDUCT.md CONTRIBUTING.md README.md TODO.md %license LICENSE %changelog