# Generated by go2rpm 1.19.0 %bcond check 1 %bcond bootstrap 0 %global debug_package %{nil} %if %{with bootstrap} %global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^golang\\(.*\\)$ %endif # https://github.com/clipperhouse/uax29 %global goipath github.com/clipperhouse/uax29/v2 Version: v2.7.0 %global tag v2.7.0 %gometa -L -f %global common_description %{expand: A tokenizer based on Unicode text segmentation (UAX #29), for Go. Split graphemes, words, sentences.} %global golicenses LICENSE %global godocs AGENTS.md README.md graphemes/README.md\\\ phrases/README.md sentences/README.md words/README.md Name: golang-github-clipperhouse-uax29-2 Release: %autorelease Summary: A tokenizer based on Unicode text segmentation (UAX #29), for Go. Split graphemes, words, sentences License: MIT AND BSD-3-Clause URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep -A %autopatch -p1 %if %{without bootstrap} %generate_buildrequires %go_generate_buildrequires %endif %install %gopkginstall %if %{without bootstrap} %if %{with check} %check # internal/gen/triegen is uax29's own code-generation tooling (regenerates # trie tables), not part of the library's public API - it imports # golang.org/x/text's own internal/triegen, which real consumers can never # legitimately reach either (Go's internal-package rule scopes it to # golang.org/x/text itself), so there's no packaged golang(...) provide for # it and %%check fails on this subpackage alone otherwise. %gocheck -r '.*internal/gen.*' %endif %endif %gopkgfiles %changelog %autochangelog