Update to 2.13
- New upstream release 2.13 - Bypass prototypes when testing for lvalue attribute - Fixed a class name in tests to avoid conflicting with a core module
This commit is contained in:
parent
6bffd5e8eb
commit
7c74e1024e
|
@ -0,0 +1,4 @@
|
||||||
|
from Config import *
|
||||||
|
|
||||||
|
# This is just here for documentation so the shellbang doesn't really matter
|
||||||
|
addFilter("wrong-script-interpreter /usr/share/doc/perl-Class-Method-Modifiers.*/t/00-report-prereqs.t perl")
|
|
@ -7,18 +7,18 @@
|
||||||
|
|
||||||
Name: perl-Class-Method-Modifiers
|
Name: perl-Class-Method-Modifiers
|
||||||
Summary: Provides Moose-like method modifiers
|
Summary: Provides Moose-like method modifiers
|
||||||
Version: 2.12
|
Version: 2.13
|
||||||
Release: 15%{?dist}
|
Release: 1%{?dist}
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
URL: https://metacpan.org/release/Class-Method-Modifiers
|
URL: https://metacpan.org/release/Class-Method-Modifiers
|
||||||
Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/Class-Method-Modifiers-%{version}.tar.gz
|
Source0: https://cpan.metacpan.org/modules/by-module/Class/Class-Method-Modifiers-%{version}.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# Module Build
|
# Module Build
|
||||||
BuildRequires: coreutils
|
BuildRequires: coreutils
|
||||||
BuildRequires: findutils
|
BuildRequires: findutils
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
BuildRequires: perl-interpreter
|
|
||||||
BuildRequires: perl-generators
|
BuildRequires: perl-generators
|
||||||
|
BuildRequires: perl-interpreter
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
BuildRequires: perl(strict)
|
BuildRequires: perl(strict)
|
||||||
BuildRequires: perl(warnings)
|
BuildRequires: perl(warnings)
|
||||||
|
@ -32,7 +32,7 @@ BuildRequires: perl(File::Spec)
|
||||||
BuildRequires: perl(if)
|
BuildRequires: perl(if)
|
||||||
BuildRequires: perl(Test::Fatal)
|
BuildRequires: perl(Test::Fatal)
|
||||||
BuildRequires: perl(Test::More) >= 0.88
|
BuildRequires: perl(Test::More) >= 0.88
|
||||||
BuildRequires: perl(Test::Requires)
|
BuildRequires: perl(Test::Needs)
|
||||||
# Optional Test Requirements
|
# Optional Test Requirements
|
||||||
%if 0%{!?perl_bootstrap:1} && %{with perl_Class_Method_Modifiers_enables_optional_test}
|
%if 0%{!?perl_bootstrap:1} && %{with perl_Class_Method_Modifiers_enables_optional_test}
|
||||||
BuildRequires: perl(CPAN::Meta) >= 2.120900
|
BuildRequires: perl(CPAN::Meta) >= 2.120900
|
||||||
|
@ -66,9 +66,6 @@ particular modifiers work.
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n Class-Method-Modifiers-%{version}
|
%setup -q -n Class-Method-Modifiers-%{version}
|
||||||
|
|
||||||
# Drop unnecessary exec permissions from test files
|
|
||||||
chmod -c -x t/*.t
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL INSTALLDIRS=vendor
|
perl Makefile.PL INSTALLDIRS=vendor
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
@ -76,7 +73,7 @@ make %{?_smp_mflags}
|
||||||
%install
|
%install
|
||||||
make pure_install DESTDIR=%{buildroot}
|
make pure_install DESTDIR=%{buildroot}
|
||||||
find %{buildroot} -type f -name .packlist -delete
|
find %{buildroot} -type f -name .packlist -delete
|
||||||
%{_fixperms} %{buildroot}
|
%{_fixperms} -c %{buildroot}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
make test
|
||||||
|
@ -88,6 +85,11 @@ make test
|
||||||
%{_mandir}/man3/Class::Method::Modifiers.3*
|
%{_mandir}/man3/Class::Method::Modifiers.3*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Aug 12 2019 Paul Howarth <paul@city-fan.org> - 2.13-1
|
||||||
|
- Update to 2.13
|
||||||
|
- Bypass prototypes when testing for lvalue attribute
|
||||||
|
- Fixed a class name in tests to avoid conflicting with a core module
|
||||||
|
|
||||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.12-15
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.12-15
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue