## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 11; 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 %global debug_package %{nil} # https://github.com/spf13/pflag %global goipath github.com/spf13/pflag Version: 1.0.5 %global commit d5e0c0615acee7028e1e2740a11102313be88de1 %gometa %global common_description %{expand: pflag is a drop-in replacement for Go's flag package, implementing POSIX/GNU-style --flags. pflag is compatible with the GNU extensions to the POSIX recommendations for command-line options.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Release: %autorelease Summary: Drop-in replacement for Go's flag package, implementing posix/gnu-style --flags License: BSD-3-Clause URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep # Workaround flag_test.go test with golang-1.18 sed -e 's/fmt.Println/fmt.Print/' -i flag_test.go %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Sun Sep 18 2022 Robert-André Mauchin 1.0.5-11 - Bump to commit d5e0c0615acee7028e1e2740a11102313be88de1 * Thu Jul 21 2022 Fedora Release Engineering - 1.0.5-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 27 2022 Mikel Olasagasti Uranga 1.0.5-7 - Workaround test for golang-1.18 - Closes rhbz#2045616 * Thu Jan 20 2022 Fedora Release Engineering - 1.0.5-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 1.0.5-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sun Jun 20 2021 Davide Cavalca - 1.0.5-4 - Backport commit to add exported functions to preserve pkg/flag compatibility * Tue Jan 26 2021 Fedora Release Engineering - 1.0.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 1.0.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Feb 17 2020 Elliott Sales de Andrade - 1.0.5-1 - Update to latest version * Wed Jan 29 2020 Fedora Release Engineering - 1.0.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 1.0.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Apr 25 22:25:37 CEST 2019 Robert-André Mauchin - 1.0.3-3 - Update to new macros * Fri Feb 01 2019 Fedora Release Engineering - 1.0.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Oct 26 2018 Robert-André Mauchin - 1.0.3-1 - Update to release 1.0.3 * Tue Oct 23 2018 Nicolas Mailhot - 1.0.0-5.gite57e3ee - 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 - 1.0.0-4.gite57e3ee - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Mon Mar 05 2018 Jan Chaloupka - 1.0.0-3.gite57e3ee - Update to spec 3.0 * Fri Mar 02 2018 Jan Chaloupka - 1.0.0-2 - Autogenerate some parts using the new macros * Wed Feb 21 2018 Kaushal - 1.0.0-1 - Update to upstream v1.0.0 * Wed Feb 07 2018 Fedora Release Engineering - 0-0.20.gitc7e63cf - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Aug 02 2017 Fedora Release Engineering - 0-0.19.gitc7e63cf - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0-0.18.gitc7e63cf - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 0-0.17.gitc7e63cf - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Fri Jan 13 2017 Jan Chaloupka - 0-0.16.gitc7e63cf - Bump to upstream c7e63cf4530bcd3ba943729cee0efeff2ebea63f related: #1214731 * Fri Jan 13 2017 Jan Chaloupka - 0-0.15.git08b1a58 - Polish the spec file related: #1214731 * Thu Jul 21 2016 Fedora Release Engineering - 0-0.14.git08b1a58 - https://fedoraproject.org/wiki/Changes/golang1.7 * Sun Mar 06 2016 jchaloup - 0-0.13.git08b1a58 - Bump to upstream 08b1a584251b5b62f458943640fc8ebd4d50aaa5 related: #1214731 * Mon Feb 22 2016 Fedora Release Engineering - 0-0.12.git5644820 - https://fedoraproject.org/wiki/Changes/golang1.6 * Wed Feb 03 2016 Fedora Release Engineering - 0-0.11.git5644820 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Aug 12 2015 Fridolin Pokorny - 0-0.10.git5644820 - Update spec file to spec-2.0 related: #1214731 * Wed Jun 17 2015 Fedora Release Engineering - 0-0.9.git5644820 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Tue Jun 02 2015 jchaloup - 0-0.8.git5644820 - Bump to upstream 5644820622454e71517561946e3d94b9f9db6842 related: #1214731 * Thu Apr 23 2015 jchaloup - 0-0.7.git18d831e - Bump to upstream 18d831e92d67eafd1b0db8af9ffddbd04f7ae1f4 resolves: #1214731 * Mon Mar 30 2015 jchaloup - 0-0.6.git11b7cf8 - Bump to upstream 11b7cf8387a31f278486eaad758162830eca8c73 related: #1085890 * Wed Feb 25 2015 jchaloup - 0-0.5.git370c317 - Bump to upstream 370c3171201099fa6b466db45c8a032cbce33d8d related: #1085890 * Fri Feb 06 2015 jchaloup - 0-0.4.gitf82776d - Bump to upstream f82776d6cc998e3c026baef7b24409ff49fe5c8d related: #1085890 * Thu Oct 16 2014 jchaloup - 0-0.3.git463bdc8 - Bump to 463bdc838f2b35e9307e91d480878bda5fff7232 * Sat Jun 07 2014 Fedora Release Engineering - 0-0.2.git94e98a5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Fri Apr 04 2014 Lokesh Mandvekar 0-0.1.git - Initial package