rpms/perl-Throwable/F-11 perl-Throwable.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Iain Arnell
iarnell at fedoraproject.org
Sat Jan 16 07:39:02 UTC 2010
Author: iarnell
Update of /cvs/pkgs/rpms/perl-Throwable/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv8336/F-11
Modified Files:
.cvsignore sources
Added Files:
perl-Throwable.spec
Log Message:
initial import of perl-Throwable
--- NEW FILE perl-Throwable.spec ---
Name: perl-Throwable
Version: 0.100090
Release: 1%{?dist}
Summary: Role for classes that can be thrown
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Throwable/
Source0: http://www.cpan.org/authors/id/R/RJ/RJBS/Throwable-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(Devel::StackTrace) >= 1.21
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.11
BuildRequires: perl(Moose) >= 0.87
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Pod)
BuildRequires: perl(Test::Pod::Coverage)
# not available yet
#BuildRequires: perl(Pod::Coverage::TrustPod)
Requires: perl(Devel::StackTrace) >= 1.21
Requires: perl(ExtUtils::MakeMaker) >= 6.11
Requires: perl(Moose) >= 0.87
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
Throwable is a role for classes that are meant to be thrown as exceptions
to standard program flow. It is very simple and does only two things: saves
any previous value for $@ and calls die $self.
%prep
%setup -q -n Throwable-%{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 -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
RELEASE_TESTING=1 make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes dist.ini LICENSE META.json README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Thu Jan 14 2010 Iain Arnell 0.100090-1
- Specfile autogenerated by cpanspec 1.78.
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Throwable/F-11/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore 15 Jan 2010 20:01:04 -0000 1.1
+++ .cvsignore 16 Jan 2010 07:39:02 -0000 1.2
@@ -0,0 +1 @@
+Throwable-0.100090.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Throwable/F-11/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources 15 Jan 2010 20:01:04 -0000 1.1
+++ sources 16 Jan 2010 07:39:02 -0000 1.2
@@ -0,0 +1 @@
+c15f89d2b4902d548b3532ff46dde565 Throwable-0.100090.tar.gz
More information about the perl-devel
mailing list