From 38f667d3628e3a5a6857ebd5d53661b6fbc08e9c Mon Sep 17 00:00:00 2001 From: lyn1001 Date: Sat, 2 Sep 2023 15:36:19 +0800 Subject: [PATCH] Fix obs-server install error --- obs-server.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/obs-server.spec b/obs-server.spec index e89355d..cc88ed2 100644 --- a/obs-server.spec +++ b/obs-server.spec @@ -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 - 2.10.15-9 +- Fix obs-server install error + * Tue Aug 29 2023 liyanan - 2.10.15-8 - Replace src package with commit de86991072b9457dd7d12dee129aef8326829935 -- Gitee