spec: Improve the rpm package

This still needs a lot of work by a packaging specialist.
This commit is contained in:
James Shubin
2016-10-19 20:10:11 -04:00
parent 42ff9b803a
commit c4c28c6c82

View File

@@ -12,11 +12,14 @@ 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
BuildRequires: golang # 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-googlecode-tools-stringer
BuildRequires: git-core BuildRequires: git-core
BuildRequires: mercurial BuildRequires: mercurial
ExclusiveArch: %{go_arches}
%description %description
A next generation config management prototype! A next generation config management prototype!