## START: Set by rpmautospec ## (rpmautospec version 0.2.5) %define autorelease(e:s:pb:) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{?dist} ## END: Set by rpmautospec # Generated by go2rpm 1.6.0 %bcond_without check %global debug_package %{nil} # https://github.com/containers/ocicrypt %global goipath github.com/containers/ocicrypt Version: 1.1.2 %gometa %global godevelheader %{expand: Requires: gnutls-utils} %global common_description %{expand: Encryption libraries for Encrypted OCI Container images.} %global golicenses LICENSE %global godocs docs ADOPTERS.md README.md CODE-OF-CONDUCT.md\\\ SECURITY.md Name: %{goname} Release: %autorelease Summary: Encryption libraries for Encrypted OCI Container images # Upstream license specification: Apache-2.0 License: ASL 2.0 URL: %{gourl} Source0: %{gosource} %description %{common_description} %gopkg %prep %goprep %generate_buildrequires %go_generate_buildrequires echo 'gnutls-utils' %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog