From 00a6e7f80d341ce51ec6183422773af60e266461 Mon Sep 17 00:00:00 2001 From: Chris Weyl Date: Sun, 16 May 2010 04:25:32 +0000 Subject: [PATCH] - and fix our tests subpackage included files --- perl-FCGI.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/perl-FCGI.spec b/perl-FCGI.spec index 9f46912..5d86948 100644 --- a/perl-FCGI.spec +++ b/perl-FCGI.spec @@ -3,7 +3,7 @@ Summary: FastCGI Perl bindings # needed to properly replace/obsolete fcgi-perl Epoch: 1 Version: 0.71 -Release: 2%{?dist} +Release: 3%{?dist} # same as fcgi License: OML Group: Development/Libraries @@ -18,7 +18,7 @@ Provides: fcgi-perl = %{epoch}:%{version}-%{release} Obsoletes: fcgi-perl =< 2.4.0 %{?perl_default_filter} -%{?perl_default_subpackage_tests} +%{?perl_subpackage_tests: %perl_subpackage_tests test.pl .proverc test.t } %description %{summary}. @@ -27,6 +27,10 @@ Obsoletes: fcgi-perl =< 2.4.0 %setup -q -n FCGI-%{version} find . -type f -exec chmod -c -x {} + +echo "test.pl" > .proverc +# limitation in the macros, currently -- must have at least one .t :\ +cp test.pl test.t + %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" make %{?_smp_mflags} @@ -56,6 +60,9 @@ rm -rf %{buildroot} %{_mandir}/man3/*.3* %changelog +* Sat May 15 2010 Chris Weyl 1:0.71-3 +- and fix our tests subpackage included files + * Sat May 15 2010 Chris Weyl 1:0.71-2 - fix license: BSD => OML