rpms/perl-MooseX-StrictConstructor/F-9 perl-MooseX-StrictConstructor.spec, NONE, 1.1 sources, 1.1, 1.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx> 0.07-2
- bump

* 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: 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

--
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

[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux