From ea84b4c57f83408c0acb9a57c5ce13c392570702 Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Sep 25 2019 15:05:16 +0000 Subject: Merge remote-tracking branch 'origin/f28' into epel8 --- diff --git a/.cvsignore b/.cvsignore deleted file mode 100644 index e69de29..0000000 --- a/.cvsignore +++ /dev/null diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..39f4781 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/Module-Find-[0-9.]*.tar.gz diff --git a/Makefile b/Makefile deleted file mode 100644 index 472df29..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: perl-Module-Find -# $Id$ -NAME := perl-Module-Find -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-Module-Find.spec b/perl-Module-Find.spec new file mode 100644 index 0000000..9b2c473 --- /dev/null +++ b/perl-Module-Find.spec @@ -0,0 +1,182 @@ +Name: perl-Module-Find +Version: 0.13 +Release: 9%{?dist} +Summary: Find and use installed modules in a (sub)category +Group: Development/Libraries +License: GPL+ or Artistic +URL: http://search.cpan.org/dist/Module-Find/ +Source0: http://search.cpan.org/CPAN/authors/id/C/CR/CRENZ/Module-Find-%{version}.tar.gz +BuildArch: noarch +# Module Build +BuildRequires: perl-interpreter +BuildRequires: perl-generators +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Pod::Perldoc) +# Module Runtime +BuildRequires: perl(Exporter) +BuildRequires: perl(File::Find) +BuildRequires: perl(File::Spec) +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Test Suite +BuildRequires: perl(lib) +BuildRequires: perl(Test::More) +# Optional Tests +BuildRequires: perl(Test::CPAN::Meta) +BuildRequires: perl(Test::Pod) >= 1.14 +BuildRequires: perl(Test::Pod::Coverage) >= 1.04 +# Runtime +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(Exporter) + +%description +Module::Find lets you find and use modules in categories. This can be very +useful for auto-detecting driver or plug-in modules. You can differentiate +between looking in the category itself or in all subcategories. + +%prep +%setup -q -n Module-Find-%{version} + +# Generate Changes file from POD +perldoc -t Find.pm | + perl -n -e 'if (/^HISTORY/ ... !/^[[:space:]]/) { print if /^[[:space:]]/ }' > Changes + +%build +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +rm -rf %{buildroot} +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} \; +%{_fixperms} %{buildroot} + +%check +make test + +%files +%doc Changes README examples/ +%{perl_vendorlib}/Module/ +%{_mandir}/man3/Module::Find.3* + +%changelog +* Thu Feb 08 2018 Fedora Release Engineering - 0.13-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 0.13-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Mon Jun 05 2017 Jitka Plesnikova - 0.13-7 +- Perl 5.26 rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 0.13-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Sun May 15 2016 Jitka Plesnikova - 0.13-5 +- Perl 5.24 rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 0.13-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Thu Jun 18 2015 Fedora Release Engineering - 0.13-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Fri Jun 05 2015 Jitka Plesnikova - 0.13-2 +- Perl 5.22 rebuild + +* Tue Mar 10 2015 Paul Howarth - 0.13-1 +- Update to 0.13 + - Link to Module::Pluggable and Class::Factory::Util in "SEE ALSO" + - Align package name parsing with how perl does it (allowing single quotes + as module separator) +- Classify buildreqs by usage + +* Wed Aug 27 2014 Jitka Plesnikova - 0.12-3 +- Perl 5.20 rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 0.12-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Fri Feb 7 2014 Paul Howarth - 0.12-1 +- Update to 0.12: + - Fixed CPAN RT#81077: useall fails in taint mode + - Fixed CPAN RT#83596: Documentation doesn't describe behaviour if a module + fails to load + - Clarified documentation for useall and usesub + - Fixed CPAN RT#62923: setmoduledirs(undef) doesn't reset to searching @INC + - Added more explicit tests + +* Sat Aug 03 2013 Fedora Release Engineering - 0.11-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Sat Jul 20 2013 Petr Pisar - 0.11-6 +- Perl 5.18 rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 0.11-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Wed Nov 21 2012 Petr Šabata - 0.11-4 +- Add some missing dependencies + +* Fri Jul 20 2012 Fedora Release Engineering - 0.11-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Wed Jun 13 2012 Petr Pisar - 0.11-2 +- Perl 5.16 rebuild + +* Tue May 22 2012 Paul Howarth - 0.11-1 +- Update to 0.11: + - defined(@array) is deprecated under Perl 5.15.7 (CPAN RT#74251) +- Don't need to remove empty directories from buildroot +- Drop %%defattr, redundant since rpm 4.4 + +* Wed Jan 25 2012 Paul Howarth - 0.10-4 +- BR: perl(ExtUtils::MakeMaker), perl(File::Find), perl(File::Spec) and + perl(Pod::Perldoc) +- Use DESTDIR rather than PERL_INSTALL_ROOT +- Use search.cpan.org source URL +- Don't use macros for commands +- Use tabs + +* Fri Jan 13 2012 Fedora Release Engineering - 0.10-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Mon Jun 20 2011 Marcela Mašláňová - 0.10-2 +- Perl mass rebuild + +* Tue Mar 15 2011 Paul Howarth - 0.10-1 +- Update to 0.10: + - Fixed META.yml generation (CPAN RT#38302) + - Removed Unicode BOM from Find.pm (CPAN RT#55010) +- Generate Changes file from POD in Find.pm + +* Tue Feb 08 2011 Fedora Release Engineering - 0.08-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Mon Dec 20 2010 Marcela Maslanova - 0.08-4 +- Rebuild to fix problems with vendorarch/lib (#661697) + +* Mon May 03 2010 Marcela Maslanova - 0.08-3 +- Mass rebuild with perl-5.12.0 + +* Mon Dec 7 2009 Stepan Kasal - 0.08-2 +- Rebuild against perl 5.10.1 + +* Wed Oct 7 2009 Stepan Kasal - 0.08-1 +- New upstream version + +* Sun Jul 26 2009 Fedora Release Engineering - 0.06-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Feb 26 2009 Fedora Release Engineering - 0.06-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Wed Jul 02 2008 Chris Weyl 0.06-1 +- Update to 0.06 +- Add examples/ + +* Fri Feb 8 2008 Tom "spot" Callaway - 0.05-2 +- Rebuild for new perl + +* Tue Dec 19 2006 Jose Pedro Oliveira - 0.05-1 +- First build diff --git a/sources b/sources index e69de29..5da1354 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +28a11699901c2b07795ad59827d6ee66 Module-Find-0.13.tar.gz