diff --git a/contrib/rpm/host-metering.spec.in b/contrib/rpm/host-metering.spec.in index 637d525..e5c99d5 100644 --- a/contrib/rpm/host-metering.spec.in +++ b/contrib/rpm/host-metering.spec.in @@ -36,6 +36,11 @@ BuildRequires: go-toolset-1.19 BuildRequires: golang >= 1.19 BuildRequires: systemd-rpm-macros %endif + +%if 0%{?rhel} > 8 || %{?fedora} +BuildRequires: go-rpm-macros +%endif + BuildRequires: git BuildRequires: policycoreutils BuildRequires: selinux-policy