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}.