From 585bfa08ac64b367f750aecf47daca1cfd9e096d Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Wed, 25 Dec 2002 21:39:35 +0000 Subject: [PATCH] - use fixed libtool instead of hacking *.la - BR: libtool with C++ libraries support (>= 1.4d, not 1.4.x) Changed files: fcgi.spec -> 1.6 --- fcgi.spec | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/fcgi.spec b/fcgi.spec index 2c26b7e..3d828d8 100644 --- a/fcgi.spec +++ b/fcgi.spec @@ -9,6 +9,8 @@ Source0: http://www.fastcgi.com/dist/%{name}-%{version}.tar.gz Patch0: %{name}-no-libs.patch URL: http://www.fastcgi.com/ BuildRequires: autoconf +BuildRequires: automake +BuildRequires: libtool >= 2:1.4d-3 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _includedir %{_prefix}/include/fastcgi @@ -84,7 +86,11 @@ Statyczna biblioteka FastCGI. %patch -p1 %build +# supplied libtool is broken (relink, C++) +%{__libtoolize} +%{__aclocal} %{__autoconf} +%{__automake} %configure \ --with-global \ --with-nodebug \ @@ -93,11 +99,6 @@ Statyczna biblioteka FastCGI. %{__make} -# avoid relinking -cd libfcgi -sed -e '/^relink_command.*/d' libfcgi++.la > libfcgi++.la.tmp -mv -f libfcgi++.la.tmp libfcgi++.la - %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{_examplesdir}/fastcgi -- 2.44.0