mirror of
https://abf.rosa.ru/djam/podman-compose.git
synced 2025-02-23 13:32:47 +00:00
This commit is contained in:
parent
e2eb669622
commit
ed70165be3
2 changed files with 29 additions and 11 deletions
2
.abf.yml
2
.abf.yml
|
@ -1,2 +1,2 @@
|
||||||
sources:
|
sources:
|
||||||
podman-compose-1.1.0.tar.gz: 7b96247462185a36c83e20d4dab058d879c13e52
|
podman-compose-1.3.0.tar.gz: 4bc0916441a609b9a4af52877791801dc6e28161
|
||||||
|
|
|
@ -2,18 +2,21 @@
|
||||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||||
|
|
||||||
Name: podman-compose
|
Name: podman-compose
|
||||||
Version: 1.1.0
|
Version: 1.3.0
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: Run docker-compose.yml using podman
|
Summary: Run docker-compose.yml using podman
|
||||||
Group: Development/Python
|
Group: Development/Python
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
URL: https://github.com/containers/podman-compose
|
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
|
#iSource0: https://github.com/containers/podman-compose/archive/%{commit}/%{name}-%{shortcommit}.tar.gz
|
||||||
|
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
BuildRequires: python3-pyyaml
|
BuildRequires: python3-pyyaml
|
||||||
|
BuildRequires: python38-devel
|
||||||
|
BuildRequires: python38-setuptools
|
||||||
|
BuildRequires: python38-pyyaml
|
||||||
Requires: python3
|
Requires: python3
|
||||||
Requires: python3-pyyaml
|
Requires: python3-pyyaml
|
||||||
Requires: podman
|
Requires: podman
|
||||||
|
@ -21,25 +24,40 @@ BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
An implementation of docker-compose with podman backend.
|
An implementation of docker-compose with podman backend.
|
||||||
The main objective of this project is to be able to run docker-compose.yml
|
The main objective of this project is to be able to run
|
||||||
unmodified and rootless.
|
docker-compose.yml unmodified and rootless.
|
||||||
|
|
||||||
%files
|
%package -n %{name}-py3
|
||||||
%doc README.md CONTRIBUTING.md docs/ examples
|
|
||||||
%license LICENSE
|
%description -n %{name}-py3
|
||||||
%{_bindir}/podman-compose
|
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}/__pycache__/podman_compose*pyc
|
||||||
%{python3_sitelib}/podman_compose*
|
%{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
|
%prep
|
||||||
%autosetup
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%py3_build
|
||||||
|
%py38_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_install
|
%py3_install
|
||||||
|
%py38_install
|
||||||
|
|
||||||
|
|
||||||
#Drop spurious shebang
|
#Drop spurious shebang
|
||||||
sed -i /python3/d %{buildroot}%{python3_sitelib}/podman_compose.py
|
sed -i /python3/d %{buildroot}%{python3_sitelib}/podman_compose.py
|
||||||
|
sed -i /python3/d %{buildroot}%{python38_sitelib}/podman_compose.py
|
||||||
|
|
Loading…
Add table
Reference in a new issue