diff --git a/.rpmlint b/.rpmlint new file mode 100644 index 0000000..d226598 --- /dev/null +++ b/.rpmlint @@ -0,0 +1,3 @@ +from Config import * + +addFilter("spelling-error Summary\(en_US\) barewords -> ") diff --git a/perl-B-Keywords.spec b/perl-B-Keywords.spec index a0b62fc..df23b0c 100644 --- a/perl-B-Keywords.spec +++ b/perl-B-Keywords.spec @@ -1,8 +1,7 @@ Name: perl-B-Keywords -Version: 1.15 -Release: 8%{?dist} +Version: 1.16 +Release: 1%{?dist} Summary: Lists of reserved barewords and symbol names -Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/B-Keywords/ Source0: http://search.cpan.org/CPAN/authors/id/R/RU/RURBAN/B-Keywords-%{version}.tar.gz @@ -11,6 +10,7 @@ BuildArch: noarch BuildRequires: coreutils BuildRequires: findutils BuildRequires: make +BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(Config) BuildRequires: perl(ExtUtils::MakeMaker) @@ -20,7 +20,6 @@ BuildRequires: perl(strict) BuildRequires: perl(vars) # Test Suite BuildRequires: perl-devel -BuildRequires: perl-generators BuildRequires: perl(File::Spec) BuildRequires: perl(lib) BuildRequires: perl(Test) @@ -41,7 +40,6 @@ BuildRequires: perl(warnings) # Runtime Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) - %description B::Keywords supplies several arrays of exportable keywords: @Scalars, @Arrays, @Hashes, @Filehandles, @Symbols, @Functions, @Barewords, @TieIOMethods, @@ -53,34 +51,36 @@ The @Symbols array includes the contents of each of @Scalars, @Arrays, @Hashes, Similarly, @Barewords adds a few non-function keywords and operators to the @Functions array. - %prep %setup -q -n B-Keywords-%{version} - %build perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} - %install -make pure_install DESTDIR=$RPM_BUILD_ROOT -find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' -%{_fixperms} $RPM_BUILD_ROOT - +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -delete +%{_fixperms} -c %{buildroot} %check make test %{!?perl_bootstrap:IS_MAINTAINER=1 AUTHOR_TESTING=1} - %files %license LICENSE %doc Changes %{perl_vendorlib}/B/ %{_mandir}/man3/B::Keywords.3* - %changelog +* Sun Dec 31 2017 Paul Howarth - 1.16-1 +- Update to 1.16 + - Added 5.27.7 changes (CPAN RT#123948) + - Added cperl class keywords + - Added keywords per version back to 5.004 +- Drop legacy Group: tag +- Simplify find command using -delete + * Thu Jul 27 2017 Fedora Release Engineering - 1.15-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild diff --git a/sources b/sources index d2b4fab..2b5b3fd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -ec1d4909cc76294fa3a3e279d170e778 B-Keywords-1.15.tar.gz +SHA512 (B-Keywords-1.16.tar.gz) = 052511b3ab0afce3fd2011412c3902fd468209d4352c72620d0d4259ed13eb07c2b11bd9aec60bb41f161ff62f7bf272abba11cb333b679c8fd4e40a4d3d3f93