Author: mmaslano Update of /cvs/pkgs/rpms/perl-File-pushd/F-10 In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv25535 Modified Files: .cvsignore sources Added Files: perl-File-pushd.spec Log Message: * Mon Jan 12 2009 Marcela MaÅ¡láÅ?ová <mmaslano@xxxxxxxxxx> 1.00-1 - Specfile autogenerated by cpanspec 1.77. --- NEW FILE perl-File-pushd.spec --- Name: perl-File-pushd Version: 1.00 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 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(Module::Build) BuildRequires: perl(Test::More) >= 0.45 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} Build.PL installdirs=vendor ./Build %install rm -rf $RPM_BUILD_ROOT ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check ./Build test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes LICENSE README Todo %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Mon Jan 12 2009 Marcela MaÅ¡láÅ?ová <mmaslano@xxxxxxxxxx> 1.00-1 - Specfile autogenerated by cpanspec 1.77. Index: .cvsignore =================================================================== RCS file: /cvs/pkgs/rpms/perl-File-pushd/F-10/.cvsignore,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- .cvsignore 13 Jan 2009 20:41:34 -0000 1.1 +++ .cvsignore 14 Jan 2009 06:57:29 -0000 1.2 @@ -0,0 +1 @@ +File-pushd-1.00.tar.gz Index: sources =================================================================== RCS file: /cvs/pkgs/rpms/perl-File-pushd/F-10/sources,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- sources 13 Jan 2009 20:41:34 -0000 1.1 +++ sources 14 Jan 2009 06:57:29 -0000 1.2 @@ -0,0 +1 @@ +c0d63d05db01a6da3aebd7cd6f93e520 File-pushd-1.00.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl Fedora-perl-devel-list mailing list Fedora-perl-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list