diff --git a/download b/download index 45de2a01123dea4936e2b85e2db7daeed529d6c2..209144c16c20766dcf32c7e745eedefebb76b415 100644 --- a/download +++ b/download @@ -1 +1 @@ -1f961495c9d23bb5fcfa312fe85c7550 v4.9.0.tar.gz +3069e5b7ac4e29d3b3998ef7f808273e release-4.9-07e1b45.tar.gz diff --git a/python-podman.spec b/python-podman.spec index 7b93fddb5b9733c892e43a0907f98cfebb0f2292..64d0ca225451c8d4a8956d6c2be0c8c117753fd1 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