auto-import perl-Error-0.15-0.fdr.1 on branch devel from
perl-Error-0.15-0.fdr.1.src.rpm
This commit is contained in:
parent
3f15511b83
commit
2cd1883fa0
@ -0,0 +1 @@
|
||||
Error-0.15.tar.gz
|
53
perl-Error.spec
Normal file
53
perl-Error.spec
Normal file
@ -0,0 +1,53 @@
|
||||
%{!?perl_vendorlib: %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)}
|
||||
|
||||
Name: perl-Error
|
||||
Version: 0.15
|
||||
Release: 0.fdr.1
|
||||
Epoch: 0
|
||||
Summary: Error Perl module
|
||||
License: GPL or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/Error/
|
||||
Source0: http://www.cpan.org/modules/by-module/Error/Error-0.15.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildArch: noarch
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
%description
|
||||
The Error package provides two interfaces. Firstly Error provides a
|
||||
procedural interface to exception handling. Secondly Error is a base class
|
||||
for errors/exceptions that can either be thrown, for subsequent catch, or
|
||||
can simply be recorded.
|
||||
|
||||
%prep
|
||||
%setup -q -n Error-%{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 ChangeLog README example
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Fri Jun 11 2004 Steven Pritchard <steve@kspei.com> 0:0.15-0.fdr.1
|
||||
- Specfile autogenerated.
|
Loading…
Reference in New Issue
Block a user