From ad880c95fdf5f6d5130aac49a4fd79c1bf757d43 Mon Sep 17 00:00:00 2001 From: Carl George Date: Tue, 6 Oct 2020 20:07:32 -0500 Subject: [PATCH] Use %py3_dist macro for build requirements --- python-trustme.spec | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/python-trustme.spec b/python-trustme.spec index eef90d4..5abd74d 100644 --- a/python-trustme.spec +++ b/python-trustme.spec @@ -35,13 +35,9 @@ BuildArch: noarch %package -n python3-%{pkgname} Summary: %{summary} BuildRequires: python3-devel -BuildRequires: python3-setuptools +BuildRequires: %{py3_dist setuptools} %if %{with tests} -BuildRequires: python3-pytest -BuildRequires: python3-pyOpenSSL -BuildRequires: python3-service-identity -BuildRequires: python3-cryptography -BuildRequires: python3-idna +BuildRequires: %{py3_dist pytest pyopenssl service-identity cryptography idna} %endif %{?python_provide:%python_provide python3-%{pkgname}}