!40 [sync] PR-39: Delete %insserv_cleanup. Add missing macros

From: @openeuler-sync-bot
Reviewed-by: @small_leek
Signed-off-by: @small_leek
This commit is contained in:
openeuler-ci-bot 2021-06-09 15:09:18 +08:00 committed by Gitee
commit f092a97333

View File

@ -1,8 +1,11 @@
%global do_check 0
%global apache_user apache
%global apache_group apache
%global obs_api_support_scripts obs-api-support.target obs-clockwork.service obs-delayedjob-queue-consistency_check.service obs-delayedjob-queue-default.service
Name: obs-server
Version: 2.10.1
Release: lp151.23.7
Release: lp151.23.8
Summary: The Open Build Service -- Server Component
License: GPL-2.0-only or GPL-3.0-only
URL: http://www.openbuildservice.org
@ -295,7 +298,6 @@ if [ -e %{_rundir}/start_obs-api-support.target ];then
fi
%postun -n obs-api
%insserv_cleanup
%systemd_postun_with_restart %{obs_api_support_scripts}
%systemd_postun_with_restart httpd
@ -478,6 +480,10 @@ usermod -a -G docker obsservicerun
%{_sbindir}/rcobsstoragesetup
%changelog
* Thu Nov 26 2020 yanglongkang <yanglongkang@huawei.com> - 2.10.1-lp151.23.8
- Delete %insserv_cleanup.
Add missing macros.
* Tue Mar 16 2021 yanglongkang <yanglongkang@huawei.com> - 2.10.1-lp151.23.7
- fix CVE-2020-8020 CVE-2020-8021