diff --git a/.gitignore b/.gitignore index 27ee5ba..6443b7e 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/v4.9.0.tar.gz +v5.3.0.tar.gz diff --git a/.python-podman.metadata b/.python-podman.metadata deleted file mode 100644 index 12880a8..0000000 --- a/.python-podman.metadata +++ /dev/null @@ -1 +0,0 @@ -fa3ef3d53d68ad9eafa48607fa3e1c5fefe6af16 SOURCES/v4.9.0.tar.gz diff --git a/SPECS/python-podman.spec b/SPECS/python-podman.spec deleted file mode 100644 index 7ceca3f..0000000 --- a/SPECS/python-podman.spec +++ /dev/null @@ -1,109 +0,0 @@ -Name: python-podman -Version: 4.9.0 -Release: 1%{?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 -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 -Provides: podman-py = %{version}-%{release} -Summary: %{summary} -%{?python_provide:%python_provide python%{python3_pkgversion}-podman} - -%description -n python%{python3_pkgversion}-podman -%{name} is a library of bindings to use the RESTful API for Podman. - -%prep -%autosetup -Sgit_am -n podman-py-%{version} - -%build -%py3_build - -%install -%py3_install - -%files -n python3-podman -%license LICENSE -%doc README.md -%{python3_sitelib}/podman/* -%{python3_sitelib}/podman-*/* - -%changelog -* Tue Jan 23 2024 Jindrich Novy - 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 - 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 - 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 - 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 - 4.6.0-1 -- update to https://github.com/containers/podman-py/releases/tag/v4.6.0 -- Related: #2176055 - -* Tue Jun 06 2023 Jindrich Novy - 4.5.1-1 -- update to https://github.com/containers/podman-py/releases/tag/v4.5.1 -- Related: #2176055 - -* Thu May 11 2023 Jindrich Novy - 4.5.0-1 -- update to https://github.com/containers/podman-py/releases/tag/v4.5.0 -- Related: #2176055 - -* Thu Mar 09 2023 Jindrich Novy - 4.4.1-1 -- update to https://github.com/containers/podman-py/releases/tag/v4.4.1 -- Related: #2176055 - -* Mon Nov 07 2022 Jindrich Novy - 4.3.0-2 -- upload new source tarball -- Related: #2123641 - -* Fri Oct 21 2022 Jindrich Novy - 4.3.0-1 -- update to https://github.com/containers/podman-py/releases/tag/v4.3.0 -- Related: #2123641 - -* Thu Aug 11 2022 Jindrich Novy - 4.2.0-1 -- update to https://github.com/containers/podman-py/releases/tag/v4.2.0 -- Related: #2061390 - -* Mon Feb 28 2022 Lokesh Mandvekar - 4.0.0-1 -- bump to v4.0.0 -- Related: #2001445 - -* Wed Sep 29 2021 Jindrich Novy - 3.2.1-4 -- do not depend on pyproject-rpm-macros - not present in RHEL8 -- Related: #2001445 - -* Wed Jul 28 2021 Lokesh Mandvekar - 3.2.0-2 -- depend on python3-requests -- Resolves: #1978415 - initial upload to rhel - -* Wed Jul 28 2021 Lokesh Mandvekar - 3.2.0-1 -- Bump to v3.2.0 - -* Tue May 04 2021 Lokesh Mandvekar - 3.1.2.4-1 -- Initial package - diff --git a/python-podman.spec b/python-podman.spec new file mode 100644 index 0000000..85bb2e8 --- /dev/null +++ b/python-podman.spec @@ -0,0 +1,297 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.6.5) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 1; + base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); + print(release_number + base_release_number - 1); +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} +## END: Set by rpmautospec + +# RHEL 8 envs has slightly different python deps +# and also doesn't support dynamic (build)requires. +%if %{defined rhel} && 0%{?rhel} == 8 +%define rhel8_py 1 +%endif + +%global pypi_name podman +%global desc %{pypi_name} is a library of bindings to use the RESTful API for Podman. + +%global pypi_dist 4 + +Name: python-%{pypi_name} +%if %{defined copr_username} +Epoch: 102 +%else +Epoch: 3 +%endif +# DO NOT TOUCH the Version string! +# The TRUE source of this specfile is: +# https://github.com/containers/podman/blob/main/rpm/python-podman.spec +# If that's what you're reading, Version must be 0, and will be updated by Packit for +# copr and koji builds. +# If you're reading this on dist-git, the version is automatically filled in by Packit. +Version: 5.3.0 +License: Apache-2.0 +Release: %autorelease +Summary: RESTful API for Podman +URL: https://github.com/containers/%{pypi_name}-py +# Tarball fetched from upstream +Source0: %{url}/archive/v%{version}.tar.gz +BuildArch: noarch + +%description +%desc + +%package -n python%{python3_pkgversion}-%{pypi_name} +BuildRequires: git-core +BuildRequires: python%{python3_pkgversion}-devel +%if %{defined rhel8_py} +BuildRequires: python%{python3_pkgversion}-rpm-macros +BuildRequires: python%{python3_pkgversion}-pytoml +BuildRequires: python%{python3_pkgversion}-requests +Requires: python%{python3_pkgversion}-pytoml +Requires: python%{python3_pkgversion}-requests +%else +BuildRequires: pyproject-rpm-macros +%endif +Provides: %{pypi_name}-py = %{epoch}:%{version}-%{release} +Provides: python%{python3_pkgversion}dist(%{pypi_name}) = %{pypi_dist} +Provides: python%{python3_version}dist(%{pypi_name}) = %{pypi_dist} +Obsoletes: python%{python3_pkgversion}-%{pypi_name}-api <= 0.0.0-1 +Provides: python%{python3_pkgversion}-%{pypi_name}-api = %{epoch}:%{version}-%{release} +Summary: %{summary} +%{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}} + +%description -n python%{python3_pkgversion}-%{pypi_name} +%desc + +%prep +%autosetup -Sgit -n %{pypi_name}-py-%{version} + +%if !%{defined rhel8_py} +%generate_buildrequires +%pyproject_buildrequires %{?with_tests:-t} +%endif + +%build +export PBR_VERSION="0.0.0" +%if %{defined rhel8_py} +%py3_build +%else +%pyproject_wheel +%endif + +%install +export PBR_VERSION="0.0.0" +%if %{defined rhel8_py} +%py3_install +%else +%pyproject_install +%pyproject_save_files %{pypi_name} +%endif + +%if !%{defined rhel8_py} +%check +%pyproject_check_import -e podman.api.typing_extensions +%endif + +%if %{defined rhel8_py} +%files -n python%{python3_pkgversion}-%{pypi_name} +%dir %{python3_sitelib}/%{pypi_name}-*-py%{python3_version}.egg-info +%{python3_sitelib}/%{pypi_name}-*-py%{python3_version}.egg-info/* +%dir %{python3_sitelib}/%{pypi_name} +%{python3_sitelib}/%{pypi_name}/* +%else +%pyproject_extras_subpkg -n python%{python3_pkgversion}-%{pypi_name} progress_bar +%files -n python%{python3_pkgversion}-%{pypi_name} -f %{pyproject_files} +%endif +%license LICENSE +%doc README.md + +%changelog +## START: Generated by rpmautospec +* Tue Nov 26 2024 Jindrich Novy - 3:5.3.0-1 +- python-podman-5.3.0-1.el10 +- update to https://github.com/containers/podman-py/releases/tag/v5.3.0 +- Resolves: RHEL-69004 + +* Tue Oct 29 2024 Troy Dawson - 3:5.2.0-3 +- Bump release for October 2024 mass rebuild: + +* Mon Aug 05 2024 Jindrich Novy - 3:5.2.0-2 +- Add gating.yaml Related: RHEL-39410 + +* Mon Aug 05 2024 Jindrich Novy - 3:5.2.0-1 +- python-podman-5.2.0-1.el10 +- update to https://github.com/containers/podman-py/releases/tag/v5.2.0 +- Related: RHEL-34195 + +* Mon Jun 24 2024 Troy Dawson - 3:5.0.0-2 +- Bump release for June 2024 mass rebuild + +* Tue Apr 30 2024 Jindrich Novy - 3:5.0.0-1 +- python-podman-5.0.0-1.el10 +- update to https://github.com/containers/podman-py/releases/tag/v5.0.0 +- Related: RHEL-34195 + +* Fri Jan 26 2024 Fedora Release Engineering - 3:4.9.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Jan 22 2024 Packit - 3:4.9.0-1 +- [packit] 4.9.0 upstream release + +* Mon Jan 22 2024 Fedora Release Engineering - 3:4.8.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Wed Jan 03 2024 Packit - 3:4.8.2-1 +- [packit] 4.8.2 upstream release + +* Thu Dec 21 2023 Packit - 3:4.8.1-1 +- [packit] 4.8.1 upstream release + +* Wed Nov 29 2023 Packit - 3:4.8.0.post1-1 +- [packit] 4.8.0.post1 upstream release + +* Tue Nov 28 2023 Packit - 3:4.8.0-1 +- [packit] 4.8.0 upstream release + +* Wed Sep 27 2023 Packit - 3:4.7.0-1 +- [packit] 4.7.0 upstream release + +* Mon Jul 24 2023 Lokesh Mandvekar - 3:4.6.0-1 +- bump to v4.6.0 + +* Fri Jul 21 2023 Fedora Release Engineering - 3:4.5.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Sun Jul 02 2023 Yaakov Selkowitz - 3:4.5.1-4 +- Rebuilt for Python 3.12 + +* Fri Jun 30 2023 Yaakov Selkowitz - 3:4.5.1-3 +- Remove extraneous dependencies + +* Wed Jun 14 2023 Python Maint - 3:4.5.1-2 +- Rebuilt for Python 3.12 + +* Wed May 31 2023 RH Container Bot - 3:4.5.1-1 +- auto bump to v4.5.1 + +* Thu Apr 27 2023 RH Container Bot - 3:4.5.0-1 +- auto bump to v4.5.0 + +* Mon Mar 06 2023 Lokesh Mandvekar - 3:4.4.1-2 +- migrated to SPDX license + +* Tue Feb 21 2023 RH Container Bot - 3:4.4.1-1 +- auto bump to v4.4.1 + +* Thu Feb 09 2023 Lokesh Mandvekar - 3:4.4.0-1 +- bump to v4.4.0 + +* Fri Jan 20 2023 Fedora Release Engineering - 3:4.3.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Fri Oct 21 2022 Lokesh Mandvekar - 3:4.3.0-1 +- bump to v4.3.0 + +* Fri Oct 07 2022 Lokesh Mandvekar - 3:4.2.0-9 +- remove unnecessary macros + +* Wed Oct 05 2022 Lokesh Mandvekar - 3:4.2.0-8 +- remove debbuild macros to comply with Fedora guidelines + +* Wed Sep 28 2022 Leif Liddy - 3:4.2.0-7 +- add missing requirements + +* Thu Sep 15 2022 Lokesh Mandvekar - 3:4.2.0-6 +- remove conflicts: python3-podman-api + +* Thu Sep 15 2022 Lokesh Mandvekar - 3:4.2.0-5 +- also Provides: python3-podman-api + +* Thu Sep 15 2022 Lokesh Mandvekar - 3:4.2.0-4 +- Resolves: 2126942 - obsolete python-podman-api + +* Fri Sep 09 2022 Lokesh Mandvekar - 3:4.2.0-3 +- Resolves: #2120337 + +* Wed Aug 17 2022 Lokesh Mandvekar - 3:4.2.0-2 +- use easier tag macros to make both fedora and debbuild happy + +* Wed Aug 10 2022 RH Container Bot - 3:4.2.0-1 +- auto bump to v4.2.0 + +* Fri Jul 22 2022 Fedora Release Engineering - 3:4.0.0-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Tue Jun 14 2022 Lokesh Mandvekar - 3:4.0.0-14 +- fix vendor conditional macro + +* Tue Jun 14 2022 Lokesh Mandvekar +- adjust dependencies + +* Mon Jun 13 2022 Python Maint - 3:4.0.0-12 +- Rebuilt for Python 3.11 + +* Fri May 27 2022 Lokesh Mandvekar - 3:4.0.0-11 +- build deb packages using debbuild + +* Wed Mar 09 2022 Lokesh Mandvekar - 3:4.0.0-10 +- adjust toml dep for f35 + +* Wed Mar 09 2022 Lokesh Mandvekar - 3:4.0.0-9 +- centos8 conditionals for file listings + +* Wed Mar 09 2022 Lokesh Mandvekar - 3:4.0.0-8 +- adjust build conditionals + +* Wed Mar 09 2022 Lokesh Mandvekar - 3:4.0.0-7 +- fix conditional + +* Wed Mar 09 2022 Lokesh Mandvekar - 3:4.0.0-6 +- fix conditional + +* Wed Mar 09 2022 Lokesh Mandvekar - 3:4.0.0-5 +- fix conditional + +* Wed Mar 09 2022 Lokesh Mandvekar - 3:4.0.0-4 +- fix error in conditionals + +* Wed Mar 09 2022 Lokesh Mandvekar +- special conditionals only for rhel8 + +* Wed Mar 09 2022 Lokesh Mandvekar - 3:4.0.0-2 +- adjust dependencies for centos on podman4 copr + +* Wed Mar 09 2022 Lokesh Mandvekar - 3:4.0.0-1 +- bump to v4.0.0 + +* Thu Jan 27 2022 Lokesh Mandvekar - 3:3.2.1-3 +- switch to autospec + +* Fri Jan 21 2022 Fedora Release Engineering - 3:3.2.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Tue Sep 21 2021 RH Container Bot - 3:3.2.1-1 +- python-podman-3:3.2.1-1 + +* Mon Aug 16 2021 Lokesh Mandvekar - 3:3.2.0-2 +- update build dir + +* Mon Aug 16 2021 RH Container Bot - 3:3.2.0-1 +- python-podman-3:3.2.0-1 + +* Mon Aug 16 2021 Lokesh Mandvekar - 3:3.1.2.4-4 +- update build url format + +* Thu Aug 12 2021 Lokesh Mandvekar - 3:3.1.2.4-3 +- update macros for rhcontainerbot autobuilds + +* Fri Jul 23 2021 Fedora Release Engineering - 3:3.1.2.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jun 09 2021 Lokesh Mandvekar - 3:3.1.2.4-1 +- python-podman-3:3.1.2.4-5 +- First build shipped in Fedora +## END: Generated by rpmautospec diff --git a/sources b/sources new file mode 100644 index 0000000..010c596 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (v5.3.0.tar.gz) = c880f67fda1d69d376a608fe05a79ce7c6ebf3a58ffb1b8c179685d07ddecc535b373c91f128313d68027bb53cdc6b96042f7f25ef5a274afd6a1cbab4dcd4b7