## START: Set by rpmautospec ## (rpmautospec version 0.5.1) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 15; 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.9.0 %bcond_without check %global debug_package %{nil} # https://github.com/rsc/qr %global goipath rsc.io/qr %global forgeurl https://github.com/rsc/qr Version: 0.2.0 %global commit b6857d426aa506d5bf7efb8f73928d72bcf4e73d %gometa %global common_description %{expand: Golang generator of QR codes.} %global godocs README.md %global golicenses LICENSE %global godevelheader %{expand: Requires: pkgconfig(libqrencode) } Name: %{goname} Release: %autorelease Summary: Golang generator of QR codes License: BSD-3-Clause URL: %{gourl} Source0: %{gosource} BuildRequires: pkgconfig(libqrencode) %description %{common_description} %gopkg %prep %goprep %autopatch -p1 %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check # https://github.com/rsc/qr/issues/5 # Release Note: # The internal representation of the output code has been slightly changed - the # second bit from LSB side now represents; 1:ECC bit / 0:data bit. This change is # only for debug purposes and does not affect user applications. rm -rfv coding/qr_test.go %gocheck %endif %gopkgfiles %changelog ## START: Generated by rpmautospec * Wed Jan 24 2024 Fedora Release Engineering - 0.2.0-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jan 20 2024 Fedora Release Engineering - 0.2.0-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Aug 06 2023 Robert-André Mauchin - 0.2.0-13 - Fix FTBFS * Thu Jul 20 2023 Fedora Release Engineering - 0.2.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Mon Apr 10 2023 Elliott Sales de Andrade - 0.2.0-10 - Switch to SPDX license * Thu Jan 19 2023 Fedora Release Engineering - 0.2.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jul 21 2022 Fedora Release Engineering - 0.2.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 0.2.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.2.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0.2.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.2.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 0.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 0.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Wed Jun 12 21:28:42 EDT 2019 Elliott Sales de Andrade - 0.2.0-1 - Initial package ## END: Generated by rpmautospec