commit fb1c19890dfe702b6e314659517af888176938ff Author: Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx> Date: Mon Apr 9 20:07:12 2012 +0200 Add the perl_bootstrap macro perl-Titanium.spec | 19 +++++++++++-------- 1 files changed, 11 insertions(+), 8 deletions(-) --- diff --git a/perl-Titanium.spec b/perl-Titanium.spec index eea9d4a..ef2b132 100644 --- a/perl-Titanium.spec +++ b/perl-Titanium.spec @@ -1,12 +1,11 @@ Name: perl-Titanium Version: 1.04 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Strong, lightweight web application famework License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Titanium/ Source0: http://search.cpan.org/CPAN/authors/id/M/MA/MARKSTOS/Titanium-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(CGI::Application) >= 4 BuildRequires: perl(CGI::Application::Dispatch) @@ -25,11 +24,16 @@ BuildRequires: perl(CGI::Application::Plugin::ValidateRM) BuildRequires: perl(CGI::Application::Server) BuildRequires: perl(CGI::Application::Standard::Config) BuildRequires: perl(Module::Build) +# Module::Starter::Plugin::CGIApp requires Titanium itself +%if 0%{!?perl_bootstrap:1} BuildRequires: perl(Module::Starter::Plugin::CGIApp) +%endif BuildRequires: perl(Test::Pod) BuildRequires: perl(Test::WWW::Mechanize::CGIApp) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +%{?perl_default_filter} + %description Titanium is a more user-friendly packaging of the mature CGI::Application framework and some useful plugins, with the intention of creating a strong @@ -45,8 +49,6 @@ such as FastCGI or mod_perl. ./Build %install -rm -rf $RPM_BUILD_ROOT - ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; @@ -55,16 +57,17 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %check ./Build test -%clean -rm -rf $RPM_BUILD_ROOT - %files -%defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog +* Mon Apr 09 2012 Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx> - 1.04-7 +- Add the perl_bootstrap macro, thanks to Paul Howarth (#810868) +- Add perl default filter +- Clean up spec file + * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.04-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild -- 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