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

This commit is contained in:
Kalev Lember 2013-05-25 13:06:10 +02:00
parent 1d93858f55
commit 85248dceda

View File

@ -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@fedoraproject.org> 1:3.8.1-2
- yelp should depend on yelp-libs not the other way around