rpms/perl-MooseX-StrictConstructor/F-9 perl-MooseX-StrictConstructor.spec, NONE, 1.1 sources, 1.1, 1.2
Chris Weyl
cweyl at fedoraproject.org
Thu Oct 30 16:32:42 UTC 2008
- Previous message (by thread): rpms/perl-MooseX-StrictConstructor/F-8 import.log, NONE, 1.1 perl-MooseX-StrictConstructor.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/perl-Net-RawIP/devel .cvsignore, 1.3, 1.4 perl-Net-RawIP.spec, 1.2, 1.3 sources, 1.3, 1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: cweyl
Update of /cvs/extras/rpms/perl-MooseX-StrictConstructor/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv31524
Modified Files:
sources
Added Files:
perl-MooseX-StrictConstructor.spec
Log Message:
initial commit
--- NEW FILE perl-MooseX-StrictConstructor.spec ---
Name: perl-MooseX-StrictConstructor
Version: 0.07
Release: 2%{?dist}
# see lib/MooseX/StrictConstructor.pm
License: GPL+ or Artistic
Group: Development/Libraries
Summary: Make your object constructors blow up on unknown attributes
Source: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/MooseX-StrictConstructor-%{version}.tar.gz
Url: http://search.cpan.org/dist/MooseX-StrictConstructor
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(Module::Build::Compat)
BuildRequires: perl(Moose) >= 0.56
BuildRequires: perl(Test::More)
%description
Simply loading this module makes your constructors "strict". If your
constructor is called with an attribute init argument that your class does
not declare, then it calls "Carp::confess()". This is a great way to catch
small typos.
%prep
%setup -q -n MooseX-StrictConstructor-%{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 README t/
%{perl_vendorlib}/*
%{_mandir}/man3/*.3*
%changelog
* Wed Oct 29 2008 Chris Weyl <cweyl at alumni.drew.edu> 0.07-2
- bump
* Sun Oct 26 2008 Chris Weyl <cweyl at alumni.drew.edu> 0.07-1
- clean up for submission
* Sun Oct 26 2008 Chris Weyl <cweyl at alumni.drew.edu> 0.07-0.1
- initial RPM packaging
- generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.5)
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-MooseX-StrictConstructor/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 29 Oct 2008 21:28:39 -0000 1.1
+++ sources 30 Oct 2008 16:32:12 -0000 1.2
@@ -0,0 +1 @@
+f5c258dfb52699b261c9ab1458d6f64c MooseX-StrictConstructor-0.07.tar.gz
- Previous message (by thread): rpms/perl-MooseX-StrictConstructor/F-8 import.log, NONE, 1.1 perl-MooseX-StrictConstructor.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/perl-Net-RawIP/devel .cvsignore, 1.3, 1.4 perl-Net-RawIP.spec, 1.2, 1.3 sources, 1.3, 1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Fedora-perl-devel-list
mailing list