From 150e93d3eabc0a83cd79ac7e25ff19efec2b7d69 Mon Sep 17 00:00:00 2001 From: Chris Weyl Date: Sun, 21 Mar 2010 01:55:55 +0000 Subject: [PATCH] - update by Fedora::App::MaintainerTools 0.006 - PERL_INSTALL_ROOT => DESTDIR - added a new req on perl(File::Temp) (version 0) - dropped old requires on perl(DBIx::Class) - dropped old requires on perl(ExtUtils::MakeMaker) --- .cvsignore | 1 + perl-DBICx-TestDatabase.spec | 64 +++++++++++++++++++----------------- 2 files changed, 35 insertions(+), 30 deletions(-) diff --git a/.cvsignore b/.cvsignore index e69de29..3f73b14 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +DBICx-TestDatabase-0.02.tar.gz diff --git a/perl-DBICx-TestDatabase.spec b/perl-DBICx-TestDatabase.spec index b44aac7..f040997 100644 --- a/perl-DBICx-TestDatabase.spec +++ b/perl-DBICx-TestDatabase.spec @@ -1,31 +1,29 @@ -Name: perl-DBICx-TestDatabase -Version: 0.02 -Release: 4%{?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) -Requires: perl(DBD::SQLite) +Name: perl-DBICx-TestDatabase +Summary: Create a temporary database from a DBIx::Class::Schema +Version: 0.02 +Release: 2%{?dist} +License: GPL+ or Artistic +Group: Development/Libraries +Source0: 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) + +Requires: perl(DBD::SQLite) +Requires: perl(File::Temp) +Requires: perl(SQL::Translator) + +%{?perl_default_filter} +%{?perl_default_subpackage_tests} %description This module creates a temporary SQLite database, deploys your DBIC @@ -45,7 +43,7 @@ make %{?_smp_mflags} %install rm -rf %{buildroot} -make pure_install PERL_INSTALL_ROOT=%{buildroot} +make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} ';' find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' @@ -64,6 +62,13 @@ rm -rf %{buildroot} %{_mandir}/man3/*.3* %changelog +* Sun Mar 21 2010 Chris Weyl 0.02-2 +- update by Fedora::App::MaintainerTools 0.006 +- PERL_INSTALL_ROOT => DESTDIR +- added a new req on perl(File::Temp) (version 0) +- dropped old requires on perl(DBIx::Class) +- dropped old requires on perl(ExtUtils::MakeMaker) + * Mon Dec 7 2009 Stepan Kasal - 0.02-4 - rebuild against perl 5.10.1 @@ -79,4 +84,3 @@ rm -rf %{buildroot} * Tue Jun 02 2009 Chris Weyl 0.02-0 - initial RPM packaging - generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8) -