## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 4; 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.6.0 %bcond_without check # https://github.com/gopasspw/gopass-jsonapi %global goipath github.com/gopasspw/gopass-jsonapi Version: 1.15.7 %gometa %global goname gopass-jsonapi %global common_description %{expand: Gopass Browser Bindings.} %global golicenses LICENSE %global godocs docs README.md CHANGELOG.md Name: %{goname} Release: %autorelease Summary: Gopass Browser Bindings License: MIT URL: %{gourl} Source0: %{gosource} BuildRequires: git-core BuildRequires: gnupg2 %description %{common_description} %gopkg %prep %goprep %generate_buildrequires %go_generate_buildrequires %build %gobuild -o %{gobuilddir}/bin/gopass-jsonapi %{goipath} %install %gopkginstall install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/gopass-jsonapi %{buildroot}%{_bindir}/ %if %{with check} %check git config --global user.email "%{name}-owner@fedoraproject.org" git config --global user.name "%{name} maintainer" for test in "TestPubring"; do awk -i inplace '/^func.*'"$test"'\(/ { print; print "\tt.Skip(\"disabled failing test\")"; next}1' $(grep -rl $test) done %gocheck %endif %files %license LICENSE %doc docs README.md CHANGELOG.md %{_bindir}/gopass-jsonapi %gopkgfiles %changelog ## START: Generated by rpmautospec * 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 * Mon Aug 07 2023 Fabio Alessandro Locati - 1.15.5-1 - Update to 1.15.5 * 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#2155101 * Mon Dec 12 2022 Fabio Alessandro Locati - 1.15.1-2 - remove old comment * Mon Dec 12 2022 Fabio Alessandro Locati - 1.15.1-1 - update to 1.15.1. Fixes rhbz#2152467 * Sat Dec 10 2022 Fabio Alessandro Locati - 1.15.0-1 - update to 1.15.0. Fixes rhbz#2123984 * Mon Aug 15 2022 Fabio Alessandro Locati - 1.14.3-1 - update to 1.14.3 * Wed Aug 10 2022 Maxwell G - 1.11.1-5 - Rebuild to fix FTBFS * Thu Jul 21 2022 Fedora Release Engineering - 1.11.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Jul 19 2022 Maxwell G - 1.11.1-3 - Rebuild for CVE-2022-{1705,32148,30631,30633,28131,30635,30632,30630,1962} in golang * Sat Jun 18 2022 Robert-André Mauchin - 1.11.1-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.11.1-1 - first version, closes rhbz#2082974 ## END: Generated by rpmautospec