## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Generated by go2rpm 1.8.1 # # This specfile is licensed under: # SPDX-License-Identifier: MIT # License text: https://spdx.org/licenses/MIT.html # SPDX-FileCopyrightText: 2022 Maxwell G # SPDX-FileCopyrightText: Fedora Project Authors %global debug_package %{nil} %bcond_without check # https://github.com/emersion/go-milter %global goipath github.com/emersion/go-milter Version: 0.3.3 %gometa %global common_description %{expand: Go library to write mail filters.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Release: %autorelease Summary: Go library to write mail filters License: BSD-2-Clause URL: %{gourl} # The maintainer provides a signed archive, so should use that instead of # the Github generated one. # https://docs.fedoraproject.org/en-US/packaging-guidelines/#_source_file_verification # Source: %%{gosource} %global signed_source %{url}/releases/download/v%{version}/go-milter-%{version}.tar.gz Source0: %{signed_source} Source1: %{signed_source}.sig Source2: https://emersion.fr/.well-known/openpgpkey/hu/dj3498u4hyyarh35rkjfnghbjxug6b19#/emersion.asc BuildRequires: gnupg2 %description %{common_description} %gopkg %prep %gpgverify -d0 -s1 -k2 %goprep %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Wed Sep 21 2022 Maxwell G 0.3.3-3 - Commit gpg key * Wed Sep 21 2022 Maxwell G 0.3.3-1 - Initial import (rhbz#2124368)