- and fix our tests subpackage included files

This commit is contained in:
Chris Weyl 2010-05-16 04:25:32 +00:00
parent 609d1be96a
commit 00a6e7f80d

View File

@ -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 <cweyl@alumni.drew.edu> 1:0.71-3
- and fix our tests subpackage included files
* Sat May 15 2010 Chris Weyl <cweyl@alumni.drew.edu> 1:0.71-2
- fix license: BSD => OML