# Generated by go2rpm 1.9.0 %bcond_without check %global debug_package %{nil} # Commit for compose-spec schema: https://github.com/compose-spec/compose-spec %global schema_commit 77cc0f9575b560c94ca2a3b94db126c54c9e4759 # https://github.com/compose-spec/compose-go %global goipath github.com/compose-spec/compose-go Version: 1.20.2 %gometa -f %global goname golang-github-compose-spec-compose %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: %{goname} 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: Apache-2.0 AND MIT URL: %{gourl} Source0: %{gosource} Source1: https://github.com/compose-spec/compose-spec/raw/%{schema_commit}/schema/compose-spec.json %description %{common_description} %gopkg %prep %goprep %autopatch -p1 cp -p dotenv/LICENSE LICENSE.MIT cp -p %{SOURCE1} schema/compose-spec.json %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog %autochangelog