From ed70165be3b215b6f6905ede945cf6e6648b9b2a Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 10 Feb 2025 22:13:10 +0000 Subject: [PATCH] 1.3.0 --- .abf.yml | 2 +- podman-compose.spec | 38 ++++++++++++++++++++++++++++---------- 2 files changed, 29 insertions(+), 11 deletions(-) diff --git a/.abf.yml b/.abf.yml index 3a6f332..ab7ea95 100644 --- a/.abf.yml +++ b/.abf.yml @@ -1,2 +1,2 @@ sources: - podman-compose-1.1.0.tar.gz: 7b96247462185a36c83e20d4dab058d879c13e52 + podman-compose-1.3.0.tar.gz: 4bc0916441a609b9a4af52877791801dc6e28161 diff --git a/podman-compose.spec b/podman-compose.spec index ed3e46f..a665290 100644 --- a/podman-compose.spec +++ b/podman-compose.spec @@ -2,18 +2,21 @@ %global shortcommit %(c=%{commit}; echo ${c:0:7}) Name: podman-compose -Version: 1.1.0 -Release: 1 +Version: 1.3.0 +Release: 1 Summary: Run docker-compose.yml using podman Group: Development/Python License: GPLv2 URL: https://github.com/containers/podman-compose -Source0: https://github.com/containers/podman-compose/archive/refs/tags/v%{version}.tar.gz?/%{name}-%{version}.tar.gz +Source0: %{url}/archive/v%{version}.tar.gz?/%{name}-%{version}.tar.gz #iSource0: https://github.com/containers/podman-compose/archive/%{commit}/%{name}-%{shortcommit}.tar.gz BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pyyaml +BuildRequires: python38-devel +BuildRequires: python38-setuptools +BuildRequires: python38-pyyaml Requires: python3 Requires: python3-pyyaml Requires: podman @@ -21,25 +24,40 @@ BuildArch: noarch %description An implementation of docker-compose with podman backend. -The main objective of this project is to be able to run docker-compose.yml -unmodified and rootless. +The main objective of this project is to be able to run +docker-compose.yml unmodified and rootless. -%files -%doc README.md CONTRIBUTING.md docs/ examples -%license LICENSE -%{_bindir}/podman-compose +%package -n %{name}-py3 + +%description -n %{name}-py3 +An implementation of docker-compose with podman backend. +The main objective of this project is to be able to run +docker-compose.yml unmodified and rootless. + +%files -n %{name}-py3 +%{_bindir}/podman-compose3 %{python3_sitelib}/__pycache__/podman_compose*pyc %{python3_sitelib}/podman_compose* +%files +%doc README.md CONTRIBUTING.md docs/ examples LICENSE +%{_bindir}/podman-compose +%{python38_sitelib}/__pycache__/podman_compose*pyc +%{python38_sitelib}/podman_compose* + #--------------------------------------------------------------- %prep -%autosetup +%setup -q %build %py3_build +%py38_build %install %py3_install +%py38_install + #Drop spurious shebang sed -i /python3/d %{buildroot}%{python3_sitelib}/podman_compose.py +sed -i /python3/d %{buildroot}%{python38_sitelib}/podman_compose.py