From d3014074362ea3a629ac813973aaf656622d2c4b Mon Sep 17 00:00:00 2001 From: CentOS Buildsys Date: Jun 10 2013 05:22:50 +0000 Subject: import perl-File-pushd-1.005-1.el7.src.rpm --- diff --git a/.perl-File-pushd.metadata b/.perl-File-pushd.metadata new file mode 100644 index 0000000..ee3e331 --- /dev/null +++ b/.perl-File-pushd.metadata @@ -0,0 +1 @@ +927e75e2c4300318e67534ac240c6e13704ea61c SOURCES/File-pushd-1.005.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/perl-File-pushd.spec b/SPECS/perl-File-pushd.spec new file mode 100644 index 0000000..9b7475e --- /dev/null +++ b/SPECS/perl-File-pushd.spec @@ -0,0 +1,116 @@ +Name: perl-File-pushd +Version: 1.005 +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(File::Path) +BuildRequires: perl(File::Spec) +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. + +%prep +%setup -q -n File-pushd-%{version} + +%build +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} \; +%{_fixperms} %{buildroot}/* + +%check +make test + +%files +%doc Changes CONTRIBUTING LICENSE README Todo +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Mon Mar 25 2013 Petr Šabata - 1.005-1 +- 1.005 bump + +* Wed Mar 06 2013 Petr Pisar - 1.004-1 +- 1.004 bump + +* Thu Feb 14 2013 Fedora Release Engineering - 1.003-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Thu Nov 29 2012 Petr Šabata - 1.003-1 +- 1.003 bump + +* Fri Jul 20 2012 Fedora Release Engineering - 1.002-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Thu Jun 07 2012 Petr Pisar - 1.002-3 +- Perl 5.16 rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 1.002-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Mon Dec 12 2011 Petr Šabata - 1.002-1 +- 1.002 bump + +* Thu Sep 15 2011 Petr Sabata - 1.001-1 +- 1.001 bump +- Remove now obsolete BuildRoot and defattr +- Migrate to EE::MM +- Correct BR + +* Fri Jun 17 2011 Marcela Mašláňová - 1.00-9 +- Perl mass rebuild + +* Thu Jun 09 2011 Marcela Mašláňová - 1.00-8 +- Perl 5.14 mass rebuild + +* Tue Feb 08 2011 Fedora Release Engineering - 1.00-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Thu Dec 16 2010 Marcela Maslanova - 1.00-6 +- 661697 rebuild for fixing problems with vendorach/lib + +* Sat May 01 2010 Marcela Maslanova - 1.00-5 +- Mass rebuild with perl-5.12.0 + +* Mon Dec 7 2009 Stepan Kasal - 1.00-4 +- rebuild against perl 5.10.1 + +* Sat Jul 25 2009 Fedora Release Engineering - 1.00-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Feb 26 2009 Fedora Release Engineering - 1.00-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Mon Jan 12 2009 Marcela Mašláňová 1.00-1 +- Specfile autogenerated by cpanspec 1.77.