# Generated by go2rpm 1.3 %bcond_without check # https://git.sr.ht/~sircmpwn/getopt %global goipath git.sr.ht/~sircmpwn/getopt %global forgeurl https://git.sr.ht/~sircmpwn/getopt %global commit 23622cc906b37a74408b0bec01655be519a63554 %global repo getopt %global archivename %{repo}-%{commit} %global archiveext tar.gz %global archiveurl %{forgeurl}/archive/%{commit}.%{archiveext} %global topdir %{repo}-%{commit} %global extractdir %{repo}-%{commit} %global scm git %gometa %global goname golang-sr-sircmpwn-getopt %global godevelname golang-sr-sircmpwn-getopt-devel %global common_description %{expand: A POSIX-compatible getopt implementation for Go, because POSIX getopt is The Correct Way to interpret arguments to command line utilities.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Version: 0 Release: 0.1%{?dist} Summary: POSIX-compatible getopt implementation for Go # Upstream license specification: BSD-3-Clause License: BSD URL: %{gourl} Source0: %{gosource} %if %{with check} # Tests BuildRequires: golang(github.com/stretchr/testify/assert) %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Wed Dec 09 09:56:30 CET 2020 Robert-André Mauchin - 0-0.1.20201209git23622cc - Initial package