diff --git a/python2-docs.spec b/python2-docs.spec index 01b9001..90c293d 100644 --- a/python2-docs.spec +++ b/python2-docs.spec @@ -21,6 +21,7 @@ Patch20: python-2.7-texinfobuilder.patch BuildArch: noarch +BuildRequires: python-rpm-macros BuildRequires: python3 BuildRequires: python3-docutils BuildRequires: python3-pygments @@ -29,7 +30,7 @@ BuildRequires: linkchecker Recommends: python2 = %{version} -Provides: python-docs = %{version}-%{release} +%{?python_provide:%python_provide %{name}} %description The python2-docs package contains documentation on the Python 2 @@ -42,7 +43,7 @@ for the Python 2 language. Summary: Documentation for the Python 2 programming language as info pages BuildRequires: texinfo -Provides: python-docs-info = %{version}-%{release} +%{?python_provide:%python_provide %{name}-info} %description info The python2-docs-info package contains documentation on the Python 2