Accepting request 195494 from KDE:Qt5

Fix INSTALL_LIBDIR_RPM and INSTALL_PLUGINDIR_RPM, they need to point to %_lib, not %_libdir
Drop so symlink generation and removal, that is not necessary and breaks non x86_64 builds of dependent packages

OBS-URL: https://build.opensuse.org/request/show/195494
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=131
This commit is contained in:
Michal Hrusecky (old before rename to _miska_)
2013-08-21 12:50:06 +00:00
committed by Git OBS Bridge
parent a9047ea8f8
commit 5a7975002d
3 changed files with 10 additions and 19 deletions

View File

@@ -125,23 +125,6 @@ cat mysql-ndb-storage.files mysql-ndb-management.files \
rm -f .$tmp
done
%endif
pushd '%buildroot'/%_libdir
for i in *.so.*.*.*; do
if [ -L "$i" ]; then
trg="`readlink "$i"`"
rm "$i"
mv "$trg" "$i"
ln -s "$i" "$trg"
fi
done
for i in *.so.*; do
if [ -L "$i" ] && [ -L "`readlink "$i"`" ]; then
trg="`readlink "$i"`"
rm "$i"
ln -s "`readlink "$trg"`" "$i"
fi
done
popd
%if ! 0%{prefered} > 0
cat libmysqlclient-devel.files | sed 's|%%doc\ ||' | while read tmp; do
cd '%buildroot'