From 9171c4f63f6c9e37656b903c4f582b8aeecbbc7e Mon Sep 17 00:00:00 2001 From: Neil Hanlon Date: Wed, 4 Jan 2023 21:07:58 -0500 Subject: [PATCH] conditionalize epel-rpm-macros --- python-circuitbreaker.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python-circuitbreaker.spec b/python-circuitbreaker.spec index 47d0a2b..4358d44 100644 --- a/python-circuitbreaker.spec +++ b/python-circuitbreaker.spec @@ -9,7 +9,10 @@ Source0: %{pypi_source circuitbreaker} BuildArch: noarch BuildRequires: python-devel + +%if 0%{?rhel} <= 8 BuildRequires: epel-rpm-macros +%endif %global _description %{expand: This is a Python implementation of the “Circuit Breaker” Pattern (https://martinfowler.com/bliki/CircuitBreaker.html).