## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %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.8.0 %bcond_without check %global debug_package %{nil} # https://gitlab.com/cznic/libc %global goipath modernc.org/libc %global forgeurl https://gitlab.com/cznic/libc Version: 1.16.19 %global tag v1.16.19 %gometa -f %global common_description %{expand: Package libc provides C-runtime services.} %global golicenses LICENSE LICENSE-GO %global godocs AUTHORS CONTRIBUTORS README.md Name: %{goname} Release: %autorelease Summary: C-runtime services License: MIT and BSD-3-Clause URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep %generate_buildrequires %go_generate_buildrequires %build %gobuild -o %{gobuilddir}/bin/golibc %{goipath} %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 LICENSE-GO %doc AUTHORS CONTRIBUTORS README.md %{_bindir}/golibc %gopkgfiles %changelog * Mon Aug 15 2022 Robert-André Mauchin 1.16.19-1 - Uncommitted changes