diff --git a/python-avocado.spec b/python-avocado.spec index cf5cd93db1ed9d5e7f42d6272a998644459cb838..69ce4b218655abad06e291da67c7adc4eb1df3d6 100644 --- a/python-avocado.spec +++ b/python-avocado.spec @@ -32,6 +32,11 @@ %global with_python3 1 %endif +# The Python dependencies are already tracked by the python2 +# or python3 "Requires". This filters out the python binaries +# from the RPM automatic requires/provides scanner. +%global __requires_exclude ^/usr/bin/python[23]$ + Summary: Framework with tools and libraries for Automated Testing Name: python-%{srcname} Version: 60.0 @@ -756,6 +761,7 @@ Again Shell code (and possibly other similar shells). * Wed Apr 4 2018 Cleber Rosa - 60.0-2 - Moved all requirements to python2-avocado and python3-avocado - Added python_provides macro on Python 3 package +- Filter out python binaries from requirements * Wed Mar 28 2018 Cleber Rosa - 60.0-1 - Moved "common" dep into python2-avocado and python3-avocado