## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-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*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Generated by go2rpm %bcond_without check # https://github.com/hashicorp/go-version %global goipath github.com/hashicorp/go-version Version: 1.6.0 %gometa %global common_description %{expand: Go-version is a library for parsing versions and version constraints, and verifying versions against a set of constraints. go-version can sort a collection of versions properly, handles prerelease/beta versions, can increment versions, etc.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Release: %autorelease Summary: Go library for parsing and verifying versions and version constraints # Upstream license specification: MPL-2.0 License: MPLv2.0 URL: %{gourl} Source0: %{gosource} %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Mon Aug 01 2022 Elliott Sales de Andrade 1.6.0-1 - Update to latest version (#2088214) * Thu Jul 21 2022 Fedora Release Engineering 1.4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering 1.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sat Jan 08 2022 Elliott Sales de Andrade 1.4.0-1 - Update to latest version (#2037583) * Thu Jul 22 2021 Fedora Release Engineering - 1.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Apr 02 2021 Elliott Sales de Andrade - 1.3.0-1 - Update to latest version (#1945564) * Tue Jan 26 2021 Fedora Release Engineering - 1.2.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sat Aug 01 2020 Fedora Release Engineering - 1.2.1-3 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 1.2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sun Jun 21 2020 Elliott Sales de Andrade - 1.2.1-1 - Update to latest version * Wed Jan 29 2020 Fedora Release Engineering - 1.2.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 1.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Tue Apr 30 21:02:39 CEST 2019 Robert-André Mauchin - 1.2.0-2 - Update to new macros * Tue Apr 23 2019 Elliott Sales de Andrade - 1.2.0-1 - Update to latest version * Wed Feb 20 2019 Elliott Sales de Andrade - 1.1.0-1 - First package for Fedora