Author: cweyl Update of /cvs/extras/rpms/perl-MooseX-StrictConstructor/devel In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv2503/devel Modified Files: .cvsignore sources Added Files: import.log perl-MooseX-StrictConstructor.spec Log Message: initial commit --- NEW FILE import.log --- perl-MooseX-StrictConstructor-0_07-1_fc9:HEAD:perl-MooseX-StrictConstructor-0.07-1.fc9.src.rpm:1225349680 --- NEW FILE perl-MooseX-StrictConstructor.spec --- Name: perl-MooseX-StrictConstructor Version: 0.07 Release: 1%{?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 * Sun Oct 26 2008 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 0.07-1 - clean up for submission * Sun Oct 26 2008 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 0.07-0.1 - initial RPM packaging - generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.5) Index: .cvsignore =================================================================== RCS file: /cvs/extras/rpms/perl-MooseX-StrictConstructor/devel/.cvsignore,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- .cvsignore 29 Oct 2008 21:28:38 -0000 1.1 +++ .cvsignore 30 Oct 2008 06:54:53 -0000 1.2 @@ -0,0 +1 @@ +MooseX-StrictConstructor-0.07.tar.gz Index: sources =================================================================== RCS file: /cvs/extras/rpms/perl-MooseX-StrictConstructor/devel/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 06:54:53 -0000 1.2 @@ -0,0 +1 @@ +f5c258dfb52699b261c9ab1458d6f64c MooseX-StrictConstructor-0.07.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl Fedora-perl-devel-list mailing list Fedora-perl-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list