rpms/perl-File-pushd/devel perl-File-pushd.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Marcela Mašláňová
mmaslano at fedoraproject.org
Wed Jan 14 06:44:03 UTC 2009
- Previous message (by thread): rpms/libchewing/F-9 import.log,1.5,1.6 libchewing.spec,1.22,1.23
- Next message (by thread): rpms/perl-File-pushd/F-10 perl-File-pushd.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: mmaslano
Update of /cvs/pkgs/rpms/perl-File-pushd/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv24616
Modified Files:
.cvsignore sources
Added Files:
perl-File-pushd.spec
Log Message:
* Mon Jan 12 2009 Marcela MaÅ¡láÅová <mmaslano at redhat.com> 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 at redhat.com> 1.00-1
- Specfile autogenerated by cpanspec 1.77.
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-File-pushd/devel/.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:43:33 -0000 1.2
@@ -0,0 +1 @@
+File-pushd-1.00.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-File-pushd/devel/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:43:33 -0000 1.2
@@ -0,0 +1 @@
+c0d63d05db01a6da3aebd7cd6f93e520 File-pushd-1.00.tar.gz
- Previous message (by thread): rpms/libchewing/F-9 import.log,1.5,1.6 libchewing.spec,1.22,1.23
- Next message (by thread): rpms/perl-File-pushd/F-10 perl-File-pushd.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list