## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 13; 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/howeyc/gopass %global goipath github.com/howeyc/gopass %global commit 7cb4b85ec19c7c220ab71433a230f7eb200d639d %gometa %global common_description %{expand: Retrieve password from user terminal or piped input without echo.} %global golicenses LICENSE.txt OPENSOLARIS.LICENSE %global godocs README.md %global gosupfiles glide.lock glide.yaml Name: %{goname} Version: 0 Release: %autorelease -p Summary: Getpasswd for Go # Upstream license specification: ISC and CDDL-1.0 License: ISC and CDDL-1.0 URL: %{gourl} Source0: %{gosource} Source1: glide.yaml Source2: glide.lock # Fix "+build comment must appear before package clause" error Patch0: 0001-Fix-build-comment-clause.patch BuildRequires: golang(golang.org/x/crypto/ssh/terminal) %description %{common_description} %gopkg %prep %goprep %patch0 -p1 cp %{S:1} %{S:2} . %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Thu Jul 21 2022 Fedora Release Engineering 0-0.13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering 0-0.12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sat Jan 08 2022 Robert-André Mauchin 0-0.11 - Fix license field Close: rhbz#2036136 * Thu Jul 22 2021 Fedora Release Engineering - 0-0.24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0-0.23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sat Jan 09 21:04:10 CET 2021 Robert-André Mauchin - 0-0.22.20210109git7cb4b85 - Bump to commit 7cb4b85ec19c7c220ab71433a230f7eb200d639d * Sat Aug 01 2020 Fedora Release Engineering - 0-0.21 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 0-0.20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 0-0.19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 0-0.18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 23:01:19 CEST 2019 Robert-André Mauchin - 0-0.17.20190531gitbf9dde6 - Bump to commit bf9dde6d0d2c004a008c27aaee91170c786f6db8 * Fri Feb 01 2019 Fedora Release Engineering - 0-0.16.git3ca2347 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Tue Oct 23 2018 Nicolas Mailhot - 0-0.15.git3ca2347 - 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.14.git3ca2347 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 12 2018 Jan Chaloupka - 0-0.13.git3ca2347 - Upload glide files * Wed Feb 28 2018 Jan Chaloupka - 0-0.12.20160826git3ca2347 - Autogenerate some parts using the new macros * Wed Feb 07 2018 Fedora Release Engineering - 0-0.11.git3ca2347 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Sep 27 2017 Jan Chaloupka - 0-0.10.git3ca2347 - Bump to upstream 3ca23474a7c7203e0a0a070fd33508f6efdb9b3d related: #1250479 * Wed Aug 02 2017 Fedora Release Engineering - 0-0.9.git2c70fa7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0-0.8.git2c70fa7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 0-0.7.git2c70fa7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Jul 21 2016 Fedora Release Engineering - 0-0.6.git2c70fa7 - https://fedoraproject.org/wiki/Changes/golang1.7 * Mon Feb 22 2016 Fedora Release Engineering - 0-0.5.git2c70fa7 - https://fedoraproject.org/wiki/Changes/golang1.6 * Wed Feb 03 2016 Fedora Release Engineering - 0-0.4.git2c70fa7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Sat Sep 12 2015 jchaloup - 0-0.3.git2c70fa7 - Update to spec-2.1 related: #1250479 * Thu Aug 06 2015 Fridolin Pokorny - 0-0.2.git2c70fa7 - Update spec to spec-2.0 resolves: #1250479 * Mon Jun 15 2015 Marek Skalicky - 0-0.1.git2c70fa7 - First package for Fedora resolves: #1232214