fix for fedora and also make fedora-review happy

This commit is contained in:
Neil Hanlon 2023-01-04 21:35:51 -05:00
parent 9171c4f63f
commit f98e4d7e14
Signed by: neil
GPG Key ID: 705BC21EC3C70F34

View File

@ -8,14 +8,15 @@ URL: https://github.com/fabfuel/circuitbreaker
Source0: %{pypi_source circuitbreaker} Source0: %{pypi_source circuitbreaker}
BuildArch: noarch BuildArch: noarch
BuildRequires: python-devel BuildRequires: python3-devel
%if 0%{?rhel} <= 8 %if 0%{?rhel} && 0%{rhel} <= 8
BuildRequires: epel-rpm-macros BuildRequires: epel-rpm-macros
%endif %endif
%global _description %{expand: %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 %description %_description
@ -26,7 +27,7 @@ Summary: %{summary}
%description -n python3-circuitbreaker %_description %description -n python3-circuitbreaker %_description
%prep %prep
%autosetup %autosetup -n circuitbreaker
%generate_buildrequires %generate_buildrequires
%pyproject_buildrequires %pyproject_buildrequires