# Generated by go2rpm 1.10.0 %bcond_without check %global debug_package %{nil} # https://github.com/compose-spec/compose-go %global goipath github.com/compose-spec/compose-go Version: 1.20.2 %gometa -L -f %global common_description %{expand: Reference library for the parsing and loading Compose files.} %global golicenses LICENSE LICENSE.MIT NOTICE %global godocs README.md %global gosupfiles schema/compose-spec.json Name: golang-github-compose-spec Release: %autorelease Summary: Reference library for the parsing and loading Compose files # The entire source code is Apache-2.0 except: # dotenv directory which is MIT. License: MIT AND Apache-2.0 URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep -A %autopatch -p1 cp -p dotenv/LICENSE LICENSE.MIT %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check %gocheck %endif %files %gopkgfiles %changelog %autochangelog