From 85248dcedaa32848f7b1bbec01486f31815e4375 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Sat, 25 May 2013 13:06:10 +0200 Subject: [PATCH] Use configure --disable-static instead of removing the static .a afterwards --- yelp.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yelp.spec b/yelp.spec index c3db2b9..a3d62a1 100644 --- a/yelp.spec +++ b/yelp.spec @@ -67,7 +67,7 @@ the libraries in the yelp-libs package. %patch2 -p1 %build -%configure +%configure --disable-static # drop unneeded direct library deps with --as-needed # libtool doesn't make this easy, so we do it the hard way @@ -78,7 +78,6 @@ make %{?_smp_mflags} %install make install DESTDIR=$RPM_BUILD_ROOT -rm $RPM_BUILD_ROOT%{_libdir}/libyelp.a rm $RPM_BUILD_ROOT%{_libdir}/libyelp.la %find_lang %{name} @@ -128,6 +127,7 @@ gtk-update-icon-cache %{_datadir}icons/hicolor &> /dev/null || : - Make yelp-libs dep arch-specific, thanks to Michael Schwendt (#967180) - Don't create empty /usr/share/gnome/help directory: this should be owned by individual packages that install files in there (#964421) +- Use configure --disable-static instead of removing the static .a afterwards * Sat May 18 2013 Peter Robinson 1:3.8.1-2 - yelp should depend on yelp-libs not the other way around