## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## RPMAUTOSPEC: autorelease, autochangelog %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 1.14.0 %bcond check 1 # https://github.com/gopasspw/gopass-hibp %global goipath github.com/gopasspw/gopass-hibp Version: 1.15.16 %gometa -L -f %global common_description %{expand: Gopass haveibeenpwnd.com integration.} Name: gopass-hibp Release: %autorelease Summary: Gopass haveibeenpwnd.com integration # Generated by go-vendor-tools License: BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0 AND (Apache-2.0 OR MIT) URL: %{gourl} Source0: %{gosource} # Generated by go-vendor-tools Source1: %{archivename}-vendor.tar.bz2 Source2: go-vendor-tools.toml # [chore] Fix linter errors #74 # Fixes FTBFS with Go 1.24 Patch: https://github.com/gopasspw/gopass-hibp/pull/74.patch BuildRequires: go-vendor-tools %description %{common_description} %prep %goprep -A %setup -q -T -D -a1 %{forgesetupargs} %autopatch -p1 %generate_buildrequires %go_vendor_license_buildrequires -c %{S:2} %build %gobuild -o %{gobuilddir}/bin/gopass-hibp %{goipath} %install %go_vendor_license_install -c %{S:2} install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %check %go_vendor_license_check -c %{S:2} %if %{with check} %gocheck %endif %files -f %{go_vendor_license_filelist} %license vendor/modules.txt %doc CHANGELOG.md README.md %{_bindir}/gopass-hibp %changelog ## START: Generated by rpmautospec * Tue Apr 22 2025 Fabio Alessandro Locati - 1.15.16-1 - Update to 1.15.16. Fixes rhbz#2361524 * Sun Mar 23 2025 Maxwell G - 1.15.15-4 - Fix FTBFS with Go 1.24 (rhbz#2340567). * Fri Jan 17 2025 Fedora Release Engineering - 1.15.15-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Mon Nov 25 2024 Fabio Alessandro Locati - 1.15.15-2 - Add vendored deps as well. Fixes rhbz#2328558 * Sun Nov 24 2024 Fabio Alessandro Locati - 1.15.15-1 - Update to 1.15.15 * Tue Aug 06 2024 Fabio Alessandro Locati - 1.15.14-2 - Fix license file * Mon Aug 05 2024 Fabio Alessandro Locati - 1.15.14-1 - Update to 1.15.14, fixes rhbz#2302760 * Thu Jul 18 2024 Fedora Release Engineering - 1.15.13-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sun Jul 14 2024 Fabio Alessandro Locati - 1.15.13-2 - Move to vendored dependencies. I disabled Packit because my understanding is that it would not properly support vendored go updates, at least for now * Tue Jul 09 2024 Mikel Olasagasti Uranga - 1.15.13-1 - Update to 1.15.13 - Closes rhbz#2159125 rhbz#2255098 * Sun Feb 11 2024 Maxwell G - 1.15.7-4 - Rebuild for golang 1.22.0 * Wed Jan 24 2024 Fedora Release Engineering - 1.15.7-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jan 20 2024 Fedora Release Engineering - 1.15.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Aug 07 2023 Fabio Alessandro Locati - 1.15.7-1 - Update to 1.15.7 * Thu Jul 20 2023 Fedora Release Engineering - 1.15.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jan 19 2023 Fedora Release Engineering - 1.15.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Tue Dec 20 2022 Fabio Alessandro Locati - 1.15.2-1 - Update to 1.5.2. Fixes rhbz#2155103 * Mon Dec 12 2022 Fabio Alessandro Locati - 1.15.0-2 - re-enable tests * Sat Dec 10 2022 Fabio Alessandro Locati - 1.15.0-1 - update to 1.15.0. fixes rhbz#2123983 * Mon Aug 15 2022 Fabio Alessandro Locati - 1.14.3-1 - updateto 1.14.3 * Wed Aug 10 2022 Maxwell G - 1.12.0-5 - Rebuild to fix FTBFS * Thu Jul 21 2022 Fedora Release Engineering - 1.12.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Jul 19 2022 Maxwell G - 1.12.0-3 - Rebuild for CVE-2022-{1705,32148,30631,30633,28131,30635,30632,30630,1962} in golang * Sat Jun 18 2022 Robert-André Mauchin - 1.12.0-2 - Rebuilt for CVE-2022-1996, CVE-2022-24675, CVE-2022-28327, CVE-2022-27191, CVE-2022-29526, CVE-2022-30629 * Wed May 11 2022 Fabio Alessandro Locati - 1.12.0-1 - initial version. closes rhbz#2082975 ## END: Generated by rpmautospec