auto-import perl-File-chdir-0.06-2 on branch devel from
perl-File-chdir-0.06-2.src.rpm
This commit is contained in:
parent
c8720564cc
commit
b4e67f9c9a
@ -0,0 +1 @@
|
||||
File-chdir-0.06.tar.gz
|
||||
53
perl-File-chdir.spec
Normal file
53
perl-File-chdir.spec
Normal file
@ -0,0 +1,53 @@
|
||||
Name: perl-File-chdir
|
||||
Version: 0.06
|
||||
Release: 2%{?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)
|
||||
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
|
||||
* Tue Jun 27 2006 Ian M. Burrell <ianburrell@gmail.com> - 0.06-2
|
||||
- Fix rpmlint warnings
|
||||
|
||||
* Thu Mar 30 2006 Ian Burrell <ianburrell@gmail.com> 0.06-1
|
||||
- Specfile autogenerated by cpanspec 1.64.
|
||||
Loading…
Reference in New Issue
Block a user