From 5b03c82eb2a1c53a1439e38ba70c58a0c7991ddf Mon Sep 17 00:00:00 2001 From: Cleber Rosa Date: Wed, 4 Apr 2018 08:33:26 -0400 Subject: [PATCH] SPEC: put all requirements in the versioned sub-packages As it has been done with python-avocado-common in 18d21873, the requirements should really be in the versioned sub-packages. Signed-off-by: Cleber Rosa --- python-avocado.spec | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/python-avocado.spec b/python-avocado.spec index 20986c9f..08d72582 100644 --- a/python-avocado.spec +++ b/python-avocado.spec @@ -35,7 +35,7 @@ Summary: Framework with tools and libraries for Automated Testing Name: python-%{srcname} Version: 60.0 -Release: 1%{?gitrel}%{?dist} +Release: 2%{?gitrel}%{?dist} License: GPLv2 Group: Development/Tools URL: http://avocado-framework.github.io/ @@ -106,6 +106,13 @@ BuildRequires: python3-yaml %endif %endif +%description +Avocado is a set of tools and libraries (what people call +these days a framework) to perform automated testing. + +%package -n python2-%{srcname} +Summary: %{summary} +Requires: %{name}-common == %{version} Requires: gdb Requires: gdb-gdbserver Requires: procps-ng @@ -121,14 +128,6 @@ Requires: python2-requests Requires: python2-setuptools Requires: python2-stevedore %endif - -%description -Avocado is a set of tools and libraries (what people call -these days a framework) to perform automated testing. - -%package -n python2-%{srcname} -Summary: %{summary} -Requires: %{name}-common == %{version} %{?python_provide:%python_provide python2-%{srcname}} %description -n python2-%{srcname} @@ -138,12 +137,16 @@ these days a framework) to perform automated testing. %if %{with_python3} %package -n python3-%{srcname} Summary: %{summary} +Requires: %{name}-common == %{version} +Requires: gdb +Requires: gdb-gdbserver +Requires: procps-ng +Requires: pyliblzma Requires: python3 Requires: python3-requests Requires: python3-setuptools Requires: python3-six Requires: python3-stevedore -Requires: %{name}-common == %{version} %description -n python3-%{srcname} Avocado is a set of tools and libraries (what people call @@ -749,6 +752,9 @@ Again Shell code (and possibly other similar shells). %{_libexecdir}/avocado* %changelog +* Wed Apr 4 2018 Cleber Rosa - 60.0-2 +- Moved all requirements to python2-avocado and python3-avocado + * Wed Mar 28 2018 Cleber Rosa - 60.0-1 - Moved "common" dep into python2-avocado and python3-avocado -- GitLab