02404f4
%global commit 12036aa54ea93eff417ffae9e6aee3127fb57921
2187023
%global shortcommit %(c=%{commit}; echo ${c:0:7})
2187023
2187023
Name:           podman-compose
2187023
Version:        0.1.5
042172f
Release:        4.git20191107%{?dist}
2187023
Summary:        Run docker-compose.yml using podman
2187023
License:        GPLv2
2187023
URL:            https://github.com/containers/podman-compose
2187023
Source0:        https://github.com/containers/podman-compose/archive/%{commit}/%{name}-%{shortcommit}.tar.gz
2187023
2187023
BuildArch:      noarch
2187023
BuildRequires:  python3-devel
2187023
BuildRequires:  python3-setuptools
2187023
BuildRequires:  python3-pyyaml
2187023
Requires:       python3-pyyaml
2187023
Requires:       podman
2187023
2187023
%description
2187023
An implementation of docker-compose with podman backend.
2187023
The main objective of this project is to be able to run docker-compose.yml
2187023
unmodified and rootless.
2187023
2187023
%prep
2187023
%autosetup -n %{name}-%{commit}
2187023
2187023
%build
2187023
%py3_build
2187023
 
2187023
%install
2187023
%py3_install 
2187023
2187023
#Drop spurious shebang
2187023
sed -i /python3/d %{buildroot}%{python3_sitelib}/podman_compose.py
2187023
2187023
2187023
%files
2187023
%doc README.md CONTRIBUTING.md docs/ examples
2187023
%license LICENSE
2187023
%{_bindir}/podman-compose
2187023
%{python3_sitelib}/__pycache__/podman_compose*pyc
2187023
%{python3_sitelib}/podman_compose*
2187023
2187023
%changelog
042172f
* Tue May 26 2020 Miro HronĨok <mhroncok@redhat.com> - 0.1.5-4.git20191107
042172f
- Rebuilt for Python 3.9
042172f
c0fa29a
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.5-3.git20191107
c0fa29a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
c0fa29a
02404f4
* Thu Nov 07 2019 Gwyn Ciesla <gwync@protonmail.com> - 0.1.5-2.git20191107
02404f4
- Fix for service extension with the same name.
02404f4
2187023
* Mon Oct 28 2019 Gwyn Ciesla <gwync@protonmail.com> - 0.1.5-1.git20191030
2187023
- Initial build.