From ff52b7a3abceab118d7e99547093bcf1f926fed0 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Sun, 21 Aug 2016 17:27:16 +0200 Subject: [PATCH] Build with --disable-static Instead of building static libraries and then removing them afterwards, just pass --disable-static to configure. --- gedit.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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