Update to 1.16

- New upstream release 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
This commit is contained in:
Paul Howarth 2017-12-31 20:24:43 +00:00
parent 10bfd21959
commit eaa782cf99
3 changed files with 18 additions and 15 deletions

3
.rpmlint Normal file
View File

@ -0,0 +1,3 @@
from Config import *
addFilter("spelling-error Summary\(en_US\) barewords -> ")

View File

@ -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 <paul@city-fan.org> - 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 <releng@fedoraproject.org> - 1.15-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild

View File

@ -1 +1 @@
ec1d4909cc76294fa3a3e279d170e778 B-Keywords-1.15.tar.gz
SHA512 (B-Keywords-1.16.tar.gz) = 052511b3ab0afce3fd2011412c3902fd468209d4352c72620d0d4259ed13eb07c2b11bd9aec60bb41f161ff62f7bf272abba11cb333b679c8fd4e40a4d3d3f93