Skip to content

Commit

Permalink
perl-Plack-0.9978-1 builds on el6
Browse files Browse the repository at this point in the history
  • Loading branch information
hakamadare committed May 20, 2011
1 parent 6667f3f commit 2e342fb
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion specs/perl-Plack/perl-Plack.spec
Expand Up @@ -3,9 +3,13 @@
# Upstream: Tatsuhiko Miyagawa <miyagawa$bulknews,com>
# ExcludeDist: el3 el4

# el6 ships with perl-Devel-StackTrace-1.22, we need a later version
%{?el6:# Tag: rfx}

%define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $installvendorarch)


%define real_name Plack

Summary: Perl Superglue for Web frameworks and servers (PSGI toolkit)
Expand Down Expand Up @@ -70,7 +74,7 @@ are and why we need them.
%{?el5:%{__perl} -pi -e '/.*ExtUtils::MakeMaker.*6\.42.*/ && s/6\.42/6.30/' Makefile.PL}

%build
%{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
%{__perl} Makefile.PL --skipdeps INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
%{__make} %{?_smp_mflags}

%install
Expand All @@ -93,6 +97,7 @@ are and why we need them.
%{perl_vendorlib}/Plack/*
%{perl_vendorlib}/HTTP/Message/*
%{perl_vendorlib}/HTTP/Server/*
%{perl_vendorlib}/auto/share/dist/Plack/
%{_bindir}/*
#%exclude %{perl_archlib}/perllocal.pod
%exclude %{perl_vendorarch}/auto/*/.packlist
Expand Down

0 comments on commit 2e342fb

Please sign in to comment.