## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 12; 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 %bcond_without check # https://github.com/coreos/go-semver %global goipath github.com/coreos/go-semver Version: 0.3.0 %global commit 167f5da54033088a1d6b3049504828fa2ff8b116 %gometa %global common_description %{expand: Go-semver is a semantic versioning library for Go. It lets you parse and compare two semantic version strings.} %global golicenses LICENSE NOTICE %global godocs README.md code-of-conduct.md Name: %{goname} Release: %autorelease Summary: Semver library in Go License: Apache-2.0 URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep %generate_buildrequires %go_generate_buildrequires %build %gobuild -o %{gobuilddir}/bin/go-semver %{goipath} %install %gopkginstall install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %if %{with check} %check %gocheck %endif %files %license LICENSE NOTICE %doc README.md code-of-conduct.md %{_bindir}/go-semver %gopkgfiles %changelog * Sun Sep 25 2022 Robert-André Mauchin 0.3.0-12 - Bump to commit 167f5da54033088a1d6b3049504828fa2ff8b116 * Thu Jul 21 2022 Fedora Release Engineering - 0.3.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 0.3.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.3.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0.3.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 0.3.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jan 28 2020 Fedora Release Engineering - 0.3.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 0.3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Tue Jul 09 2019 Elliott Sales de Andrade - 0.3.0-2 - Add Obsoletes for old name * Fri Apr 26 16:14:32 CEST 2019 Robert-André Mauchin - 0.3.0-1 - Release 0.3.0 * Thu Jan 31 2019 Fedora Release Engineering - 0.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Wed Nov 14 2018 Robert-André Mauchin - 0.2.0-1 - Release 0.2.0 * Tue Oct 23 2018 Nicolas Mailhot - 0-0.19.20160714git8ab6407 - redhat-rpm-config-123 triggers bugs in gosetup, remove it from Go spec files as it’s just an alias - https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/RWD5YATAYAFWKIDZBB7EB6N5DAO4ZKFM/ * Fri Jul 13 2018 Fedora Release Engineering - 0-0.18.git8ab6407 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Sat Jun 09 2018 Jan Chaloupka - 0-0.17.20160714git8ab6407 - Upload glide files * Wed Feb 28 2018 Jan Chaloupka - 0-0.16.20160714git8ab6407 - Autogenerate some parts using the new macros * Wed Feb 07 2018 Fedora Release Engineering - 0-0.15.git8ab6407 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Fri Sep 22 2017 Jan Chaloupka - 0-0.14.git8ab6407 - Bump to upstream 8ab6407b697782a06568d4b7f1db25550ec2e4c6 related: #1248718 * Wed Aug 02 2017 Fedora Release Engineering - 0-0.13.git568e959 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0-0.12.git568e959 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 0-0.11.git568e959 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Fri Dec 16 2016 Jan Chaloupka - 0-0.10.git568e959 - Polish the spec file related: #1248718 * Thu Jul 21 2016 Fedora Release Engineering - 0-0.9.git568e959 - https://fedoraproject.org/wiki/Changes/golang1.7 * Mon Feb 22 2016 Fedora Release Engineering - 0-0.8.git568e959 - https://fedoraproject.org/wiki/Changes/golang1.6 * Wed Feb 03 2016 Fedora Release Engineering - 0-0.7.git568e959 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Sat Sep 12 2015 jchaloup - 0-0.6.git568e959 - Update to spec-2.1 related: #1248718 * Thu Jul 30 2015 jchaloup - 0-0.5.git568e959 - Update spec file to spec-2.0 resolves: #1248718 * Wed Jun 17 2015 Fedora Release Engineering - 0-0.4.git568e959 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Thu Apr 02 2015 Lokesh Mandvekar - 0-0.3.git568e959 - update to latest master * Wed Feb 04 2015 Lokesh Mandvekar - 0-0.2.git6fe83cc - Own goipath dir and not just goipath/semver * Tue Dec 09 2014 Lokesh Mandvekar - 0-0.1.git6fe83cc - Resolves: rhbz#1174021 - Initial package