[yelp/f19] Use configure --disable-static instead of removing the static .a afterwards

Kalev Lember kalev at fedoraproject.org
Sat May 25 11:14:26 UTC 2013


commit 1370a7e026d16f08786daa01ba37124de22f14d3
Author: Kalev Lember <kalevlember at gmail.com>
Date:   Sat May 25 13:06:10 2013 +0200

    Use configure --disable-static instead of removing the static .a afterwards

 yelp.spec |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/yelp.spec b/yelp.spec
index e1c0580..441f34d 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 <pbrobinson at fedoraproject.org> 1:3.8.1-2
 - yelp should depend on yelp-libs not the other way around


More information about the scm-commits mailing list