|
|
|
@ -1,37 +1,20 @@
|
|
|
|
|
%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: 3%{?dist}
|
|
|
|
|
Epoch: 3
|
|
|
|
|
Version: 4.6.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: RESTful API for Podman
|
|
|
|
|
License: ASL 2.0
|
|
|
|
|
URL: https://github.com/containers/podman-py
|
|
|
|
|
%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
|
|
|
|
|
Source0: https://github.com/containers/podman-py/archive/refs/tags/v%{version}.tar.gz
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
%{name} is a library of bindings to use the RESTful API for Podman.
|
|
|
|
|
|
|
|
|
|
%package -n python%{python3_pkgversion}-podman
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-devel
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-rpm-macros
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-pytoml
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-pyxdg
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-requests
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-setuptools
|
|
|
|
|
BuildRequires: git-core
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-sphinx
|
|
|
|
|
Requires: python%{python3_pkgversion}-pytoml
|
|
|
|
|
Requires: python%{python3_pkgversion}-pyxdg
|
|
|
|
|
Requires: python%{python3_pkgversion}-requests
|
|
|
|
|
Requires: python%{python3_pkgversion}-urllib3
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-devel
|
|
|
|
|
BuildRequires: pyproject-rpm-macros
|
|
|
|
|
Provides: podman-py = %{version}-%{release}
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
%{?python_provide:%python_provide python%{python3_pkgversion}-podman}
|
|
|
|
@ -40,92 +23,68 @@ Summary: %{summary}
|
|
|
|
|
%{name} is a library of bindings to use the RESTful API for Podman.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%if 0%{?branch:1}
|
|
|
|
|
%autosetup -Sgit -n containers-podman-py-%{shortcommit0}
|
|
|
|
|
%else
|
|
|
|
|
%autosetup -Sgit -n podman-py-%{commit0}
|
|
|
|
|
%endif
|
|
|
|
|
%autosetup -Sgit_am -n podman-py-%{version}
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
%pyproject_buildrequires %{?with_tests:-t}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%py3_build
|
|
|
|
|
export PBR_VERSION="0.0.0"
|
|
|
|
|
%pyproject_wheel
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%py3_install
|
|
|
|
|
export PBR_VERSION="0.0.0"
|
|
|
|
|
%pyproject_install
|
|
|
|
|
%pyproject_save_files podman
|
|
|
|
|
|
|
|
|
|
%files -n python3-podman
|
|
|
|
|
%check
|
|
|
|
|
|
|
|
|
|
%files -n python%{python3_pkgversion}-podman -f %{pyproject_files}
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%doc README.md
|
|
|
|
|
%{python3_sitelib}/podman/*
|
|
|
|
|
%{python3_sitelib}/podman-*/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Oct 29 2024 Jindrich Novy <jnovy@redhat.com> - 4.9.0-3
|
|
|
|
|
- sync with release-4.9 branch
|
|
|
|
|
- Resolves: RHEL-31069
|
|
|
|
|
|
|
|
|
|
* Tue Jul 09 2024 Jindrich Novy <jnovy@redhat.com> - 4.9.0-2
|
|
|
|
|
- depend directly on urllib3
|
|
|
|
|
- Resolves: RHEL-43567
|
|
|
|
|
|
|
|
|
|
* Tue Jan 23 2024 Jindrich Novy <jnovy@redhat.com> - 4.9.0-1
|
|
|
|
|
- update to https://github.com/containers/podman-py/releases/tag/v4.9.0
|
|
|
|
|
- Related: Jira:RHEL-2110
|
|
|
|
|
|
|
|
|
|
* Fri Jan 05 2024 Jindrich Novy <jnovy@redhat.com> - 4.8.2-1
|
|
|
|
|
- update to https://github.com/containers/podman-py/releases/tag/v4.8.2
|
|
|
|
|
- Related: Jira:RHEL-2110
|
|
|
|
|
|
|
|
|
|
* Thu Dec 07 2023 Lokesh Mandvekar <lsm5@redhat.com> - 4.8.0.post1-1
|
|
|
|
|
- update to https://github.com/containers/podman-py/releases/tag/v4.8.0.post1
|
|
|
|
|
- Related: Jira:RHEL-2110
|
|
|
|
|
|
|
|
|
|
* Fri Sep 29 2023 Jindrich Novy <jnovy@redhat.com> - 4.7.0-1
|
|
|
|
|
- update to https://github.com/containers/podman-py/releases/tag/v4.7.0
|
|
|
|
|
- Related: Jira:RHEL-2110
|
|
|
|
|
|
|
|
|
|
* Thu Jul 27 2023 Jindrich Novy <jnovy@redhat.com> - 4.6.0-1
|
|
|
|
|
* Thu Jul 27 2023 Jindrich Novy <jnovy@redhat.com> - 3:4.6.0-1
|
|
|
|
|
- update to https://github.com/containers/podman-py/releases/tag/v4.6.0
|
|
|
|
|
- Related: #2176055
|
|
|
|
|
- Related: #2176063
|
|
|
|
|
|
|
|
|
|
* Tue Jun 06 2023 Jindrich Novy <jnovy@redhat.com> - 4.5.1-1
|
|
|
|
|
* Fri Jun 02 2023 Jindrich Novy <jnovy@redhat.com> - 3:4.5.1-1
|
|
|
|
|
- update to https://github.com/containers/podman-py/releases/tag/v4.5.1
|
|
|
|
|
- Related: #2176055
|
|
|
|
|
- Related: #2176063
|
|
|
|
|
|
|
|
|
|
* Thu May 11 2023 Jindrich Novy <jnovy@redhat.com> - 4.5.0-1
|
|
|
|
|
* Tue May 02 2023 Jindrich Novy <jnovy@redhat.com> - 3:4.5.0-1
|
|
|
|
|
- update to https://github.com/containers/podman-py/releases/tag/v4.5.0
|
|
|
|
|
- Related: #2176055
|
|
|
|
|
- Related: #2176063
|
|
|
|
|
|
|
|
|
|
* Thu Mar 09 2023 Jindrich Novy <jnovy@redhat.com> - 4.4.1-1
|
|
|
|
|
* Thu Feb 23 2023 Jindrich Novy <jnovy@redhat.com> - 3:4.4.1-1
|
|
|
|
|
- update to https://github.com/containers/podman-py/releases/tag/v4.4.1
|
|
|
|
|
- Related: #2176055
|
|
|
|
|
- Related: #2124478
|
|
|
|
|
|
|
|
|
|
* Mon Nov 07 2022 Jindrich Novy <jnovy@redhat.com> - 4.3.0-2
|
|
|
|
|
- upload new source tarball
|
|
|
|
|
- Related: #2123641
|
|
|
|
|
* Wed Feb 15 2023 Jindrich Novy <jnovy@redhat.com> - 3:4.4.0-1
|
|
|
|
|
- update to 4.4.0
|
|
|
|
|
- (and revert the unneeded upstream python-tomli dependency)
|
|
|
|
|
- Related: #2124478
|
|
|
|
|
|
|
|
|
|
* Fri Oct 21 2022 Jindrich Novy <jnovy@redhat.com> - 4.3.0-1
|
|
|
|
|
- update to https://github.com/containers/podman-py/releases/tag/v4.3.0
|
|
|
|
|
- Related: #2123641
|
|
|
|
|
* Mon Oct 24 2022 Jindrich Novy <jnovy@redhat.com> - 3:4.3.0-1
|
|
|
|
|
- update to 4.3.0
|
|
|
|
|
- Related: #2124478
|
|
|
|
|
|
|
|
|
|
* Thu Aug 11 2022 Jindrich Novy <jnovy@redhat.com> - 4.2.0-1
|
|
|
|
|
* Thu Aug 11 2022 Jindrich Novy <jnovy@redhat.com> - 3:4.2.0-1
|
|
|
|
|
- update to https://github.com/containers/podman-py/releases/tag/v4.2.0
|
|
|
|
|
- Related: #2061390
|
|
|
|
|
- Related: #2061316
|
|
|
|
|
|
|
|
|
|
* Mon Feb 28 2022 Lokesh Mandvekar <lsm5@redhat.com> - 4.0.0-1
|
|
|
|
|
* Mon Feb 28 2022 Lokesh Mandvekar <lsm5@redhat.com> - 3:4.0.0-1
|
|
|
|
|
- bump to v4.0.0
|
|
|
|
|
- Related: #2001445
|
|
|
|
|
|
|
|
|
|
* Wed Sep 29 2021 Jindrich Novy <jnovy@redhat.com> - 3.2.1-4
|
|
|
|
|
- do not depend on pyproject-rpm-macros - not present in RHEL8
|
|
|
|
|
- Related: #2001445
|
|
|
|
|
|
|
|
|
|
* Wed Jul 28 2021 Lokesh Mandvekar <lsm5@fedoraproject.org> - 3.2.0-2
|
|
|
|
|
- depend on python3-requests
|
|
|
|
|
- Resolves: #1978415 - initial upload to rhel
|
|
|
|
|
- Related: #2000051
|
|
|
|
|
|
|
|
|
|
* Wed Jul 28 2021 Lokesh Mandvekar <lsm5@fedoraproject.org> - 3.2.0-1
|
|
|
|
|
- Bump to v3.2.0
|
|
|
|
|
* Fri Oct 01 2021 Jindrich Novy <jnovy@redhat.com> - 3:3.2.1-3
|
|
|
|
|
- perform only sanity/installability tests for now
|
|
|
|
|
- Related: #2000051
|
|
|
|
|
|
|
|
|
|
* Tue May 04 2021 Lokesh Mandvekar <lsm5@fedoraproject.org> - 3.1.2.4-1
|
|
|
|
|
- Initial package
|
|
|
|
|
* Wed Sep 29 2021 Jindrich Novy <jnovy@redhat.com> - 3:3.2.1-2
|
|
|
|
|
- rebuilt
|
|
|
|
|
- Related: #2000051
|
|
|
|
|
|
|
|
|
|
* Mon Sep 27 2021 Jindrich Novy <jnovy@redhat.com> - 3:3.2.1-1
|
|
|
|
|
- import to c9s
|
|
|
|
|
- Related: #2000051
|
|
|
|
|