Author: cweyl Update of /cvs/extras/rpms/perl-DBICx-TestDatabase/devel In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv25695 Modified Files: sources Added Files: perl-DBICx-TestDatabase.spec Log Message: * Tue Jun 02 2009 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 0.02-1 - update for submission --- NEW FILE perl-DBICx-TestDatabase.spec --- Name: perl-DBICx-TestDatabase Version: 0.02 Release: 1%{?dist} # lib/DBICx/TestDatabase.pm -> GPL+ or Artistic # lib/DBICx/TestDatabase/Subclass.pm -> GPL+ or Artistic License: GPL+ or Artistic Group: Development/Libraries Summary: Create a temporary database from a DBIx::Class::Schema Source: http://search.cpan.org/CPAN/authors/id/J/JR/JROCKWAY/DBICx-TestDatabase-%{version}.tar.gz Url: http://search.cpan.org/dist/DBICx-TestDatabase BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildArch: noarch BuildRequires: perl(DBD::SQLite) BuildRequires: perl(DBIx::Class) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Temp) BuildRequires: perl(ok) BuildRequires: perl(SQL::Translator) BuildRequires: perl(Test::More) BuildRequires: perl(DBD::SQLite) # not automagically picked up Requires: perl(DBIx::Class) Requires: perl(ExtUtils::MakeMaker) Requires: perl(SQL::Translator) %description This module creates a temporary SQLite database, deploys your DBIC schema, and then connects to it. This lets you easily test your DBIC schema. Since you have a fresh database for every test, you don't have to worry about cleaning up after your tests, ordering of tests affecting failure, etc. %prep %setup -q -n DBICx-TestDatabase-%{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 README Changes %{perl_vendorlib}/* %{_mandir}/man3/*.3* %changelog * Tue Jun 02 2009 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 0.02-1 - update for submission * Tue Jun 02 2009 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 0.02-0 - initial RPM packaging - generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8) Index: sources =================================================================== RCS file: /cvs/extras/rpms/perl-DBICx-TestDatabase/devel/sources,v retrieving revision 1.1 retrieving revision 1.2 diff -u -p -r1.1 -r1.2 --- sources 3 Jun 2009 17:07:57 -0000 1.1 +++ sources 4 Jun 2009 04:17:10 -0000 1.2 @@ -0,0 +1 @@ +e236d1a2bb4b07c70b35af0ae6e49415 DBICx-TestDatabase-0.02.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