diff --git a/.cvsignore b/.cvsignore deleted file mode 100644 index e69de29..0000000 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2276391 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/B-Keywords-[0-9.]*.tar.gz 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/Makefile b/Makefile deleted file mode 100644 index e67134b..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: perl-B-Keywords -# $Id$ -NAME := perl-B-Keywords -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/perl-B-Keywords.spec b/perl-B-Keywords.spec new file mode 100644 index 0000000..4bc3d0e --- /dev/null +++ b/perl-B-Keywords.spec @@ -0,0 +1,246 @@ +# Run extra test +%if ! (0%{?rhel}) +%bcond_without perl_B_Keywords_enables_extra_test +%else +%bcond_with perl_B_Keywords_enables_extra_test +%endif + +Name: perl-B-Keywords +Version: 1.18 +Release: 2%{?dist} +Summary: Lists of reserved barewords and symbol names +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 +BuildArch: noarch +# Module Build +BuildRequires: coreutils +BuildRequires: findutils +BuildRequires: make +BuildRequires: perl-generators +BuildRequires: perl-interpreter +BuildRequires: perl(Config) +BuildRequires: perl(ExtUtils::MakeMaker) +# Module Runtime +BuildRequires: perl(Exporter) +BuildRequires: perl(strict) +BuildRequires: perl(vars) +# Test Suite +BuildRequires: perl-devel +BuildRequires: perl(File::Spec) +BuildRequires: perl(lib) +BuildRequires: perl(Test) +BuildRequires: perl(Test::More) +# Optional Tests +BuildRequires: perl(Test::Pod) >= 1.0 +# Maintainer Tests +%if 0%{!?perl_bootstrap:1} && %{with perl_B_Keywords_enables_extra_test} +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 +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, +@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. + +%prep +%setup -q -n B-Keywords-%{version} + +%build +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -delete +%{_fixperms} -c %{buildroot} + +%check +%if 0%{!?perl_bootstrap:1} && %{with perl_B_Keywords_enables_extra_test} +make test IS_MAINTAINER=1 AUTHOR_TESTING=1 +%else +make test +%endif + +%files +%license LICENSE +%doc Changes +%{perl_vendorlib}/B/ +%{_mandir}/man3/B::Keywords.3* + +%changelog +* Thu Feb 08 2018 Fedora Release Engineering - 1.18-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Tue Jan 30 2018 Paul Howarth - 1.18-1 +- Update to 1.18 + - Added 5.27.8 changes: no whereis/-so + +* 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 + +* Wed Jun 07 2017 Jitka Plesnikova - 1.15-7 +- Perl 5.26 re-rebuild of bootstrapped packages + +* Sun Jun 04 2017 Jitka Plesnikova - 1.15-6 +- Perl 5.26 rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 1.15-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Wed May 18 2016 Jitka Plesnikova - 1.15-4 +- Perl 5.24 re-rebuild of bootstrapped packages + +* Sun May 15 2016 Jitka Plesnikova - 1.15-3 +- Perl 5.24 rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 1.15-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Nov 11 2015 Paul Howarth - 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 + +* Thu Jun 18 2015 Fedora Release Engineering - 1.14-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Wed Jun 10 2015 Jitka Plesnikova - 1.14-3 +- Perl 5.22 re-rebuild of bootstrapped packages + +* Fri Jun 05 2015 Jitka Plesnikova - 1.14-2 +- Perl 5.22 rebuild + +* Sun Feb 22 2015 Paul Howarth - 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 + +* Thu Aug 28 2014 Jitka Plesnikova - 1.13-5 +- Perl 5.20 rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 1.13-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sat Aug 03 2013 Fedora Release Engineering - 1.13-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Thu Jul 18 2013 Petr Pisar - 1.13-2 +- Perl 5.18 rebuild + +* Sat Apr 6 2013 Paul Howarth - 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 + +* Thu Feb 14 2013 Fedora Release Engineering - 1.12-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Wed Aug 1 2012 Jitka Plesnikova - 1.12-4 +- Add BR: perl(File::Spec), perl(lib), perl(Test), perl(Exporter) +- Clean up for modern rpmbuild + +* Fri Jul 20 2012 Fedora Release Engineering - 1.12-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Mon Jun 11 2012 Petr Pisar - 1.12-2 +- Perl 5.16 rebuild + +* Fri Feb 10 2012 Paul Howarth - 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 + +* Wed Jan 11 2012 Paul Howarth - 1.11-1 +- Update to 1.11 + - Add new keywords for 5.16: __SUB__ and evalbytes +- Use DESTDIR rather than PERL_INSTALL_ROOT + +* Wed Jun 29 2011 Marcela Mašláňová - 1.10-3 +- Perl mass rebuild + +* Tue Feb 08 2011 Fedora Release Engineering - 1.10-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Sun Sep 5 2010 Paul Howarth - 1.10-1 +- Update to 1.10 (fix typo in SYNOPSIS) +- This release by FLORA -> update source URL + +* Thu Apr 29 2010 Marcela Maslanova - 1.09-5 +- Mass rebuild with perl-5.12.0 + +* Mon Dec 7 2009 Stepan Kasal - 1.09-4 +- rebuild against perl 5.10.1 + +* Sat Jul 25 2009 Fedora Release Engineering - 1.09-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Sat Mar 28 2009 Chris Weyl 1.09-2 +- BR Test -> Test::More + +* Sat Mar 28 2009 Chris Weyl 1.09-1 +- update to 1.09 + +* Thu Feb 26 2009 Fedora Release Engineering - 1.08-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Sat May 31 2008 Chris Weyl 1.08-2 +- update buildrequires + +* Sat Mar 15 2008 Chris Weyl 1.08-1 +- update to 1.08 + +* Thu Feb 28 2008 Tom "spot" Callaway - 1.06-4 +- Rebuild normally, second pass + +* Wed Feb 27 2008 Tom "spot" Callaway - 1.06-3 +- Rebuild for perl 5.10 (again), disable tests for first pass + +* Mon Jan 14 2008 Tom "spot" Callaway - 1.06-2 +- rebuild normally, second pass + +* Fri Jan 11 2008 Tom "spot" Callaway - 1.06-1.1 +- rebuild for new perl +- disable Test-Pod-Coverage, tests for first pass + +* Thu Feb 15 2007 Jose Pedro Oliveira - 1.06-1 +- Update to 1.06. + +* Sat Jan 20 2007 Jose Pedro Oliveira - 1.05-1 +- First build. diff --git a/sources b/sources index e69de29..edd562d 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +SHA512 (B-Keywords-1.18.tar.gz) = b1a6b4f8d1a557168257c4b8648e5f0e98e91dde7ba9122ba9a99cfb8b399a6857a2ee005ff26c4908d7f01e1e2ffb1dafae3aa6fe5acd3773588911ef159ff4