2018-04-11 14:30:19 +00:00
|
|
|
# Run extra test
|
|
|
|
%if ! (0%{?rhel})
|
|
|
|
%bcond_without perl_B_Keywords_enables_extra_test
|
|
|
|
%else
|
|
|
|
%bcond_with perl_B_Keywords_enables_extra_test
|
|
|
|
%endif
|
|
|
|
|
2007-01-22 14:03:50 +00:00
|
|
|
Name: perl-B-Keywords
|
2018-01-30 11:03:10 +00:00
|
|
|
Version: 1.18
|
2018-07-01 07:03:08 +00:00
|
|
|
Release: 4%{?dist}
|
2007-01-22 14:03:50 +00:00
|
|
|
Summary: Lists of reserved barewords and symbol names
|
2008-01-11 19:23:21 +00:00
|
|
|
License: GPL+ or Artistic
|
2018-06-04 12:18:57 +00:00
|
|
|
URL: https://metacpan.org/release/B-Keywords
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/R/RU/RURBAN/B-Keywords-%{version}.tar.gz
|
2007-01-22 14:03:50 +00:00
|
|
|
BuildArch: noarch
|
2015-02-22 11:11:34 +00:00
|
|
|
# Module Build
|
2015-11-11 18:46:14 +00:00
|
|
|
BuildRequires: coreutils
|
|
|
|
BuildRequires: findutils
|
|
|
|
BuildRequires: make
|
2017-12-31 20:24:43 +00:00
|
|
|
BuildRequires: perl-generators
|
2017-07-12 12:17:07 +00:00
|
|
|
BuildRequires: perl-interpreter
|
2015-02-22 11:11:34 +00:00
|
|
|
BuildRequires: perl(Config)
|
2012-01-11 11:45:53 +00:00
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
2015-02-22 11:11:34 +00:00
|
|
|
# Module Runtime
|
2012-08-01 13:22:10 +00:00
|
|
|
BuildRequires: perl(Exporter)
|
2015-02-22 11:11:34 +00:00
|
|
|
BuildRequires: perl(strict)
|
|
|
|
BuildRequires: perl(vars)
|
|
|
|
# Test Suite
|
2015-11-11 18:46:14 +00:00
|
|
|
BuildRequires: perl-devel
|
2012-08-01 13:22:10 +00:00
|
|
|
BuildRequires: perl(File::Spec)
|
|
|
|
BuildRequires: perl(lib)
|
|
|
|
BuildRequires: perl(Test)
|
|
|
|
BuildRequires: perl(Test::More)
|
2015-02-22 11:11:34 +00:00
|
|
|
# Optional Tests
|
2013-04-06 18:53:20 +00:00
|
|
|
BuildRequires: perl(Test::Pod) >= 1.0
|
2015-02-22 11:11:34 +00:00
|
|
|
# Maintainer Tests
|
2018-04-11 14:30:19 +00:00
|
|
|
%if 0%{!?perl_bootstrap:1} && %{with perl_B_Keywords_enables_extra_test}
|
2015-02-22 11:11:34 +00:00
|
|
|
BuildRequires: perl(File::Copy)
|
|
|
|
BuildRequires: perl(Perl::MinimumVersion) >= 1.20
|
|
|
|
BuildRequires: perl(Test::CPAN::Meta) >= 0.12
|
|
|
|
BuildRequires: perl(Test::Kwalitee)
|
|
|
|
BuildRequires: perl(Test::MinimumVersion) >= 0.008
|
|
|
|
BuildRequires: perl(Test::More) >= 0.88
|
|
|
|
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
%endif
|
|
|
|
# Runtime
|
2012-02-10 10:09:49 +00:00
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
2007-01-22 14:03:50 +00:00
|
|
|
|
|
|
|
%description
|
2015-02-22 11:11:34 +00:00
|
|
|
B::Keywords supplies several arrays of exportable keywords: @Scalars, @Arrays,
|
|
|
|
@Hashes, @Filehandles, @Symbols, @Functions, @Barewords, @TieIOMethods,
|
|
|
|
@UNIVERSALMethods and @ExporterSymbols.
|
|
|
|
|
|
|
|
The @Symbols array includes the contents of each of @Scalars, @Arrays, @Hashes,
|
|
|
|
@Functions and @Filehandles.
|
|
|
|
|
|
|
|
Similarly, @Barewords adds a few non-function keywords and operators to the
|
|
|
|
@Functions array.
|
2007-01-22 14:03:50 +00:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n B-Keywords-%{version}
|
|
|
|
|
|
|
|
%build
|
2012-02-10 10:09:49 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
2007-01-22 14:03:50 +00:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
2017-12-31 20:24:43 +00:00
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
find %{buildroot} -type f -name .packlist -delete
|
|
|
|
%{_fixperms} -c %{buildroot}
|
2007-01-22 14:03:50 +00:00
|
|
|
|
|
|
|
%check
|
2018-04-11 14:30:19 +00:00
|
|
|
%if 0%{!?perl_bootstrap:1} && %{with perl_B_Keywords_enables_extra_test}
|
|
|
|
make test IS_MAINTAINER=1 AUTHOR_TESTING=1
|
|
|
|
%else
|
|
|
|
make test
|
|
|
|
%endif
|
2007-01-22 14:03:50 +00:00
|
|
|
|
|
|
|
%files
|
2015-02-22 11:11:34 +00:00
|
|
|
%license LICENSE
|
|
|
|
%doc Changes
|
2007-01-22 14:03:50 +00:00
|
|
|
%{perl_vendorlib}/B/
|
2015-02-22 11:11:34 +00:00
|
|
|
%{_mandir}/man3/B::Keywords.3*
|
2007-01-22 14:03:50 +00:00
|
|
|
|
|
|
|
%changelog
|
2018-07-01 07:03:08 +00:00
|
|
|
* Sun Jul 01 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.18-4
|
|
|
|
- Perl 5.28 re-rebuild of bootstrapped packages
|
|
|
|
|
2018-06-28 01:51:14 +00:00
|
|
|
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.18-3
|
|
|
|
- Perl 5.28 rebuild
|
|
|
|
|
2018-02-08 18:56:45 +00:00
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.18-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2018-01-30 11:03:10 +00:00
|
|
|
* Tue Jan 30 2018 Paul Howarth <paul@city-fan.org> - 1.18-1
|
|
|
|
- Update to 1.18
|
|
|
|
- Added 5.27.8 changes: no whereis/-so
|
|
|
|
|
2017-12-31 20:24:43 +00:00
|
|
|
* 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
|
|
|
|
|
2017-07-27 02:35:57 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.15-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-06-07 14:17:38 +00:00
|
|
|
* Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.15-7
|
|
|
|
- Perl 5.26 re-rebuild of bootstrapped packages
|
|
|
|
|
2017-06-04 17:08:17 +00:00
|
|
|
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.15-6
|
|
|
|
- Perl 5.26 rebuild
|
|
|
|
|
2017-02-11 01:40:23 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.15-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-05-18 16:48:14 +00:00
|
|
|
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.15-4
|
|
|
|
- Perl 5.24 re-rebuild of bootstrapped packages
|
|
|
|
|
2016-05-15 09:09:35 +00:00
|
|
|
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.15-3
|
|
|
|
- Perl 5.24 rebuild
|
|
|
|
|
2016-02-04 12:19:38 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.15-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-11-11 18:46:14 +00:00
|
|
|
* Wed Nov 11 2015 Paul Howarth <paul@city-fan.org> - 1.15-1
|
|
|
|
- Update to 1.15
|
|
|
|
- Fixed $OUTPUT_AUTOFLUSH (CPAN RT#108572)
|
|
|
|
- Made $* $MULTILINE_MATCHING version specific, deprecated with 5.8.1,
|
|
|
|
removed with 5.10
|
|
|
|
- Explicitly require perl-devel, for CORE/keywords.h
|
|
|
|
|
2015-06-18 01:17:54 +00:00
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.14-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-06-10 13:19:38 +00:00
|
|
|
* Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.14-3
|
|
|
|
- Perl 5.22 re-rebuild of bootstrapped packages
|
|
|
|
|
2015-06-05 10:36:45 +00:00
|
|
|
* Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.14-2
|
|
|
|
- Perl 5.22 rebuild
|
|
|
|
|
2015-02-22 11:11:34 +00:00
|
|
|
* Sun Feb 22 2015 Paul Howarth <paul@city-fan.org> - 1.14-1
|
|
|
|
- Update to 1.14
|
|
|
|
- Removed err from Barewords (CPAN RT#102259)
|
|
|
|
- Run the maintainer tests if we're not bootstrapping
|
|
|
|
- Expand %%description
|
|
|
|
- Use %%license
|
|
|
|
|
2014-08-28 07:06:07 +00:00
|
|
|
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.13-5
|
|
|
|
- Perl 5.20 rebuild
|
|
|
|
|
2014-06-07 00:40:17 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-08-03 17:27:50 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-07-18 09:45:22 +00:00
|
|
|
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 1.13-2
|
|
|
|
- Perl 5.18 rebuild
|
|
|
|
|
2013-04-06 18:53:20 +00:00
|
|
|
* Sat Apr 6 2013 Paul Howarth <paul@city-fan.org> - 1.13-1
|
|
|
|
- Update to 1.13
|
|
|
|
- Removed diag before each big t/11keywords.t loop
|
|
|
|
- Added lots of suggested keywords from CPAN RT#62382
|
|
|
|
- Moved exp from @Barewords to @Functions
|
|
|
|
- Added $^CHILD_ERROR_NATIVE $^GLOBAL_PHASE $^LAST_FH $^MATCH $^PREMATCH
|
|
|
|
$^POSTMATCH $^UTF8CACHE $^WIN32_SLOPPY_STAT to @Scalars
|
|
|
|
- Added English names for %%!, @F (perlrun) and @ARG for @_
|
|
|
|
- Added %%+ %%- and $LAST_SUBMATCH_RESULT
|
|
|
|
- BR: perl(Test::Pod)
|
|
|
|
- Don't need to remove empty directories from the buildroot
|
|
|
|
|
2013-02-14 10:19:40 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-08-01 13:22:10 +00:00
|
|
|
* Wed Aug 1 2012 Jitka Plesnikova <jplesnik@redhat.com> - 1.12-4
|
|
|
|
- Add BR: perl(File::Spec), perl(lib), perl(Test), perl(Exporter)
|
|
|
|
- Clean up for modern rpmbuild
|
|
|
|
|
2012-07-20 10:39:05 +00:00
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-06-11 08:16:51 +00:00
|
|
|
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 1.12-2
|
|
|
|
- Perl 5.16 rebuild
|
|
|
|
|
2012-02-10 10:09:49 +00:00
|
|
|
* Fri Feb 10 2012 Paul Howarth <paul@city-fan.org> - 1.12-1
|
|
|
|
- Update to 1.12
|
|
|
|
- Add new keyword fc (Unicode casefolding) for 5.16
|
|
|
|
- Added diag before each big t/11keywords.t loop
|
|
|
|
- This release by RURBAN -> update source URL
|
|
|
|
- Don't use macros for commands
|
|
|
|
|
2012-01-11 11:45:53 +00:00
|
|
|
* Wed Jan 11 2012 Paul Howarth <paul@city-fan.org> - 1.11-1
|
|
|
|
- Update to 1.11
|
|
|
|
- Add new keywords for 5.16: __SUB__ and evalbytes
|
|
|
|
- Use DESTDIR rather than PERL_INSTALL_ROOT
|
|
|
|
|
2011-06-29 09:54:28 +00:00
|
|
|
* Wed Jun 29 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.10-3
|
|
|
|
- Perl mass rebuild
|
|
|
|
|
2011-02-08 16:39:10 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-11-30 20:46:51 +00:00
|
|
|
* Sun Sep 5 2010 Paul Howarth <paul@city-fan.org> - 1.10-1
|
|
|
|
- Update to 1.10 (fix typo in SYNOPSIS)
|
|
|
|
- This release by FLORA -> update source URL
|
|
|
|
|
2010-04-29 20:46:14 +00:00
|
|
|
* Thu Apr 29 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.09-5
|
|
|
|
- Mass rebuild with perl-5.12.0
|
|
|
|
|
2009-12-07 10:26:17 +00:00
|
|
|
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.09-4
|
|
|
|
- rebuild against perl 5.10.1
|
|
|
|
|
2009-07-26 01:48:05 +00:00
|
|
|
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.09-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-03-29 01:32:34 +00:00
|
|
|
* Sat Mar 28 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.09-2
|
|
|
|
- BR Test -> Test::More
|
|
|
|
|
2009-03-29 01:26:43 +00:00
|
|
|
* Sat Mar 28 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.09-1
|
|
|
|
- update to 1.09
|
|
|
|
|
2009-02-26 11:17:42 +00:00
|
|
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.08-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-05-31 23:38:09 +00:00
|
|
|
* Sat May 31 2008 Chris Weyl <cweyl@alumni.drew.edu> 1.08-2
|
|
|
|
- update buildrequires
|
|
|
|
|
2008-03-15 17:42:38 +00:00
|
|
|
* Sat Mar 15 2008 Chris Weyl <cweyl@alumni.drew.edu> 1.08-1
|
|
|
|
- update to 1.08
|
|
|
|
|
2008-02-28 12:59:41 +00:00
|
|
|
* Thu Feb 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.06-4
|
|
|
|
- Rebuild normally, second pass
|
|
|
|
|
2008-02-27 21:43:23 +00:00
|
|
|
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.06-3
|
|
|
|
- Rebuild for perl 5.10 (again), disable tests for first pass
|
|
|
|
|
2008-01-14 22:32:09 +00:00
|
|
|
* Mon Jan 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.06-2
|
|
|
|
- rebuild normally, second pass
|
|
|
|
|
2008-01-11 19:23:21 +00:00
|
|
|
* Fri Jan 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.06-1.1
|
|
|
|
- rebuild for new perl
|
|
|
|
- disable Test-Pod-Coverage, tests for first pass
|
|
|
|
|
2007-02-15 17:01:42 +00:00
|
|
|
* Thu Feb 15 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.06-1
|
|
|
|
- Update to 1.06.
|
|
|
|
|
2007-01-22 14:03:50 +00:00
|
|
|
* Sat Jan 20 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.05-1
|
|
|
|
- First build.
|