# Generated by go2rpm 1.8.2 %bcond_without check %global debug_package %{nil} # https://github.com/container-orchestrated-devices/container-device-interface %global goipath github.com/container-orchestrated-devices/container-device-interface Version: 0.5.3 %gometa %global common_description %{expand: CDI (Container Device Interface), is a specification, for container runtimes, to support third party devices.} %global golicenses LICENSE %global godocs CONTRIBUTING.md README.md SPEC.md Name: %{goname} Release: %autorelease Summary: Specification, for container runtimes, to support third party devices License: Apache-2.0 URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep sed -i "s|gopkg.in/fsnotify.v1|github.com/fsnotify/fsnotify|" $(find . -iname "*.go" -type f) %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog %autochangelog