From 31cba63b014d57c3f42c84a1d43edeb3537f8b1173cfc05a1db847d653350ede Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 12 Apr 2024 21:45:32 +0000 Subject: [PATCH] delete .o files in /usr OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gsoap?expand=0&rev=236 --- gsoap.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gsoap.spec b/gsoap.spec index c0d4db6..04d4d39 100644 --- a/gsoap.spec +++ b/gsoap.spec @@ -107,12 +107,12 @@ rm -f "$b/%_libdir"/*.la mkdir -p "$b/%_defaultdocdir" cp -a gsoap/doc "$b/%_defaultdocdir/%name" find "$b" -type f -name "*inconsolata*" -exec chmod a-x "{}" "+" +find "$b/%_datadir" -name "*.o" -print -delete %if 0%{?fdupes:1} %fdupes %buildroot/%_prefix %endif -%post -n %lname -p /sbin/ldconfig -%postun -n %lname -p /sbin/ldconfig +%ldconfig_scriptlets -n %lname %files devel %_bindir/*soap*