From 59dbd503acd2da563826d903dd9f042be71a302f Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Fri, 29 Dec 2023 11:49:56 -0500 Subject: [PATCH] Write BuildRequires using project canonical names --- python-wrapt.spec | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/python-wrapt.spec b/python-wrapt.spec index 2126fa0..0ee7698 100644 --- a/python-wrapt.spec +++ b/python-wrapt.spec @@ -12,7 +12,7 @@ Source0: https://github.com/GrahamDumpleton/wrapt/archive/%{version}.tar. BuildRequires: gcc BuildRequires: python3-devel -BuildRequires: python3-setuptools +BuildRequires: %{py3_dist setuptools} %global _description %{expand: The aim of the wrapt module is to provide a transparent object proxy for @@ -30,8 +30,9 @@ Summary: %{summary} %package doc Summary: Documentation for the wrapt module -BuildRequires: python3-sphinx -BuildRequires: python3-sphinx_rtd_theme +# docs/requirements.txt +BuildRequires: %{py3_dist sphinx} +BuildRequires: %{py3_dist sphinx_rtd_theme} %description doc %{summary}.