d30140
Name:           perl-File-pushd
d30140
Version:        1.005
f185ad
Release:        2%{?dist}
d30140
Summary:        Change directory temporarily for a limited scope
d30140
License:        ASL 2.0
d30140
Group:          Development/Libraries
d30140
URL:            http://search.cpan.org/dist/File-pushd/
d30140
Source0:        http://www.cpan.org/authors/id/D/DA/DAGOLDEN/File-pushd-%{version}.tar.gz
d30140
BuildArch:      noarch
d30140
BuildRequires:  perl
d30140
BuildRequires:  perl(strict)
d30140
BuildRequires:  perl(warnings)
d30140
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.30
d30140
# Run-time:
d30140
BuildRequires:  perl(Carp)
d30140
BuildRequires:  perl(Cwd)
d30140
BuildRequires:  perl(Exporter)
d30140
BuildRequires:  perl(File::Path)
d30140
BuildRequires:  perl(File::Spec)
d30140
BuildRequires:  perl(File::Temp)
d30140
BuildRequires:  perl(overload)
d30140
# Tests:
d30140
BuildRequires:  perl(lib)
d30140
BuildRequires:  perl(File::Basename)
d30140
BuildRequires:  perl(File::Spec::Functions)
d30140
BuildRequires:  perl(List::Util)
d30140
BuildRequires:  perl(Test::More)
d30140
# Optional tests:
d30140
BuildRequires:  perl(Test::Script) >= 1.05
d30140
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
d30140
d30140
%description
d30140
File::pushd does a temporary chdir that is easily and automatically reverted,
d30140
similar to pushd in some Unix command shells. It works by creating an object
d30140
that caches the original working directory. When the object is destroyed, the
d30140
destructor calls chdir to revert to the original working directory. By storing
d30140
the object in a lexical variable with a limited scope, this happens
d30140
automatically at the end of the scope.
d30140
d30140
%prep
d30140
%setup -q -n File-pushd-%{version}
d30140
d30140
%build
d30140
perl Makefile.PL INSTALLDIRS=vendor
d30140
make %{?_smp_mflags}
d30140
d30140
%install
d30140
make pure_install DESTDIR=%{buildroot}
d30140
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
d30140
%{_fixperms} %{buildroot}/*
d30140
d30140
%check
d30140
make test
d30140
d30140
%files
d30140
%doc Changes CONTRIBUTING LICENSE README Todo
d30140
%{perl_vendorlib}/*
d30140
%{_mandir}/man3/*
d30140
d30140
%changelog
f185ad
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.005-2
f185ad
- Mass rebuild 2013-12-27
f185ad
d30140
* Mon Mar 25 2013 Petr Šabata <contyk@redhat.com> - 1.005-1
d30140
- 1.005 bump
d30140
d30140
* Wed Mar 06 2013 Petr Pisar <ppisar@redhat.com> - 1.004-1
d30140
- 1.004 bump
d30140
d30140
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.003-2
d30140
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
d30140
d30140
* Thu Nov 29 2012 Petr Šabata <contyk@redhat.com> - 1.003-1
d30140
- 1.003 bump
d30140
d30140
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.002-4
d30140
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
d30140
d30140
* Thu Jun 07 2012 Petr Pisar <ppisar@redhat.com> - 1.002-3
d30140
- Perl 5.16 rebuild
d30140
d30140
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.002-2
d30140
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
d30140
d30140
* Mon Dec 12 2011 Petr Šabata <contyk@redhat.com> - 1.002-1
d30140
- 1.002 bump
d30140
d30140
* Thu Sep 15 2011 Petr Sabata <contyk@redhat.com> - 1.001-1
d30140
- 1.001 bump
d30140
- Remove now obsolete BuildRoot and defattr
d30140
- Migrate to EE::MM
d30140
- Correct BR
d30140
d30140
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.00-9
d30140
- Perl mass rebuild
d30140
d30140
* Thu Jun 09 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.00-8
d30140
- Perl 5.14 mass rebuild
d30140
d30140
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.00-7
d30140
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
d30140
d30140
* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.00-6
d30140
- 661697 rebuild for fixing problems with vendorach/lib
d30140
d30140
* Sat May 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.00-5
d30140
- Mass rebuild with perl-5.12.0
d30140
d30140
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1.00-4
d30140
- rebuild against perl 5.10.1
d30140
d30140
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.00-3
d30140
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
d30140
d30140
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.00-2
d30140
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
d30140
d30140
* Mon Jan 12 2009 Marcela Mašláňová <mmaslano@redhat.com> 1.00-1
d30140
- Specfile autogenerated by cpanspec 1.77.