## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 5; 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.5.0 %bcond_without check # https://github.com/docker-slim/uilive %global goipath github.com/docker-slim/uilive Version: 0.0.2 %global commit c7c9d1c0f8e4eb82b5e6bb63f6054ec0202fc822 %gometa %global common_description %{expand: Uilive is a go library for updating terminal output in realtime.} %global golicenses LICENSE %global godocs doc example README.md Name: %{goname} Release: %autorelease Summary: Uilive is a go library for updating terminal output in realtime License: MIT URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/gosuri/uilive) %description %{common_description} %gopkg %prep %goprep sed -i 's|"github.com/gosuri/uilive|"github.com/docker-slim/uilive|' $(find . -iname "*.go" -type f) %install %gopkginstall %if %{with check} %check for test in "TestWriter" \ ; do awk -i inplace '/^func.*'"$test"'\(/ { print; print "\tt.Skip(\"disabled failing test\")"; next}1' $(grep -rl $test) done %gocheck %endif %gopkgfiles %changelog * Thu Jan 19 2023 Fedora Release Engineering 0.0.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jul 21 2022 Fedora Release Engineering 0.0.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering 0.0.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Mon Sep 20 2021 Robert-André Mauchin 0.0.2-2 - Fix autochangelog * Mon Sep 20 2021 Robert-André Mauchin 0.0.2-1 - Initial import