## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 4; 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.8.0 %bcond_without check # https://github.com/youpy/go-wav %global goipath github.com/youpy/go-wav Version: 0.3.2 %gometa -f %global common_description %{expand: A Go library to read/write WAVE(RIFF waveform Audio) Format.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Release: %autorelease Summary: A Go library to read/write WAVE(RIFF waveform Audio) Format License: ISC URL: %{gourl} Source: %{gosource} %if %{with check} BuildRequires: golang(gotest.tools/v3/assert) %endif %description %{common_description} %gopkg %prep %goprep sed -i 's:gotest.tools/assert:gotest.tools/v3/assert:' reader_test.go %generate_buildrequires %go_generate_buildrequires %build for cmd in benchmark; 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 %gocheck %endif %files %license LICENSE %doc README.md %{_bindir}/* %gopkgfiles %changelog ## START: Generated by rpmautospec * Sun Feb 11 2024 Maxwell G - 0.3.2-4 - Rebuild for golang 1.22.0 * Wed Jan 24 2024 Fedora Release Engineering - 0.3.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jan 20 2024 Fedora Release Engineering - 0.3.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Aug 09 2023 Robin Lee - 0.3.2-1 - Initial import (RHBZ#2132273) ## END: Generated by rpmautospec