commit 01e04ec6d55e288c7de3347040ee1c2aab759aff Author: Emmanuel Seyman <emmanuel@xxxxxxxxx> Date: Sun Jan 27 11:33:50 2013 +0100 Update to 4.01 .gitignore | 1 + perl-CGI-Application-Plugin-DBH.spec | 31 ++++++++++++++++++------------- sources | 2 +- 3 files changed, 20 insertions(+), 14 deletions(-) --- diff --git a/.gitignore b/.gitignore index 875b647..dcbeeff 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ CGI-Application-Plugin-DBH-4.00.tar.gz +/CGI-Application-Plugin-DBH-4.01.tar.gz diff --git a/perl-CGI-Application-Plugin-DBH.spec b/perl-CGI-Application-Plugin-DBH.spec index 1b07998..f49f613 100644 --- a/perl-CGI-Application-Plugin-DBH.spec +++ b/perl-CGI-Application-Plugin-DBH.spec @@ -1,22 +1,25 @@ Name: perl-CGI-Application-Plugin-DBH -Version: 4.00 -Release: 10%{?dist} +Version: 4.01 +Release: 1%{?dist} Summary: Easy DBI access from CGI::Application License: GPL+ or Artistic -Group: Development/Libraries + URL: http://search.cpan.org/dist/CGI-Application-Plugin-DBH/ Source0: http://www.cpan.org/authors/id/M/MA/MARKSTOS/CGI-Application-Plugin-DBH-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + BuildArch: noarch BuildRequires: perl(CGI::Application) BuildRequires: perl(DBD::Mock) >= 0.11 BuildRequires: perl(DBI) BuildRequires: perl(Module::Build) +BuildRequires: perl(Test::MockObject) >= 1.20120301 BuildRequires: perl(Test::More) BuildRequires: perl(Test::Pod) BuildRequires: perl(CGI) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +%{?perl_default_filter} + %description CGI::Application::Plugin::DBH adds easy access to a DBI database handle to your CGI::Application modules. Lazy loading is used to prevent a database @@ -28,30 +31,32 @@ actually needed. %setup -q -n CGI-Application-Plugin-DBH-%{version} %build -%{__perl} Build.PL installdirs=vendor -./Build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} %install -rm -rf $RPM_BUILD_ROOT +make pure_install DESTDIR=%{buildroot} -./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check -./Build test - -%clean -rm -rf $RPM_BUILD_ROOT +make test %files -%defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog +* Sun Jan 27 2013 Emmanuel Seyman <emmanuel@xxxxxxxxx> - 4.01-1 +- Update to 4.01 +- Switch to Makefile.PL building +- Add perl default filter +- Remove no-longer-used macros + * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 4.00-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild diff --git a/sources b/sources index 83afaa0..6f70f72 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -9cfb1ad525f45553fd7221f524a5bf19 CGI-Application-Plugin-DBH-4.00.tar.gz +ca72a77ad5ec453459db4b1e418ca0de CGI-Application-Plugin-DBH-4.01.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel