commit cbbaa646b043e5e7f492361b74df1c8de7092933 Author: Petr Písař <ppi...@redhat.com> Date: Wed Mar 6 09:59:27 2013 +0100
1.004 bump .gitignore | 1 + .rpmlint | 2 ++ perl-File-pushd.spec | 36 +++++++++++++++++++++++++----------- sources | 2 +- 4 files changed, 29 insertions(+), 12 deletions(-) --- diff --git a/.gitignore b/.gitignore index aaeade5..009a14a 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ File-pushd-1.00.tar.gz /File-pushd-1.001.tar.gz /File-pushd-1.002.tar.gz /File-pushd-1.003.tar.gz +/File-pushd-1.004.tar.gz diff --git a/.rpmlint b/.rpmlint new file mode 100644 index 0000000..9a7e82a --- /dev/null +++ b/.rpmlint @@ -0,0 +1,2 @@ +from Config import * +addFilter("spelling-error .* (chdir|destructor)"); diff --git a/perl-File-pushd.spec b/perl-File-pushd.spec index db81e50..c7e13fd 100644 --- a/perl-File-pushd.spec +++ b/perl-File-pushd.spec @@ -1,30 +1,41 @@ Name: perl-File-pushd -Version: 1.003 -Release: 2%{?dist} +Version: 1.004 +Release: 1%{?dist} Summary: Change directory temporarily for a limited scope License: ASL 2.0 Group: Development/Libraries URL: http://search.cpan.org/dist/File-pushd/ Source0: http://www.cpan.org/authors/id/D/DA/DAGOLDEN/File-pushd-%{version}.tar.gz BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30 +# Run-time: BuildRequires: perl(Carp) BuildRequires: perl(Cwd) BuildRequires: perl(Exporter) -BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Path) BuildRequires: perl(File::Spec) -BuildRequires: perl(File::Spec::Functions) 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) +# Optional tests: +BuildRequires: perl(Test::Script) >= 1.05 Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description -File::pushd does a temporary chdir that is easily and automatically -reverted, similar to pushd in some Unix command shells. It works by -creating an object that caches the original working directory. When the -object is destroyed, the destructor calls chdir to revert to the original -working directory. By storing the object in a lexical variable with a -limited scope, this happens automatically at the end of the scope. +File::pushd does a temporary chdir that is easily and automatically reverted, +similar to pushd in some Unix command shells. It works by creating an object +that caches the original working directory. When the object is destroyed, the +destructor calls chdir to revert to the original working directory. By storing +the object in a lexical variable with a limited scope, this happens +automatically at the end of the scope. %prep %setup -q -n File-pushd-%{version} @@ -42,11 +53,14 @@ find %{buildroot} -type f -name .packlist -exec rm -f {} \; make test %files -%doc Changes LICENSE README Todo +%doc Changes CONTRIBUTING LICENSE README Todo %{perl_vendorlib}/* %{_mandir}/man3/* %changelog +* Wed Mar 06 2013 Petr Pisar <ppi...@redhat.com> - 1.004-1 +- 1.004 bump + * Thu Feb 14 2013 Fedora Release Engineering <rel-...@lists.fedoraproject.org> - 1.003-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild diff --git a/sources b/sources index 6860de1..0f38e4b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -32c1c7d13e391f68fcd8ea63a5ad8fe7 File-pushd-1.003.tar.gz +2c10f984845444b58a9f999dbf30f8f4 File-pushd-1.004.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/perl-devel