adding python3dist()

epel8
Dan Radez 6 years ago
parent 0d50cbb78d
commit 28874d9f7a

@ -24,22 +24,21 @@ version or author name.
%package -n python3-%{pkg_name} %package -n python3-%{pkg_name}
Summary: %{summary} Summary: %{summary}
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-devel BuildRequires: python3dist(setuptools)
BuildRequires: python3-setuptools
BuildRequires: python3-setuptools_scm >= 1.15.0 BuildRequires: python3-setuptools_scm >= 1.15.0
BuildRequires: python3-six >= 1.4 BuildRequires: python3dist(six) >= 1.4
%{?python_provide:%python_provide python3-%{pkg_name}} %{?python_provide:%python_provide python3-%{pkg_name}}
%description -n python3-%{pkg_name} %description -n python3-%{pkg_name}
%{description} %{description}
Requires: python3-rst-linker Requires: python3dist(rst-linker)
Requires: python3-six >= 1.4 Requires: python3dist(six) >= 1.4
Requires: python3-setuptools Requires: python3dist(setuptools)
%if %{with docs} %if %{with docs}
BuildRequires: python3-sphinx BuildRequires: python3dist(sphinx)
BuildRequires: python3-rst-linker BuildRequires: python3dist(rst-linker)
%package -n python-%{pkg_name}-doc %package -n python-%{pkg_name}-doc
Summary: jaraco.packaging documentation Summary: jaraco.packaging documentation

Loading…
Cancel
Save