diff --git a/0008-obs_worker-fix-err-var.patch b/0008-obs_worker-fix-err-var.patch new file mode 100644 index 0000000000000000000000000000000000000000..949f5c3369d3193949defcbd84627d3bf8417b06 --- /dev/null +++ b/0008-obs_worker-fix-err-var.patch @@ -0,0 +1,11 @@ +--- a/dist/obsworker 2022-05-05 21:22:53.000000000 +0800 ++++ b/dist/obsworker 2022-10-28 14:41:40.892693689 +0800 +@@ -88,7 +88,7 @@ + OBS_WIPE_AFTER_BUILD="--wipeafterbuild" + fi + +-if [ -n "OBS_WORKER_SECURITY_LEVEL" ]; then ++if [ -n "$OBS_WORKER_SECURITY_LEVEL" ]; then + OBS_WORKER_HOSTLABELS="OBS_WORKER_SECURITY_LEVEL_${OBS_WORKER_SECURITY_LEVEL} $OBS_WORKER_HOSTLABELS" + fi + diff --git a/obs-server.spec b/obs-server.spec index 8519ea671e5aea5c201d8b501df8cfb8cce019d4..bb851a390c8b32d73baf05319b1638a4647b3c73 100644 --- a/obs-server.spec +++ b/obs-server.spec @@ -6,7 +6,7 @@ Name: obs-server Version: 2.10.15 -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 @@ -20,6 +20,7 @@ Patch4: 0004-remove-systemV-method.patch Patch5: 0005-obsscheduler-stop.patch Patch6: obs_project_update-should-tell-the-usage-but-not-hung-still.patch Patch7: Adapt-setup-appliance.sh-for-openeuler.patch +Patch8: 0008-obs_worker-fix-err-var.patch BuildArch: noarch @@ -517,6 +518,9 @@ usermod -a -G docker obsservicerun %{_sbindir}/rcobsstoragesetup %changelog +* Wed Jun 11 2023 zhangdaolong - 2.10.15-3 +- Fix err var + * Wed Jun 15 2022 wangkai - 2.10.15-2 - Fix obs-api install warning