## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; 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/pquerna/otp %global goipath github.com/pquerna/otp Version: 1.4.0 %gometa %global common_description %{expand: One Time Passwords (OTPs) are an mechanism to improve security over passwords alone. When a Time-based OTP (TOTP) is stored on a user's phone, and combined with something the user knows (Password), you have an easy on-ramp to Multi-factor authentication without adding a dependency on a SMS provider. This Password and TOTP combination is used by many popular websites including Google, Github, Facebook, Salesforce and many others. The otp library enables you to easily add TOTPs to your own application, increasing your user's security against mass-password breaches and malware.} %global golicenses LICENSE NOTICE %global godocs example README.md Name: %{goname} Release: %autorelease Summary: TOTP library for Go # Upstream license specification: Apache-2.0 License: ASL 2.0 URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/boombuler/barcode) BuildRequires: golang(github.com/boombuler/barcode/qr) %if %{with check} # Tests BuildRequires: golang(github.com/gokyle/twofactor) BuildRequires: golang(github.com/stretchr/testify/assert) BuildRequires: golang(github.com/stretchr/testify/require) %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Thu Jan 19 2023 Fedora Release Engineering 1.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Tue Dec 20 2022 Fabio Alessandro Locati 1.4.0-1 - update to 1.4.0. Fixes rhbz#2153757 * Sun Sep 04 2022 Fabio Alessandro Locati 1.3.0-8 - add patch to allow gopass 1.14.5 to compile * Thu Jul 21 2022 Fedora Release Engineering 1.3.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Feb 23 2022 Robert-André Mauchin 1.3.0-6 - Add missing BR gokyle/twofactor (fix FTBFS) Close: rhbz#2045602 * Thu Jan 20 2022 Fedora Release Engineering - 1.3.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 1.3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 1.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jan 5 18:35:45 CET 2021 Robert-André Mauchin - 1.3.0-1 - Update to 1.3.0 - Close: rhbz#1896873 * Mon Jul 27 2020 Fedora Release Engineering - 1.2.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 1.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 1.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Tue Jun 04 16:34:51 CEST 2019 Robert-André Mauchin - 1.2.0-1 - Release 1.2.0 * Sat Apr 06 18:08:34 CEST 2019 Robert-André Mauchin - 1.1.0-1 - Release 1.1.0 (#1695320) * Fri Feb 01 2019 Fedora Release Engineering - 1.0.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 1.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 1.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Sun Oct 08 2017 Ed Marshall - 1.0.0-1 - First package for Fedora