- add explicit golang API dependency

- cleanup

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker-compose-switch?expand=0&rev=2
This commit is contained in:
Dirk Mueller 2022-08-02 09:29:01 +00:00 committed by Git OBS Bridge
parent d01abf1038
commit a2499abb09
2 changed files with 10 additions and 6 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Aug 2 09:27:00 UTC 2022 - Dirk Müller <dmueller@suse.com>
- add explicit golang API dependency
- cleanup
-------------------------------------------------------------------
Wed Jul 6 18:02:54 UTC 2022 - Johannes Kastl <kastl@b1-systems.de>

View File

@ -17,7 +17,6 @@
%define __arch_install_post export NO_BRP_STRIP_DEBUG=true
Name: docker-compose-switch
Version: 1.0.5
Release: 0
@ -26,7 +25,7 @@ License: Apache-2.0
URL: https://github.com/docker/compose-switch
Source: compose-switch-%{version}.tar.gz
Source1: vendor.tar.gz
BuildRequires: go >= 1.18
BuildRequires: golang(API) = 1.18
Requires: docker
Requires: docker-compose >= 2.0
Requires(post): update-alternatives
@ -45,8 +44,7 @@ Obsoletes: python310-docker-compose < 2.0.0
Compose Switch is a replacement to the Compose V1 docker-compose (python) executable. It translates the command line into Compose V2 docker compose then run the latter.
%prep
%setup -q -n compose-switch-%{version}
%setup -q -T -D -a 1 -n compose-switch-%{version}
%setup -q -a1 -n compose-switch-%{version}
%build
go build \