!97 [sync] PR-95: 修复obs-api安装是多余提示信息
From: @openeuler-sync-bot Reviewed-by: @small_leek Signed-off-by: @small_leek
This commit is contained in:
commit
2c8f2aa752
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
Name: obs-server
|
Name: obs-server
|
||||||
Version: 2.10.11
|
Version: 2.10.11
|
||||||
Release: 3
|
Release: 4
|
||||||
Summary: The Open Build Service -- Server Component
|
Summary: The Open Build Service -- Server Component
|
||||||
License: GPL-2.0-only or GPL-3.0-only
|
License: GPL-2.0-only or GPL-3.0-only
|
||||||
URL: http://www.openbuildservice.org
|
URL: http://www.openbuildservice.org
|
||||||
@ -285,9 +285,9 @@ for i in production.rb ; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
if [ ! -s /srv/www/obs/api/config/secret.key ]; then
|
if [ ! -s /srv/www/obs/api/config/secret.key ]; then
|
||||||
pushd /srv/www/obs/api
|
pushd /srv/www/obs/api >& /dev/null
|
||||||
RAILS_ENV=production bin/rails secret > /srv/www/obs/api/config/secret.key
|
RAILS_ENV=production bin/rails secret > /srv/www/obs/api/config/secret.key
|
||||||
popd
|
popd >& /dev/null
|
||||||
fi
|
fi
|
||||||
chmod 0640 /srv/www/obs/api/config/secret.key
|
chmod 0640 /srv/www/obs/api/config/secret.key
|
||||||
chown root.apache /srv/www/obs/api/config/secret.key
|
chown root.apache /srv/www/obs/api/config/secret.key
|
||||||
@ -494,6 +494,9 @@ usermod -a -G docker obsservicerun
|
|||||||
%{_sbindir}/rcobsstoragesetup
|
%{_sbindir}/rcobsstoragesetup
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu May 26 2022 caodongxia <caodongxia@h-partners.com> - 2.10.11-4
|
||||||
|
- Fix obs-api install warning
|
||||||
|
|
||||||
* Mon May 16 2022 wangkai <wangkai385@h-partners.com> - 2.10.11-3
|
* Mon May 16 2022 wangkai <wangkai385@h-partners.com> - 2.10.11-3
|
||||||
- Update xmlhash to 1.3.8 for fix CVE-2022-21949
|
- Update xmlhash to 1.3.8 for fix CVE-2022-21949
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user