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
This commit is contained in:
Paul Howarth 2016-10-10 11:33:12 +01:00
parent 9252598704
commit e9ae3566a6
3 changed files with 34 additions and 22 deletions

8
.gitignore vendored
View File

@ -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

View File

@ -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 <paul@city-fan.org> - 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 <jplesnik@redhat.com> - 0.1010-5
- Perl 5.24 rebuild

View File

@ -1 +1 @@
aacfafa4a8f13d45be67451e0f9b483e File-chdir-0.1010.tar.gz
932090f6c5f602301ae66c259de23ebb File-chdir-0.1011.tar.gz