spec: Small RPM fixes

In case anyone tries this.
This commit is contained in:
James Shubin
2025-09-29 23:11:33 -04:00
parent f588703474
commit 63269fe343

View File

@@ -12,9 +12,8 @@ Source0: https://dl.fedoraproject.org/pub/alt/purpleidea/__PROGRAM__/SOURCES/__P
# graphviz should really be a "suggests", since technically it's optional # graphviz should really be a "suggests", since technically it's optional
Requires: graphviz Requires: graphviz
# If go_compiler is not set to 1, there is no virtual provide. Use golang instead. BuildRequires: golang
BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang} BuildRequires: golang-x-tools-stringer
BuildRequires: golang-googlecode-tools-stringer
BuildRequires: git-core BuildRequires: git-core
BuildRequires: mercurial BuildRequires: mercurial
@@ -57,7 +56,6 @@ install -m 0644 misc/example.conf %{buildroot}%{_sysconfdir}/__PROGRAM__/__PROGR
%doc AUTHORS %doc AUTHORS
%doc COPYING %doc COPYING
%doc COPYRIGHT %doc COPYRIGHT
%doc DOCUMENTATION.md
%doc README.md %doc README.md
%doc THANKS %doc THANKS
%doc examples/* %doc examples/*