Build with --disable-static

Instead of building static libraries and then removing them afterwards,
just pass --disable-static to configure.
This commit is contained in:
Kalev Lember 2016-08-21 17:27:16 +02:00
parent ce52a96482
commit ff52b7a3ab

View File

@ -105,6 +105,7 @@ Install gedit-devel if you want to write plugins for gedit.
%build
%configure \
--disable-static \
--disable-gtk-doc \
--enable-introspection=yes \
%if %{with_python3}
@ -119,8 +120,6 @@ make %{_smp_mflags}
%install
%make_install
## clean up all the static libs for plugins (workaround for no -module)
/bin/rm -f `find $RPM_BUILD_ROOT%{_libdir} -name "*.a"`
/bin/rm -f `find $RPM_BUILD_ROOT%{_libdir} -name "*.la"`
%find_lang %{name} --with-gnome