From b458984eefcbd9691cd727e9b3d0ce9ae7d08a59 Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Tue, 28 Mar 2017 08:26:42 +0100 Subject: [PATCH] Update to 0.006019 - New upstream release 0.006019 - Added deprecated flag to metadata; no deprecation warning is given at runtime... for now - Added "WARNING" section in pod, advising the deprecated status of this module --- .rpmlint | 3 +++ perl-Devel-Declare.spec | 22 +++++++++++++++++----- sources | 2 +- 3 files changed, 21 insertions(+), 6 deletions(-) create mode 100644 .rpmlint diff --git a/.rpmlint b/.rpmlint new file mode 100644 index 0000000..b8d916d --- /dev/null +++ b/.rpmlint @@ -0,0 +1,3 @@ +from Config import * +addFilter("spelling-error %description -l en_US declarators -> "); +addFilter("spelling-error %description -l en_US CallParser -> "); diff --git a/perl-Devel-Declare.spec b/perl-Devel-Declare.spec index ef7a01d..fcbdbb2 100644 --- a/perl-Devel-Declare.spec +++ b/perl-Devel-Declare.spec @@ -1,6 +1,6 @@ Name: perl-Devel-Declare -Version: 0.006018 -Release: 9%{?dist} +Version: 0.006019 +Release: 1%{?dist} Summary: Adding keywords to perl, in perl License: GPL+ or Artistic Group: Development/Libraries @@ -50,8 +50,13 @@ Requires: perl(B::Hooks::EndOfScope) >= 0.05 %{?perl_default_filter} %description -Devel::Declare can install subroutines called declarators which locally -take over Perl's parser, allowing the creation of new syntax. +Devel::Declare can install subroutines called declarators which locally take +over Perl's parser, allowing the creation of new syntax. + +This module is now deprecated: keyword handling has been included in the perl +core since perl 5.14, and better alternatives for Devel::Declare functionality +include Devel::CallParser, Function::Parameters, and Keyword::Simple. + %prep %setup -q -n Devel-Declare-%{version} @@ -64,7 +69,7 @@ make %{?_smp_mflags} make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -delete find %{buildroot} -type f -name '*.bs' -empty -delete -%{_fixperms} %{buildroot} +%{_fixperms} -c %{buildroot} %check make test @@ -76,6 +81,13 @@ make test %{_mandir}/man3/Devel::Declare.3* %changelog +* Tue Mar 28 2017 Paul Howarth - 0.006019-1 +- Update to 0.006019 + - Added deprecated flag to metadata; no deprecation warning is given at + runtime... for now + - Added "WARNING" section in pod, advising the deprecated status of this + module + * Sat Feb 11 2017 Fedora Release Engineering - 0.006018-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild diff --git a/sources b/sources index a86b32d..991f465 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -2ff00f8c7c81848695c94c01b5e7bbb8 Devel-Declare-0.006018.tar.gz +SHA512 (Devel-Declare-0.006019.tar.gz) = 1f3073597c5b27160a9ccd8019c35563982479a8c6303e138d1260706499732aa6c402e835d8b5f06a02ee55294889735500d8a24c2f6f5df9d5ed3111d08fb0