From e60bd6a004479b4bdcb00608e7f6c871425df870 Mon Sep 17 00:00:00 2001 From: wu-leilei Date: Mon, 28 Mar 2022 20:34:34 +0800 Subject: [PATCH] fix installation failed (cherry picked from commit 4ac0f7ef0b98fb25c53f20c0c67f802d50f03c22) --- Gemfile.lock.aarch64 | 2 +- Gemfile.lock.x86 | 2 +- obs-server.spec | 7 ++++++- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/Gemfile.lock.aarch64 b/Gemfile.lock.aarch64 index 8fea695..2ae0a67 100644 --- a/Gemfile.lock.aarch64 +++ b/Gemfile.lock.aarch64 @@ -589,4 +589,4 @@ DEPENDENCIES yajl-ruby BUNDLED WITH - 2.2.32 + 2.2.33 diff --git a/Gemfile.lock.x86 b/Gemfile.lock.x86 index 5383d6f..4357e5a 100644 --- a/Gemfile.lock.x86 +++ b/Gemfile.lock.x86 @@ -589,4 +589,4 @@ DEPENDENCIES yajl-ruby BUNDLED WITH - 2.2.32 + 2.2.33 diff --git a/obs-server.spec b/obs-server.spec index 9fe6728..cccc5a5 100644 --- a/obs-server.spec +++ b/obs-server.spec @@ -6,7 +6,7 @@ Name: obs-server Version: 2.10.11 -Release: 2 +Release: 3 Summary: The Open Build Service -- Server Component License: GPL-2.0-only OR GPL-3.0-only URL: http://www.openbuildservice.org @@ -277,6 +277,8 @@ rmdir /srv/obs 2> /dev/null || : %systemd_postun_with_restart obsstoragesetup.service %pre -n obs-api +/usr/sbin/groupadd www +/usr/sbin/useradd wwwrun getent passwd obsapidelayed >/dev/null || \ /usr/sbin/useradd -r -s /bin/bash -c "User for build service api delayed jobs" -d /srv/www/obs/api -g apache obsapidelayed @@ -514,6 +516,9 @@ usermod -a -G docker obsservicerun %{_sbindir}/rcobsstoragesetup %changelog +* Mon Mar 28 2022 wulei - 2.10.11-3 +- Fix installation failed + * Mon Mar 21 2022 Ge Wang - 2.10.11-2 - Distinguish architecture of file Gemfile.lock due to ruby upgrade to version 3.0.3 -- Gitee