Name: perl-No-Die
Summary: Don't let modules die
Version: 0.02
Release: 1.2
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/No-Die/
Description: Tired of using eval as a straightjacket on modules that have as
much interest in life as chronically depressed lemmings? Now
there's a 24 hour suicide watch in L<No::Die>. Only modules you
permit to die may - the rest will just have to live with it. Their
distress wil be noted in an error variable and undef will be
returned. The ultimate decision of life and death will be left to
your application.
The build was succesful. The following RPMs were generated:
The build was succesful. The following RPMs were generated:
The spec file used by the build system currently has the following contents:
# $Id$
# Authority: dries
# Upstream: Jos Boumans <kane$cpan,org>
%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)
%define real_name No-Die
Summary: Don't let modules die
Name: perl-No-Die
Version: 0.02
Release: 1.2%{?dist}
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/No-Die/
Source: http://www.cpan.org/modules/by-module/No/No-Die-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker)
%description
Tired of using eval as a straightjacket on modules that have as
much interest in life as chronically depressed lemmings? Now
there's a 24 hour suicide watch in L<No::Die>. Only modules you
permit to die may - the rest will just have to live with it. Their
distress wil be noted in an error variable and undef will be
returned. The ultimate decision of life and death will be left to
your application.
%prep
%setup -n %{real_name}-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
%{__make} %{?_smp_mflags}
%install
%{__rm} -rf %{buildroot}
%{__make} pure_install
### Clean up buildroot
find %{buildroot} -name .packlist -exec %{__rm} {} \;
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-, root, root, 0755)
%doc README
%doc %{_mandir}/man3/*
%{perl_vendorlib}/No/Die.pm
%changelog
* Wed Mar 22 2006 Dries Verachtert <dries@ulyssis.org> - 0.02-1.2
- Rebuild for Fedora Core 5.
* Wed Dec 21 2005 Dries Verachtert <dries@ulyssis.org> - 0.02-1
- Initial package.