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:
parent
c97db3efea
commit
31cba63b01
@ -107,12 +107,12 @@ rm -f "$b/%_libdir"/*.la
|
|||||||
mkdir -p "$b/%_defaultdocdir"
|
mkdir -p "$b/%_defaultdocdir"
|
||||||
cp -a gsoap/doc "$b/%_defaultdocdir/%name"
|
cp -a gsoap/doc "$b/%_defaultdocdir/%name"
|
||||||
find "$b" -type f -name "*inconsolata*" -exec chmod a-x "{}" "+"
|
find "$b" -type f -name "*inconsolata*" -exec chmod a-x "{}" "+"
|
||||||
|
find "$b/%_datadir" -name "*.o" -print -delete
|
||||||
%if 0%{?fdupes:1}
|
%if 0%{?fdupes:1}
|
||||||
%fdupes %buildroot/%_prefix
|
%fdupes %buildroot/%_prefix
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%post -n %lname -p /sbin/ldconfig
|
%ldconfig_scriptlets -n %lname
|
||||||
%postun -n %lname -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%_bindir/*soap*
|
%_bindir/*soap*
|
||||||
|
Loading…
Reference in New Issue
Block a user