forked from pool/perl-Set-Object
Accepting request 864266 from devel:languages:perl:autoupdate
- updated to 1.41 see /usr/share/doc/packages/perl-Set-Object/Changes.pod =head1 1.41, 2021-01-17 =over =item * Use meta-spec 2, Moose -> dev.requires not runtime.recommends (GH #6, RT #134034) by mohawk =back OBS-URL: https://build.opensuse.org/request/show/864266 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Set-Object?expand=0&rev=33
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Set-Object
|
||||
#
|
||||
# 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,21 +16,17 @@
|
||||
#
|
||||
|
||||
|
||||
Name: perl-Set-Object
|
||||
Version: 1.40
|
||||
Release: 0
|
||||
%define cpan_name Set-Object
|
||||
Name: perl-Set-Object
|
||||
Version: 1.41
|
||||
Release: 0
|
||||
Summary: Set of objects and strings
|
||||
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/R/RU/RURBAN/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
Recommends: perl(Moose)
|
||||
Recommends: perl(Test::LeakTrace)
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
@@ -49,11 +45,11 @@ will lose any magic (eg, tie) or other special bits that they went in with;
|
||||
only strings come out.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
%autosetup -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
%check
|
||||
make test
|
||||
@@ -64,7 +60,6 @@ make test
|
||||
%perl_gen_filelist
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc README
|
||||
%license LICENSE
|
||||
|
||||
|
Reference in New Issue
Block a user