diff --git a/python-podman.spec b/python-podman.spec index 7b93fdd..64d0ca2 100644 --- a/python-podman.spec +++ b/python-podman.spec @@ -1,10 +1,19 @@ +%global import_path github.com/containers/podman-py +%global branch release-4.9 +%global commit0 07e1b45ca48db63ae4a3106ee630d120bdd89866 +%global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) + Name: python-podman Version: 4.9.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: RESTful API for Podman License: ASL 2.0 URL: https://github.com/containers/podman-py -Source0: https://github.com/containers/podman-py/archive/refs/tags/v%{version}.tar.gz +%if 0%{?branch:1} +Source0: https://%{import_path}/tarball/%{commit0}/%{branch}-%{shortcommit0}.tar.gz +%else +Source0: https://%{import_path}/archive/%{commit0}/%{name}-%{version}-%{shortcommit0}.tar.gz +%endif BuildArch: noarch %description @@ -31,7 +40,11 @@ Summary: %{summary} %{name} is a library of bindings to use the RESTful API for Podman. %prep -%autosetup -Sgit_am -n podman-py-%{version} +%if 0%{?branch:1} +%autosetup -Sgit -n containers-podman-py-%{shortcommit0} +%else +%autosetup -Sgit -n podman-py-%{commit0} +%endif %build %py3_build @@ -46,6 +59,10 @@ Summary: %{summary} %{python3_sitelib}/podman-*/* %changelog +* Tue Oct 29 2024 Jindrich Novy - 4.9.0-3 +- sync with release-4.9 branch +- Resolves: RHEL-31069 + * Tue Jul 09 2024 Jindrich Novy - 4.9.0-2 - depend directly on urllib3 - Resolves: RHEL-43567 diff --git a/sources b/sources index dd64937..c57681a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (v4.9.0.tar.gz) = 73488ccd3e910284410a43ec607cefdab3b8f3478617b95d5a6efd6f817a3eaced1a5ac9993d13c0104bad1bcd868507d544ef0396202003bb2f8b024901396c +SHA512 (release-4.9-07e1b45.tar.gz) = 09bf27f4f79c06371ff3ca05c277694272fcda7b090597558571e8b93ad34e1c9d326b4230e35c90c6b64cd94a78c259424c7a66e1617d2b9b90d08403790f39