From 3dcb2a09dbc637799dd5afd1e8dd6bad1b22be39 Mon Sep 17 00:00:00 2001 From: Nicolas MASSE Date: Sun, 2 May 2021 15:12:33 +0200 Subject: [PATCH] fix build for centos8 --- rpmbuild/SPECS/traefik-forward-auth.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/rpmbuild/SPECS/traefik-forward-auth.spec b/rpmbuild/SPECS/traefik-forward-auth.spec index d327f91..a74144b 100644 --- a/rpmbuild/SPECS/traefik-forward-auth.spec +++ b/rpmbuild/SPECS/traefik-forward-auth.spec @@ -20,7 +20,9 @@ Source1: traefik-forward-auth.service Source2: traefik-forward-auth.conf Requires: traefik BuildRequires: systemd -BuildRequires: go-rpm-macros + +# Not (yet ?) in CentOS Stream 8... +#BuildRequires: go-rpm-macros %description %{common_description} @@ -30,7 +32,7 @@ BuildRequires: go-rpm-macros %global debug_package %{nil} %prep -%goprep +%setup # CentOS Stream 8 does not (yet ?) have the %goprep macro cp %{S:1} %{name}.service cp %{S:2} %{name}.conf