diff --git a/golang-github-prometheus-prometheus.spec b/golang-github-prometheus-prometheus.spec index 7745cfc..0fc00a5 100644 --- a/golang-github-prometheus-prometheus.spec +++ b/golang-github-prometheus-prometheus.spec @@ -46,10 +46,10 @@ Patch2: 0002-Default-settings.patch BuildRequires: glibc-devel-static %endif BuildRequires: fdupes -BuildRequires: go1.11 BuildRequires: golang-github-prometheus-promu BuildRequires: golang-packaging BuildRequires: xz +BuildRequires: golang(API) >= 1.11 BuildRoot: %{_tmppath}/%{name}-%{version}-build %{?systemd_requires} Requires(pre): shadow