From 39730c2de5992fe3a0cab21703e13b2ce430ec27 Mon Sep 17 00:00:00 2001 From: bojan Date: Oct 26 2007 02:21:04 +0000 Subject: Be more cautious and use pkg-config for LIBS too. --- diff --git a/libapreq2.spec b/libapreq2.spec index f75cd83..4263624 100644 --- a/libapreq2.spec +++ b/libapreq2.spec @@ -2,7 +2,7 @@ Name: libapreq2 Version: 2.09 -Release: 0.rc2.10%{?dist} +Release: 0.rc2.11%{?dist} Summary: Apache HTTP request library Group: System Environment/Libraries @@ -94,6 +94,7 @@ apuver=$(apu-1-config --version || apu-config --version) # Fix multilib sed -i -e 's,^libdir=.*,libdir=`pkg-config --variable=libdir %{name}`,' \ -e 's,^LDFLAGS=.*,LDFLAGS=`pkg-config --libs %{name}`,' \ + -e 's,^LIBS=.*,LIBS=`pkg-config --libs %{name}`,' \ -e 's,^INCLUDES=.*,INCLUDES=`pkg-config --cflags-only-I %{name}`,' \ apreq2-config.in @@ -171,6 +172,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Fri Oct 26 2007 Bojan Smojver - 2.09-0.rc2.11 +- err on the side of caution and include more in LIBS + * Tue Oct 23 2007 Bojan Smojver - 2.09-0.rc2.10 - retag for rebuild