From e9ae3566a6c79b0810e4da6f44a58c96b9b80365 Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Oct 10 2016 10:37:20 +0000 Subject: Update to 0.1011 - New upstream release 0.1011 - Fixed POD typos - Package CONTRIBUTING.mkdn - Update to working source URL, unfortunately author-specific - Drop redundant Group: tag - Expand %description - Make %files list more explicit --- diff --git a/.gitignore b/.gitignore index dbdf559..75a9c44 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1 @@ -File-chdir-0.09.tar.gz -/File-chdir-0.1003.tar.gz -/File-chdir-0.1006.tar.gz -/File-chdir-0.1007.tar.gz -/File-chdir-0.1008.tar.gz -/File-chdir-0.1009.tar.gz -/File-chdir-0.1010.tar.gz +/File-chdir-[0-9.]*.tar.gz diff --git a/perl-File-chdir.spec b/perl-File-chdir.spec index 964b65c..a172893 100644 --- a/perl-File-chdir.spec +++ b/perl-File-chdir.spec @@ -1,27 +1,31 @@ Name: perl-File-chdir -Version: 0.1010 -Release: 5%{?dist} +Version: 0.1011 +Release: 1%{?dist} Summary: A more sensible way to change directories License: GPL+ or Artistic -Group: Development/Libraries URL: http://search.cpan.org/dist/File-chdir/ -Source0: http://www.cpan.org/modules/by-module/File/File-chdir-%{version}.tar.gz +Source0: http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/File-chdir-%{version}.tar.gz BuildArch: noarch -# Build +# Module Build +BuildRequires: coreutils +BuildRequires: make BuildRequires: perl BuildRequires: perl-generators BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 -BuildRequires: perl(strict) BuildRequires: perl(warnings) -# Runtime +# Module Runtime BuildRequires: perl(Carp) BuildRequires: perl(Cwd) >= 3.16 BuildRequires: perl(Exporter) BuildRequires: perl(File::Spec::Functions) >= 3.27 +BuildRequires: perl(strict) BuildRequires: perl(vars) -# Tests only +# Test Suite BuildRequires: perl(File::Spec) BuildRequires: perl(Test::More) +# Optional Tests +BuildRequires: perl(CPAN::Meta) >= 2.120900 +# Dependencies Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) %description @@ -30,27 +34,41 @@ global. If any part of your program calls chdir() or if any library you use calls chdir(), it changes the current working directory for the whole program. +This is not good. + +File::chdir gives you an alternative, $CWD and @CWD. These two variables +combine all the power of chdir(), File::Spec and Cwd. + %prep %setup -q -n File-chdir-%{version} %build -perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 make %{?_smp_mflags} %install -make pure_install DESTDIR=%{buildroot} -%{_fixperms} %{buildroot}/* +make install DESTDIR=%{buildroot} +%{_fixperms} %{buildroot} %check make test %files %license LICENSE -%doc Changes README -%{perl_vendorlib}/* -%{_mandir}/man3/* +%doc Changes CONTRIBUTING.mkdn README +%{perl_vendorlib}/File/ +%{_mandir}/man3/File::chdir.3* %changelog +* Mon Oct 10 2016 Paul Howarth - 0.1011-1 +- Update to 0.1011 + - Fixed POD typos +- Package CONTRIBUTING.mkdn +- Update to working source URL, unfortunately author-specific +- Drop redundant Group: tag +- Expand %%description +- Make %%files list more explicit + * Sat May 14 2016 Jitka Plesnikova - 0.1010-5 - Perl 5.24 rebuild diff --git a/sources b/sources index fbdc500..962b9a1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -aacfafa4a8f13d45be67451e0f9b483e File-chdir-0.1010.tar.gz +932090f6c5f602301ae66c259de23ebb File-chdir-0.1011.tar.gz