solve the upgrade bug.

This commit is contained in:
si-gui 2020-08-10 14:26:31 +08:00
parent b7de5ce856
commit f8548bcf47

View File

@ -70,17 +70,17 @@ if [ -f %{_initddir}/mysql ];then
fi
%postun
rm -rf %{_prefix}/local/%{name}
userdel -r %{name} &>/dev/null
%files
%dir %{_prefix}/local/%{name}
%attr(755, %{name}, %{name}) %{_prefix}/local/%{name}/*
%exclude /usr/src/debug
%exclude /usr/lib/debug
%changelog
* Sat Aug 8 2020 Guoshuai Sun <sunguoshuai@huawei.com> 8.0.21-1
- Upgrade to 8.0.21
- Upgrade to 8.0.21 and fix the upgrade bug in old version
* Wed Mar 1 2020 zhangtao<zhangtao221@huawei.com> 8.0.17-3
- add fstack-protector-strong