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
|
||||
Summary: Provides Moose-like method modifiers
|
||||
Version: 2.12
|
||||
Release: 15%{?dist}
|
||||
Version: 2.13
|
||||
Release: 1%{?dist}
|
||||
License: GPL+ or Artistic
|
||||
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
|
||||
# Module Build
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: findutils
|
||||
BuildRequires: make
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(warnings)
|
||||
|
@ -32,7 +32,7 @@ BuildRequires: perl(File::Spec)
|
|||
BuildRequires: perl(if)
|
||||
BuildRequires: perl(Test::Fatal)
|
||||
BuildRequires: perl(Test::More) >= 0.88
|
||||
BuildRequires: perl(Test::Requires)
|
||||
BuildRequires: perl(Test::Needs)
|
||||
# Optional Test Requirements
|
||||
%if 0%{!?perl_bootstrap:1} && %{with perl_Class_Method_Modifiers_enables_optional_test}
|
||||
BuildRequires: perl(CPAN::Meta) >= 2.120900
|
||||
|
@ -66,9 +66,6 @@ particular modifiers work.
|
|||
%prep
|
||||
%setup -q -n Class-Method-Modifiers-%{version}
|
||||
|
||||
# Drop unnecessary exec permissions from test files
|
||||
chmod -c -x t/*.t
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
@ -76,7 +73,7 @@ make %{?_smp_mflags}
|
|||
%install
|
||||
make pure_install DESTDIR=%{buildroot}
|
||||
find %{buildroot} -type f -name .packlist -delete
|
||||
%{_fixperms} %{buildroot}
|
||||
%{_fixperms} -c %{buildroot}
|
||||
|
||||
%check
|
||||
make test
|
||||
|
@ -88,6 +85,11 @@ make test
|
|||
%{_mandir}/man3/Class::Method::Modifiers.3*
|
||||
|
||||
%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
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
|
|
Loading…
Reference in New Issue