[packages/gimp] don't create object files archives when building without static_libs
atler
atler at pld-linux.org
Mon Jan 26 18:37:28 CET 2026
commit 58aa4fccc539bcddb79afed379c3318f39f89049
Author: Jan Palus <atler at pld-linux.org>
Date: Mon Jan 26 18:35:37 2026 +0100
don't create object files archives when building without static_libs
gimp.spec | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/gimp.spec b/gimp.spec
index 7ecb041..21b6816 100644
--- a/gimp.spec
+++ b/gimp.spec
@@ -401,6 +401,7 @@ API języka Vala dla gimpa.
%build
%meson \
+ %{!?with_static_libs:--default-library=shared} \
-Dbug-report-url="https://www.pld-linux.org/" \
-Dappdata-test=disabled \
-Dwith-sendmail=/usr/lib/sendmail \
@@ -426,8 +427,6 @@ done
echo ".so gimprc-3.0.5" > $RPM_BUILD_ROOT%{_mandir}/man5/gimprc-3.5
echo ".so gimprc-3.0.5" > $RPM_BUILD_ROOT%{_mandir}/man5/gimprc.5
-#%{?with_static_libs:%{__rm} $RPM_BUILD_ROOT%{_libdir}/gimp/%{mver}/modules/*.a}
-
# don't hide python/python3 behind /usr/bin/env
%{__sed} -E -i -e '1s,#!\s*/usr/bin/env\s+python3(\s|$),#!%{__python3}\1,' \
$RPM_BUILD_ROOT%{_libdir}/gimp/%{mver}/plug-ins/*/*.py \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gimp.git/commitdiff/58aa4fccc539bcddb79afed379c3318f39f89049
More information about the pld-cvs-commit
mailing list