From 6aa25f3db8a9723c5412672023d33673b6c29c652e7354a847c865b0e5e4acf3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= Date: Thu, 10 Nov 2022 13:21:43 +0000 Subject: [PATCH] Accepting request 1035064 from home:dcassany:branches:Virtualization:containers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Update to version 1668085498.ab6de1e: * Bump version: 0.0.4 → 0.0.5 * Remove the rpm signkeys in the CI environment * Adapt tests to mock subprocess.check_output * Ignore stderr on successful command executions OBS-URL: https://build.opensuse.org/request/show/1035064 OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/obs-service-replace_using_package_version?expand=0&rev=13 --- _servicedata | 2 +- obs-service-replace_using_package_version.changes | 9 +++++++++ obs-service-replace_using_package_version.spec | 2 +- replace_using_package_version.py | 2 +- 4 files changed, 12 insertions(+), 3 deletions(-) diff --git a/_servicedata b/_servicedata index b555a4a..c0959a1 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/openSUSE/obs-service-replace_using_package_version.git - d72b7bab8fc56d90baf809d614d84edb45c19807 \ No newline at end of file + ab6de1ec8beb3631af0039074430a3d0cbf59eb6 \ No newline at end of file diff --git a/obs-service-replace_using_package_version.changes b/obs-service-replace_using_package_version.changes index d3cf519..2bcb15b 100644 --- a/obs-service-replace_using_package_version.changes +++ b/obs-service-replace_using_package_version.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Thu Nov 10 13:11:18 UTC 2022 - containers@suse.com + +- Update to version 1668085498.ab6de1e: + * Bump version: 0.0.4 → 0.0.5 + * Remove the rpm signkeys in the CI environment + * Adapt tests to mock subprocess.check_output + * Ignore stderr on successful command executions + ------------------------------------------------------------------- Wed Nov 09 10:11:30 UTC 2022 - containers@suse.com diff --git a/obs-service-replace_using_package_version.spec b/obs-service-replace_using_package_version.spec index f762a18..cd80b2e 100644 --- a/obs-service-replace_using_package_version.spec +++ b/obs-service-replace_using_package_version.spec @@ -19,7 +19,7 @@ %define service replace_using_package_version Name: obs-service-%{service} -Version: 0.0.4 +Version: 0.0.5 Release: 0 Summary: An OBS service: Replaces a regex with the version value of a package License: GPL-3.0-or-later diff --git a/replace_using_package_version.py b/replace_using_package_version.py index 6c67f7b..e0cd2d4 100644 --- a/replace_using_package_version.py +++ b/replace_using_package_version.py @@ -189,7 +189,7 @@ def find_match_in_version(regexpr, version): def run_command(command: List[str]) -> str: - return subprocess.check_output(command, stderr=subprocess.STDOUT).decode() + return subprocess.check_output(command).decode() def get_pkg_name_from_rpm(rpm_file):