!139 [sync] PR-138: fix obs-server install error
From: @openeuler-sync-bot Reviewed-by: @wang--ge Signed-off-by: @wang--ge
This commit is contained in:
commit
ba630d6ad2
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
Name: obs-server
|
Name: obs-server
|
||||||
Version: 2.10.15
|
Version: 2.10.15
|
||||||
Release: 7
|
Release: 8
|
||||||
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
|
||||||
@ -33,7 +33,7 @@ Requires: build >= 20191114, perl-BSSolv, perl(Date::Parse), diffutils, gi
|
|||||||
Requires: createrepo_c, dpkg, yum, perl-Compress-Zlib, perl-File-Sync >= 0.10, perl-JSON-XS
|
Requires: createrepo_c, dpkg, yum, perl-Compress-Zlib, perl-File-Sync >= 0.10, perl-JSON-XS
|
||||||
Requires: perl-Net-SSLeay, perl-Socket-MsgHdr, perl-XML-Parser, perl-XML-Simple, perl-YAML-LibYAML
|
Requires: perl-Net-SSLeay, perl-Socket-MsgHdr, perl-XML-Parser, perl-XML-Simple, perl-YAML-LibYAML
|
||||||
Requires: cpio, curl, perl-Compress-Zlib, perl-TimeDate, screen, psmisc, bash, binutils, bsdtar
|
Requires: cpio, curl, perl-Compress-Zlib, perl-TimeDate, screen, psmisc, bash, binutils, bsdtar
|
||||||
Requires: util-linux >= 2.16, osc
|
Requires: util-linux >= 2.16, osc obs-bundled-gems = %{version}
|
||||||
Requires: perl-XML-Structured perl-DBD-SQLite policycoreutils-python-utils
|
Requires: perl-XML-Structured perl-DBD-SQLite policycoreutils-python-utils
|
||||||
Requires(post): systemd
|
Requires(post): systemd
|
||||||
Requires(preun): systemd
|
Requires(preun): systemd
|
||||||
@ -316,7 +316,7 @@ if [ ! -s /srv/www/obs/api/config/secret.key ]; then
|
|||||||
popd >& /dev/null
|
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
|
||||||
|
|
||||||
sed -i -e 's,[ ]*adapter: mysql$, adapter: mysql2,' /srv/www/obs/api/config/database.yml
|
sed -i -e 's,[ ]*adapter: mysql$, adapter: mysql2,' /srv/www/obs/api/config/database.yml
|
||||||
touch /srv/www/obs/api/log/production.log
|
touch /srv/www/obs/api/log/production.log
|
||||||
@ -496,6 +496,9 @@ usermod -a -G docker obsservicerun
|
|||||||
%{_sbindir}/obsstoragesetup
|
%{_sbindir}/obsstoragesetup
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Dec 4 2023 liyanan <liyanan61@h-partners.com> - 2.10.15-8
|
||||||
|
- Fix obs-server install error
|
||||||
|
|
||||||
* Wed Jun 28 2023 Ge Wang <wang__ge@126.com> - 2.10.15-7
|
* Wed Jun 28 2023 Ge Wang <wang__ge@126.com> - 2.10.15-7
|
||||||
- fix obs-clockwork service start failure
|
- fix obs-clockwork service start failure
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user