From f98e4d7e1421699026c144240619a14aa184c343 Mon Sep 17 00:00:00 2001 From: Neil Hanlon Date: Wed, 4 Jan 2023 21:35:51 -0500 Subject: [PATCH] fix for fedora and also make fedora-review happy --- python-circuitbreaker.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/python-circuitbreaker.spec b/python-circuitbreaker.spec index 4358d44..2cc3faa 100644 --- a/python-circuitbreaker.spec +++ b/python-circuitbreaker.spec @@ -8,14 +8,15 @@ URL: https://github.com/fabfuel/circuitbreaker Source0: %{pypi_source circuitbreaker} BuildArch: noarch -BuildRequires: python-devel +BuildRequires: python3-devel -%if 0%{?rhel} <= 8 +%if 0%{?rhel} && 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). +This is a Python implementation of the “Circuit Breaker” Pattern +(https://martinfowler.com/bliki/CircuitBreaker.html). } %description %_description @@ -26,7 +27,7 @@ Summary: %{summary} %description -n python3-circuitbreaker %_description %prep -%autosetup +%autosetup -n circuitbreaker %generate_buildrequires %pyproject_buildrequires