## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 11; 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 %bcond_without check %global debug_package %{nil} # https://github.com/gobuffalo/packr %global goipath github.com/gobuffalo/packr Version: 2.8.1 %gometa %global goaltipaths github.com/gobuffalo/packr/v2 %global common_description %{expand: Packr is a simple solution for bundling static assets inside of Go binaries. Most importantly it does it in a way that is friendly to developers while they are developing.} %global golicenses LICENSE.txt %global godocs example README.md SHOULDERS.md Name: %{goname} Release: %autorelease Summary: Simple and easy way to embed static files into Go binaries License: MIT URL: %{gourl} Source: %{gosource} Patch: fix-test-failures.patch BuildRequires: golang(github.com/gobuffalo/envy) BuildRequires: golang(github.com/gobuffalo/logger) BuildRequires: golang(github.com/gobuffalo/packd) BuildRequires: golang(github.com/karrick/godirwalk) BuildRequires: golang(github.com/markbates/errx) BuildRequires: golang(github.com/markbates/oncer) BuildRequires: golang(github.com/markbates/safe) BuildRequires: golang(github.com/rogpeppe/go-internal/modfile) BuildRequires: golang(github.com/sirupsen/logrus) BuildRequires: golang(github.com/spf13/cobra) BuildRequires: golang(golang.org/x/sync/errgroup) BuildRequires: golang(golang.org/x/tools/go/ast/astutil) %if %{with check} # Tests BuildRequires: golang(github.com/stretchr/testify/require) %endif %description %{common_description} %gopkg %prep %goprep %autopatch -p1 %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog ## START: Generated by rpmautospec * Mon Jun 17 2024 Robert-André Mauchin - 2.8.1-11 - Fix FTBFS * Wed Jan 24 2024 Fedora Release Engineering - 2.8.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jan 20 2024 Fedora Release Engineering - 2.8.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 20 2023 Fedora Release Engineering - 2.8.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed Jan 18 2023 Maxwell G - 2.8.1-6 - Add patch to fix test failures * Thu Jul 21 2022 Fedora Release Engineering - 2.8.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 2.8.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 2.8.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 2.8.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Fri Dec 18 19:46:40 CET 2020 Robert-André Mauchin - 2.8.1-1 - Update to 2.8.1 - Close: rhbz#1896602 * Fri Aug 14 00:45:20 CEST 2020 Robert-André Mauchin - 2.8.0-1 - Update to 2.8.0 * Sat Aug 01 2020 Fedora Release Engineering - 2.6.0-4 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 2.6.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 2.6.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Aug 21 11:48:02 CEST 2019 Robert-André Mauchin - 2.6.0-1 - Initial package ## END: Generated by rpmautospec