Use configure --disable-static instead of removing the static .a afterwards
This commit is contained in:
parent
1d93858f55
commit
85248dceda
@ -67,7 +67,7 @@ the libraries in the yelp-libs package.
|
|||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure --disable-static
|
||||||
|
|
||||||
# drop unneeded direct library deps with --as-needed
|
# drop unneeded direct library deps with --as-needed
|
||||||
# libtool doesn't make this easy, so we do it the hard way
|
# libtool doesn't make this easy, so we do it the hard way
|
||||||
@ -78,7 +78,6 @@ make %{?_smp_mflags}
|
|||||||
%install
|
%install
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
|
||||||
rm $RPM_BUILD_ROOT%{_libdir}/libyelp.a
|
|
||||||
rm $RPM_BUILD_ROOT%{_libdir}/libyelp.la
|
rm $RPM_BUILD_ROOT%{_libdir}/libyelp.la
|
||||||
|
|
||||||
%find_lang %{name}
|
%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)
|
- 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
|
- Don't create empty /usr/share/gnome/help directory: this should be owned by
|
||||||
individual packages that install files in there (#964421)
|
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
|
* 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
|
- yelp should depend on yelp-libs not the other way around
|
||||||
|
Loading…
Reference in New Issue
Block a user