# Generated by go2rpm 1 %bcond_without check # https://github.com/ChrisTrenkamp/goxpath %global goipath github.com/ChrisTrenkamp/goxpath %global commit c5096ec8773dd9f554971472081ddfbb0782334e %gometa %global common_description %{expand: An XPath 1.0 implementation written in the Go programming language.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Version: 0 Release: 0.5%{?dist} Summary: XPath 1.0 implementation License: MIT URL: %{gourl} Source0: %{gosource} BuildRequires: golang(golang.org/x/net/html/charset) BuildRequires: golang(golang.org/x/text/language) %description %{common_description} %gopkg %prep %{goprep goxpath-1.0-alpha3} %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 %gocheck %endif %files %license LICENSE %doc README.md %{_bindir}/* %gopkgfiles %changelog * Thu Jan 20 2022 Fedora Release Engineering - 0-0.5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0-0.4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0-0.3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 0-0.2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Apr 06 2020 Fabian Affolter - 0-0.1.20200604gitc5096e - Initial package for Fedora