!20 规范mysql.spec语法
From: @writings-of-prince-huainan Reviewed-by: @disnight,@small_leek Signed-off-by: @small_leek
This commit is contained in:
commit
638a0aa81d
@ -7,7 +7,7 @@
|
|||||||
%global boost_bundled_version 1.73.0
|
%global boost_bundled_version 1.73.0
|
||||||
Name: mysql
|
Name: mysql
|
||||||
Version: 8.0.22
|
Version: 8.0.22
|
||||||
Release: 2
|
Release: 3
|
||||||
License: GPLv2 with exceptions and LGPLv2 and BSD
|
License: GPLv2 with exceptions and LGPLv2 and BSD
|
||||||
Summary: The world's most popular open source database
|
Summary: The world's most popular open source database
|
||||||
URL: http://www.mysql.com/
|
URL: http://www.mysql.com/
|
||||||
@ -85,7 +85,7 @@ if [ -f %{_prefix}/local/%{name}/support-files/mysql.server > /dev/null 2>&1 ]
|
|||||||
chkconfig --level 2345 mysql on
|
chkconfig --level 2345 mysql on
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f %{_prefix}/local/%{name}/lib/private];then
|
if [ -e %{_prefix}/local/%{name}/lib/private ];then
|
||||||
echo "%{_prefix}/local/%{name}/lib/private" > %{_sysconfdir}/ld.so.conf.d/%{name}.conf
|
echo "%{_prefix}/local/%{name}/lib/private" > %{_sysconfdir}/ld.so.conf.d/%{name}.conf
|
||||||
ldconfig
|
ldconfig
|
||||||
fi
|
fi
|
||||||
@ -97,7 +97,7 @@ fi
|
|||||||
if [ -f %{_initddir}/mysql ];then
|
if [ -f %{_initddir}/mysql ];then
|
||||||
mv %{_initddir}/mysql %{_initddir}/mysql.rpmold
|
mv %{_initddir}/mysql %{_initddir}/mysql.rpmold
|
||||||
fi
|
fi
|
||||||
if [ -f %{_sysconfdir}/ld.so.conf.d/%{name}.conf];then
|
if [ -f %{_sysconfdir}/ld.so.conf.d/%{name}.conf ];then
|
||||||
rm -f %{_sysconfdir}/ld.so.conf.d/%{name}.conf
|
rm -f %{_sysconfdir}/ld.so.conf.d/%{name}.conf
|
||||||
ldconfig
|
ldconfig
|
||||||
fi
|
fi
|
||||||
@ -112,6 +112,9 @@ userdel -r %{name} &>/dev/null
|
|||||||
%exclude /usr/lib/debug
|
%exclude /usr/lib/debug
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Dec 1 2020 weishengjing <weishengjing1@huawei.com> 8.0.22-3
|
||||||
|
- modify symbol issues of spec
|
||||||
|
|
||||||
* Mon Nov 30 2020 weishengjing <weishengjing1@huawei.com> 8.0.22-2
|
* Mon Nov 30 2020 weishengjing <weishengjing1@huawei.com> 8.0.22-2
|
||||||
- add libprotobuf-lite.so to /usr/lib64
|
- add libprotobuf-lite.so to /usr/lib64
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user