## START: Set by rpmautospec ## (rpmautospec version 0.2.5) %define autorelease(e:s:pb:) %{?-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*}}%{?dist} ## END: Set by rpmautospec # Generated by go2rpm 1.5.0 %bcond_without check # https://github.com/kennygrant/sanitize %global goipath github.com/kennygrant/sanitize Version: 1.2.4 %gometa %global common_description %{expand: Package Sanitize provides functions for sanitizing text in golang strings.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Release: %autorelease Summary: Functions for sanitizing text in golang strings # Upstream license specification: BSD-3-Clause License: BSD URL: %{gourl} Source0: %{gosource} BuildRequires: golang(golang.org/x/net/html) %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Sat Sep 18 2021 Robert-André Mauchin 1.2.4-1 - Initial release