forked from pool/perl-Specio
Accepting request 872805 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/872805 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Specio?expand=0&rev=9
This commit is contained in:
commit
f9ba7fb00f
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0bf42aa116076d6efc18f72b72c7acb5638bd41c0aa09aecc12fc8bf9ceb9596
|
||||
size 105690
|
3
Specio-0.47.tar.gz
Normal file
3
Specio-0.47.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f41307f14444f8777e572f27eeb6a964084399e7e382c47c577827ad8a286a1c
|
||||
size 108288
|
@ -26,3 +26,4 @@
|
||||
#custom_test: |-
|
||||
#startserver && make test
|
||||
#ignore_requires: Bizarre::Module
|
||||
skip_doc: precious.toml|azure-pipelines.yml
|
||||
|
@ -1,3 +1,21 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 16 10:24:24 UTC 2021 - Dirk Stoecker <opensuse@dstoecker.de>
|
||||
|
||||
- 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 - <timueller+perl@suse.de>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user