Author: cweyl
Update of /cvs/extras/rpms/perl-Try-Tiny/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv14495/F-11
Modified Files:
.cvsignore sources
Added Files:
import.log perl-Try-Tiny.spec
Log Message:
initial import
--- NEW FILE import.log ---
perl-Try-Tiny-0_02-1_fc11:F-11:perl-Try-Tiny-0.02-1.fc11.src.rpm:1253234089
--- NEW FILE perl-Try-Tiny.spec ---
Name: perl-Try-Tiny
Version: 0.02
Release: 1%{?dist}
# lib/Try/Tiny.pm -> MIT
License: MIT
Group: Development/Libraries
Summary: Minimal try/catch with proper localization of $@
Source:
http://search.cpan.org/CPAN/authors/id/N/NU/NUFFIN/Try-Tiny-%{version}.ta...
Url:
http://search.cpan.org/dist/Try-Tiny
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo
$version))
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::More)
%{?perl_default_filter}
%description
The main focus of this module is to provide simple and reliable error
handling for those having a hard time installing TryCatch, but who still
want to write correct 'eval' blocks without 5 lines of boilerplate each
time.
%prep
%setup -q -n Try-Tiny-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make pure_install PERL_INSTALL_ROOT=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
%{_fixperms} %{buildroot}/*
%check
make test
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc Changes
%{perl_vendorlib}/*
%{_mandir}/man3/*.3*
%changelog
* Tue Sep 15 2009 Chris Weyl <cweyl(a)alumni.drew.edu> 0.02-1
- submission
* Tue Sep 15 2009 Chris Weyl <cweyl(a)alumni.drew.edu> 0.02-0
- initial RPM packaging
- generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8)
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-Try-Tiny/F-11/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore 17 Sep 2009 19:14:47 -0000 1.1
+++ .cvsignore 18 Sep 2009 00:35:03 -0000 1.2
@@ -0,0 +1 @@
+Try-Tiny-0.02.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Try-Tiny/F-11/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources 17 Sep 2009 19:14:47 -0000 1.1
+++ sources 18 Sep 2009 00:35:04 -0000 1.2
@@ -0,0 +1 @@
+a6ceb75d533046d85c797ad9e3be4212 Try-Tiny-0.02.tar.gz