## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; 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.10.0 %bcond_without check # https://github.com/rogpeppe/go-internal %global goipath github.com/rogpeppe/go-internal Version: 1.11.0 %gometa -L %global common_description %{expand: Selected Go-internal packages factored out from the standard library.} %global golicenses LICENSE %global godocs README.md Name: golang-github-rogpeppe-internal Release: %autorelease Summary: Selected Go-internal packages factored out from the standard library License: BSD-3-Clause URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep %autopatch -p1 %generate_buildrequires %go_generate_buildrequires %build for cmd in cmd/* ; do %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd done %install %gopkginstall install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %if %{with check} %check for test in "TestScripts" "TestSimple" "TestScan" "TestTestwork" \ ; 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 README.md %{_bindir}/* %gopkgfiles %changelog ## START: Generated by rpmautospec * Wed Dec 13 2023 Mikel Olasagasti Uranga - 1.11.0-1 - Update to 1.11.0 - Closes rhbz#2120431 rhbz#2163214 rhbz#2248334 * Thu Jul 20 2023 Fedora Release Engineering - 1.8.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jan 19 2023 Fedora Release Engineering - 1.8.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jul 21 2022 Fedora Release Engineering - 1.8.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Jul 19 2022 Maxwell G - 1.8.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.8.1-2 - Rebuilt for CVE-2022-1996, CVE-2022-24675, CVE-2022-28327, CVE-2022-27191, CVE-2022-29526, CVE-2022-30629 * Wed Feb 23 2022 Robert-André Mauchin - 1.8.1-1 - Update to 1.8.1 (fix FTBFS) Close: rhbz#2032648 Close: rhbz#2045611 * Thu Jan 20 2022 Fedora Release Engineering - 1.8.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Aug 27 2021 Fabian Affolter - 1.8.0-1 - Update to latest upstream release 1.8.0 (closes rhbz#1918257) * Thu Jul 22 2021 Fedora Release Engineering - 1.6.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 1.6.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Dec 21 12:14:27 CET 2020 Robert-André Mauchin - 1.6.2-1 - Update to 1.6.2 - Close: rhbz#1875936 * Sat Aug 01 23:06:57 CEST 2020 Robert-André Mauchin - 1.6.1-1 - Update to 1.6.1 * Mon Jul 27 2020 Fedora Release Engineering - 1.5.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Feb 17 2020 Elliott Sales de Andrade - 1.5.2-1 - Update to latest version * Wed Jan 29 2020 Fedora Release Engineering - 1.5.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 10 16:48:13 CEST 2019 Robert-André Mauchin - 1.5.0-1 - Release 1.5.0 (#1747063) - Disable failing test (#1735296) * Thu Jul 25 2019 Fedora Release Engineering - 1.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Tue May 07 15:22:23 CEST 2019 Robert-André Mauchin - 1.3.0-1 - Initial package ## END: Generated by rpmautospec