diff --git a/gedit.spec b/gedit.spec index 3838e93..4546cf5 100644 --- a/gedit.spec +++ b/gedit.spec @@ -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