delete .o files in /usr

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gsoap?expand=0&rev=236
This commit is contained in:
Jan Engelhardt 2024-04-12 21:45:32 +00:00 committed by Git OBS Bridge
parent c97db3efea
commit 31cba63b01

View File

@ -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*