/usr move

This commit is contained in:
Victor Ryzhikh 2023-11-10 17:35:36 +00:00
parent 4d89094b69
commit 48b1ec9c11

View file

@ -474,11 +474,6 @@ filelist_excludes()
#%%cmake_install benchdir_root=%{_datadir}/ #%%cmake_install benchdir_root=%{_datadir}/
%makeinstall_std -C build %makeinstall_std -C build
# ROSA: relocate from /usr/lib to /lib
mkdir -p %{buildroot}%{_unitdir}
mv -v %{buildroot}/usr/lib/systemd/system/* %{buildroot}%{_unitdir}
rm -fvr %{buildroot}/usr/lib/systemd/system
# Logrotate file should be named as the package # Logrotate file should be named as the package
if [ ! -e %{buildroot}%{_sysconfdir}/logrotate.d/mysql ]; then if [ ! -e %{buildroot}%{_sysconfdir}/logrotate.d/mysql ]; then
# some versions do not install it automatically # some versions do not install it automatically