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