1.004 bump

This commit is contained in:
Petr Písař 2013-03-06 09:59:27 +01:00
parent 459b8f6348
commit cbbaa646b0
4 changed files with 29 additions and 12 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@ File-pushd-1.00.tar.gz
/File-pushd-1.001.tar.gz /File-pushd-1.001.tar.gz
/File-pushd-1.002.tar.gz /File-pushd-1.002.tar.gz
/File-pushd-1.003.tar.gz /File-pushd-1.003.tar.gz
/File-pushd-1.004.tar.gz

2
.rpmlint Normal file
View File

@ -0,0 +1,2 @@
from Config import *
addFilter("spelling-error .* (chdir|destructor)");

View File

@ -1,30 +1,41 @@
Name: perl-File-pushd Name: perl-File-pushd
Version: 1.003 Version: 1.004
Release: 2%{?dist} Release: 1%{?dist}
Summary: Change directory temporarily for a limited scope Summary: Change directory temporarily for a limited scope
License: ASL 2.0 License: ASL 2.0
Group: Development/Libraries Group: Development/Libraries
URL: http://search.cpan.org/dist/File-pushd/ URL: http://search.cpan.org/dist/File-pushd/
Source0: http://www.cpan.org/authors/id/D/DA/DAGOLDEN/File-pushd-%{version}.tar.gz Source0: http://www.cpan.org/authors/id/D/DA/DAGOLDEN/File-pushd-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRequires: perl
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
# Run-time:
BuildRequires: perl(Carp) BuildRequires: perl(Carp)
BuildRequires: perl(Cwd) BuildRequires: perl(Cwd)
BuildRequires: perl(Exporter) BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::Path) BuildRequires: perl(File::Path)
BuildRequires: perl(File::Spec) BuildRequires: perl(File::Spec)
BuildRequires: perl(File::Spec::Functions)
BuildRequires: perl(File::Temp) BuildRequires: perl(File::Temp)
BuildRequires: perl(overload)
# Tests:
BuildRequires: perl(lib)
BuildRequires: perl(File::Basename)
BuildRequires: perl(File::Spec::Functions)
BuildRequires: perl(List::Util)
BuildRequires: perl(Test::More) BuildRequires: perl(Test::More)
# Optional tests:
BuildRequires: perl(Test::Script) >= 1.05
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description %description
File::pushd does a temporary chdir that is easily and automatically File::pushd does a temporary chdir that is easily and automatically reverted,
reverted, similar to pushd in some Unix command shells. It works by similar to pushd in some Unix command shells. It works by creating an object
creating an object that caches the original working directory. When the that caches the original working directory. When the object is destroyed, the
object is destroyed, the destructor calls chdir to revert to the original destructor calls chdir to revert to the original working directory. By storing
working directory. By storing the object in a lexical variable with a the object in a lexical variable with a limited scope, this happens
limited scope, this happens automatically at the end of the scope. automatically at the end of the scope.
%prep %prep
%setup -q -n File-pushd-%{version} %setup -q -n File-pushd-%{version}
@ -42,11 +53,14 @@ find %{buildroot} -type f -name .packlist -exec rm -f {} \;
make test make test
%files %files
%doc Changes LICENSE README Todo %doc Changes CONTRIBUTING LICENSE README Todo
%{perl_vendorlib}/* %{perl_vendorlib}/*
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %changelog
* Wed Mar 06 2013 Petr Pisar <ppisar@redhat.com> - 1.004-1
- 1.004 bump
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.003-2 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.003-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild

View File

@ -1 +1 @@
32c1c7d13e391f68fcd8ea63a5ad8fe7 File-pushd-1.003.tar.gz 2c10f984845444b58a9f999dbf30f8f4 File-pushd-1.004.tar.gz