Fix obs-server install error

This commit is contained in:
lyn1001 2023-09-02 15:37:53 +08:00
parent 1464a81b74
commit dc25a912e6

View File

@ -6,7 +6,7 @@
Name: obs-server
Version: 2.10.15
Release: 8
Release: 9
Summary: The Open Build Service -- Server Component
License: GPL-2.0-only OR GPL-3.0-only
URL: http://www.openbuildservice.org
@ -31,7 +31,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: 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: 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(post): systemd
Requires(preun): systemd
@ -317,7 +317,7 @@ if [ ! -s /srv/www/obs/api/config/secret.key ]; then
popd >& /dev/null
fi
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
touch /srv/www/obs/api/log/production.log
@ -497,6 +497,9 @@ usermod -a -G docker obsservicerun
%{_sbindir}/obsstoragesetup
%changelog
* Sat Sep 2 2023 liyanan <thistleslyn@163.com> - 2.10.15-9
- Fix obs-server install error
* Tue Aug 29 2023 liyanan <thistleslyn@163.com> - 2.10.15-8
- Replace src package with commit de86991072b9457dd7d12dee129aef8326829935