From 7c74e1024e6cf6445e87df02af9da6df7cd5f6fa Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Mon, 12 Aug 2019 16:23:43 +0100 Subject: [PATCH] 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 --- perl-Class-Method-Modifiers.rpmlintrc | 4 ++++ perl-Class-Method-Modifiers.spec | 20 +++++++++++--------- sources | 2 +- 3 files changed, 16 insertions(+), 10 deletions(-) create mode 100644 perl-Class-Method-Modifiers.rpmlintrc diff --git a/perl-Class-Method-Modifiers.rpmlintrc b/perl-Class-Method-Modifiers.rpmlintrc new file mode 100644 index 0000000..69eacd8 --- /dev/null +++ b/perl-Class-Method-Modifiers.rpmlintrc @@ -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") diff --git a/perl-Class-Method-Modifiers.spec b/perl-Class-Method-Modifiers.spec index 51bd3b6..fce7539 100644 --- a/perl-Class-Method-Modifiers.spec +++ b/perl-Class-Method-Modifiers.spec @@ -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 - 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 - 2.12-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index 5a59b74..efcd70c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -f55400c7a8134acf3657f8af89bdd7af Class-Method-Modifiers-2.12.tar.gz +SHA512 (Class-Method-Modifiers-2.13.tar.gz) = 379afff763b647b787dd2049d9a8b928ca88be34e50c91c0848c5652efb1e4b40d8cacd2a1d5f6ce7bb254b9e65801b7c1a710f9807458a129af0af470f5ebbe