From 23354dc39700d9c04c21e0d97b58f651572f368b Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Feb 05 2013 22:31:55 +0000 Subject: Use configure --disable-static We used to first build the static library and then remove it with rm afterwards. This change avoids building the unwanted static library in the first place. --- diff --git a/libsoup.spec b/libsoup.spec index 2ae422f..af15d16 100644 --- a/libsoup.spec +++ b/libsoup.spec @@ -49,7 +49,7 @@ you to develop applications that use the libsoup library. %setup -q %build -%configure +%configure --disable-static # Omit unused direct shared library dependencies. sed --in-place --expression 's! -shared ! -Wl,--as-needed\0!g' libtool @@ -60,7 +60,6 @@ make %{?_smp_mflags} make DESTDIR=$RPM_BUILD_ROOT install rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la -rm -f $RPM_BUILD_ROOT/%{_libdir}/*.a %find_lang libsoup