提交 af4b389c 编写于 作者: C Cleber Rosa

SPEC: add python_provide macro also on the Python 3 package

So that, if the system version on a given distro is Python 3, the
python3-avocado package will automatically "Provide:" python-avocado.

Reference: https://fedoraproject.org/wiki/Packaging:Python#The_.25python_provide_macroSigned-off-by: NCleber Rosa <crosa@redhat.com>
上级 5b03c82e
......@@ -147,6 +147,7 @@ Requires: python3-requests
Requires: python3-setuptools
Requires: python3-six
Requires: python3-stevedore
%{?python_provide:%python_provide python3-%{srcname}}
%description -n python3-%{srcname}
Avocado is a set of tools and libraries (what people call
......@@ -754,6 +755,7 @@ Again Shell code (and possibly other similar shells).
%changelog
* Wed Apr 4 2018 Cleber Rosa <cleber@redhat.com> - 60.0-2
- Moved all requirements to python2-avocado and python3-avocado
- Added python_provides macro on Python 3 package
* Wed Mar 28 2018 Cleber Rosa <cleber@redhat.com> - 60.0-1
- Moved "common" dep into python2-avocado and python3-avocado
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册