commit 6df89690d65b3605b0271ca5fad3dc6f776f9ac4 Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Wed Nov 26 15:23:37 2014 +0100 1.79 bump .gitignore | 1 + perl-Module-Locate.spec | 49 ++++++++++++++++++++++++----------------------- sources | 2 +- 3 files changed, 27 insertions(+), 25 deletions(-) --- diff --git a/.gitignore b/.gitignore index e5366c6..42e772e 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ Module-Locate-1.7.tar.gz +/Module-Locate-1.79.tar.gz diff --git a/perl-Module-Locate.spec b/perl-Module-Locate.spec index 8c2aecb..a713359 100644 --- a/perl-Module-Locate.spec +++ b/perl-Module-Locate.spec @@ -1,22 +1,32 @@ Name: perl-Module-Locate -Version: 1.7 -Release: 17%{?dist} -Summary: Locate modules in the same fashion as "require" and "use" - +Version: 1.79 +Release: 1%{?dist} +Summary: Locate Perl modules in the same fashion as "require" and "use" Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/Module-Locate/ -Source0: http://www.cpan.org/authors/id/B/BR/BROQ/Module-Locate-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - +Source0: http://www.cpan.org/authors/id/N/NE/NEILB/Module-Locate-%{version}.tar.gz BuildArch: noarch -BuildRequires: perl(Test::More) +BuildRequires: perl BuildRequires: perl(ExtUtils::MakeMaker) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +# Run-time: +BuildRequires: perl(Carp) +BuildRequires: perl(File::Spec::Functions) +BuildRequires: perl(IO::File) +BuildRequires: perl(overload) +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Tests: +BuildRequires: perl(base) +BuildRequires: perl(File::Spec) +BuildRequires: perl(IO::Handle) +BuildRequires: perl(lib) +BuildRequires: perl(Test::More) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description Using "locate()", return the path that "require" would find for a given -module or filename (it can also return a filehandle if a reference in @INC +module or file name (it can also return a file handle if a reference in @INC has been used). This means you can test for the existence, or find the path for, modules without having to evaluate the code they contain. @@ -24,40 +34,31 @@ This module also comes with accompanying utility functions that are used within the module itself (except for "get_source") and are available for import. - %prep %setup -q -n Module-Locate-%{version} - %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} - %install -rm -rf $RPM_BUILD_ROOT -make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT +make pure_install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' -find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' chmod -R u+w $RPM_BUILD_ROOT/* - %check make test - -%clean -rm -rf $RPM_BUILD_ROOT - - %files -%defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/Module/ %{_mandir}/man3/*.3* %changelog +* Wed Nov 26 2014 Petr Pisar <ppisar@xxxxxxxxxx> - 1.79-1 +- 1.79 bump + * Tue Aug 26 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 1.7-17 - Perl 5.20 rebuild diff --git a/sources b/sources index 79e2d3b..5c9fb7d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -abf9f4f452243dcaa702d100b8c0b50c Module-Locate-1.7.tar.gz +e76c817b0c3096b9e58e57887e7b81b1 Module-Locate-1.79.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel