diff --git a/fix-obs_productconvert-inputfile-path.patch b/fix-obs_productconvert-inputfile-path.patch new file mode 100644 index 0000000000000000000000000000000000000000..740fb21ae5df9728460df77fcf50362d2073bbd7 --- /dev/null +++ b/fix-obs_productconvert-inputfile-path.patch @@ -0,0 +1,20 @@ +From 000f42efd6d3817cbded659de101af2e4a5bcc18 Mon Sep 17 00:00:00 2001 +From: baizg1107 +Date: Thu, 17 Jun 2021 17:05:38 +0800 +Subject: [PATCH] fix obs productconvert inputfile path + +--- + dist/obs_productconvert | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/dist/obs_productconvert b/dist/obs_productconvert +index 8a7f4cc..6005d90 100755 +--- a/dist/obs_productconvert ++++ b/dist/obs_productconvert +@@ -1,2 +1,2 @@ + #!/bin/bash +-exec /usr/lib/obs/server/bs_productconvert "$@" ++exec /usr/lib/obs/server/bs_productconvert ${PWD}"/$@" +-- +2.27.0 + diff --git a/obs-server.spec b/obs-server.spec index dd4812190e88c8a2e7d7caf1456b11da145da368..abb60ddcfbe84de1dfc68a90069d20fe274e56eb 100644 --- a/obs-server.spec +++ b/obs-server.spec @@ -5,7 +5,7 @@ Name: obs-server Version: 2.10.1 -Release: lp151.23.10 +Release: lp151.23.11 Summary: The Open Build Service -- Server Component License: GPL-2.0-only or GPL-3.0-only URL: http://www.openbuildservice.org @@ -18,6 +18,7 @@ Patch3: 0003-CVE-2020-8021.patch 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: fix-obs_productconvert-inputfile-path.patch BuildArch: noarch BuildRequires: python-devel, /usr/bin/xmllint, openssl, perl-BSSolv, perl-Compress-Zlib, xz @@ -487,6 +488,9 @@ usermod -a -G docker obsservicerun %{_sbindir}/rcobsstoragesetup %changelog +* Thu 17 Jun 2021 baizhonggui - 2.10.1-lp151.23.11 +- Fix obs_productconvert inputfile absolute path. + * Thu 17 Jun 2021 sunguoshuai - 2.10.1-lp151.23.10 - obs_project_update should tell the usage but not hung still.