Name: perl-File-chdir Version: 0.09 Release: 5%{?dist} Summary: A more sensible way to change directories License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/File-chdir/ Source0: http://www.cpan.org/modules/by-module/File/File-chdir-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::More) BuildArch: noarch Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Perl's chdir() has the unfortunate problem of being very, very, very global. If any part of your program calls chdir() or if any library you use calls chdir(), it changes the current working directory for the whole program. %prep %setup -q -n File-chdir-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null \; chmod -R u+rwX,go+rX,go-w $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Mon Dec 7 2009 Stepan Kasal - 0.09-5 - rebuild against perl 5.10.1 * Sat Jul 25 2009 Fedora Release Engineering - 0.09-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 0.09-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Wed Mar 5 2008 Tom "spot" Callaway - 0.09-2 - rebuild for new perl * Thu Jan 17 2008 Ian Burrell - 0.09-1 - Update to 0.09 * Thu Aug 16 2007 Ian M. Burrell - 0.06-3 - Fix BuildRequires * Tue Jun 27 2006 Ian M. Burrell - 0.06-2 - Fix rpmlint warnings * Thu Mar 30 2006 Ian Burrell 0.06-1 - Specfile autogenerated by cpanspec 1.64.