## 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 %bcond_without check # https://github.com/emersion/go-mbox %global goipath github.com/emersion/go-mbox Version: 1.0.3 %gometa %global common_description %{expand: Package mbox parses the mbox file format into messages and formats messages into mbox files.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Release: %autorelease Summary: Package mbox parses the mbox file format into messages and formats messages into mbox files License: MIT URL: %{gourl} # The maintainer provides a signed archive, so 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-mbox-%{version}.tar.gz Source0: %{signed_source} Source1: %{signed_source}.sig Source2: https://emersion.fr/.well-known/openpgpkey/hu/dj3498u4hyyarh35rkjfnghbjxug6b19#/emersion.asc %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Thu Jan 19 2023 Fedora Release Engineering 1.0.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Wed Sep 21 2022 Maxwell G 1.0.3-2 - Use gpg signed source tarball * Wed Sep 21 2022 Maxwell G 1.0.3-1 - Initial import (rhbz#2124347).