From 63bf9b519975c344074e3b65b20ca7ad25a92a49 Mon Sep 17 00:00:00 2001 From: Dan Radez Date: Apr 05 2019 15:23:34 +0000 Subject: updating to python3dist() --- diff --git a/python-rst-linker.spec b/python-rst-linker.spec index 06d09d4..1109167 100644 --- a/python-rst-linker.spec +++ b/python-rst-linker.spec @@ -25,13 +25,13 @@ link_files configuration section... %package -n python3-%{pkg_name} Summary: %{summary} -Requires: python3-six -Requires: python3-dateutil +Requires: python3dist(six) +Requires: python3dist(dateutil) BuildRequires: python3-devel -BuildRequires: python3-pathspec +BuildRequires: python3dist(pathspec) BuildRequires: python3-setuptools_scm >= 1.15.0 -BuildRequires: python3-setuptools +BuildRequires: python3dist(setuptools) %{?python_provide:%python_provide python3-%{pkg_name}} %description -n python3-%{pkg_name} @@ -40,8 +40,8 @@ BuildRequires: python3-setuptools %if %{with docs} %package -n python-%{pkg_name}-doc Summary: rst.linker documentation -BuildRequires: python3-sphinx -BuildRequires: python3-jaraco-packaging +BuildRequires: python3dist(sphinx) +BuildRequires: python3dist(jaraco-packaging) %description -n python-%{pkg_name}-doc Documentation for rst.linker