1.3.0
Some checks failed
Run CI/CD... / main (push) Failing after 4m26s

This commit is contained in:
Your Name 2025-02-10 22:13:10 +00:00
parent e2eb669622
commit ed70165be3
2 changed files with 29 additions and 11 deletions

View file

@ -1,2 +1,2 @@
sources:
podman-compose-1.1.0.tar.gz: 7b96247462185a36c83e20d4dab058d879c13e52
podman-compose-1.3.0.tar.gz: 4bc0916441a609b9a4af52877791801dc6e28161

View file

@ -2,18 +2,21 @@
%global shortcommit %(c=%{commit}; echo ${c:0:7})
Name: podman-compose
Version: 1.1.0
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