From 63269fe34336a45adaa97410ba1ab146cd16e974 Mon Sep 17 00:00:00 2001 From: James Shubin Date: Mon, 29 Sep 2025 23:11:33 -0400 Subject: [PATCH] spec: Small RPM fixes In case anyone tries this. --- spec.in | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/spec.in b/spec.in index fa3faf9c..e02f18ec 100644 --- a/spec.in +++ b/spec.in @@ -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 Requires: graphviz -# If go_compiler is not set to 1, there is no virtual provide. Use golang instead. -BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang} -BuildRequires: golang-googlecode-tools-stringer +BuildRequires: golang +BuildRequires: golang-x-tools-stringer BuildRequires: git-core BuildRequires: mercurial @@ -57,7 +56,6 @@ install -m 0644 misc/example.conf %{buildroot}%{_sysconfdir}/__PROGRAM__/__PROGR %doc AUTHORS %doc COPYING %doc COPYRIGHT -%doc DOCUMENTATION.md %doc README.md %doc THANKS %doc examples/*