This commit is contained in:
liuwei 2019-12-25 09:45:16 +08:00
parent 2b7a4767f8
commit 7f92e9d52c

View File

@ -1,6 +1,6 @@
Name: libbonobo
Version: 2.32.1
Release: 18
Release: 19
License: GPLv2+ and LGPLv2+
Summary: Bonobo component system
URL: https://ftp.gnome.org
@ -48,6 +48,11 @@ make
%delete_la
pushd $RPM_BUILD_ROOT
rm .%{_bindir}/echo-client-2 .%{_libdir}/*.a .%{_libdir}/bonobo/monikers/*.*a \
.%{_libdir}/orbit-2.0/*.*a .%{_bindir}/bonobo-slay
popd
for serverfile in $RPM_BUILD_ROOT%{_libdir}/bonobo/servers/*.server; do
sed -i -e 's|location *= *"/usr/lib\(64\)*/|location="/usr/$LIB/|' $serverfile
done
@ -89,6 +94,12 @@ mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/bonobo/servers
%{_datadir}/man/man*/*
%changelog
* Wed Dec 25 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.32.1-19
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:delete redundance
* Sat Oct 19 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.32.1-18
- Type:bugfix
- Id:NA