From 144400fc2b6496d8dc703419f6196bd0df38953d Mon Sep 17 00:00:00 2001 From: Merlin Mathesius Date: Fri, 19 Feb 2021 09:45:25 -0600 Subject: [PATCH] Fix up BuildRequires: add 'make', drop obsolete packages Adjust PATH to make sure self-tests find internal modules Signed-off-by: Merlin Mathesius --- python-avocado.spec | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/python-avocado.spec b/python-avocado.spec index d8ed3a8..ec2d07d 100644 --- a/python-avocado.spec +++ b/python-avocado.spec @@ -38,7 +38,7 @@ Name: python-%{pkgname} Version: 82.0 -Release: 1%{?gitrel}%{?dist} +Release: 2%{?gitrel}%{?dist} Summary: Framework with tools and libraries for Automated Testing Group: Development/Tools # Found licenses: @@ -51,16 +51,14 @@ Source0: https://github.com/avocado-framework/%{srcname}/archive/%{gitref}.tar.g BuildArch: noarch BuildRequires: kmod +BuildRequires: make BuildRequires: procps-ng BuildRequires: python3-devel BuildRequires: python3-docutils BuildRequires: python3-jinja2 BuildRequires: python3-lxml -BuildRequires: python3-mock BuildRequires: python3-psutil BuildRequires: python3-setuptools -BuildRequires: python3-six -BuildRequires: python3-sphinx %if 0%{?fedora} BuildRequires: python3-pycdlib %endif @@ -244,7 +242,7 @@ find %{buildroot}%{_docdir}/avocado -type f -name '*.py' -exec %{__chmod} -c -x # amount of resources we have observed so far. Let's avoid tests that # require too much resources or are time sensitive USER_BASE=`%{__python3} -m site --user-base` - PATH=$USER_BASE/bin:$PATH LANG=en_US.UTF-8 AVOCADO_CHECK_LEVEL=0 %{__python3} selftests/run + PATH=$USER_BASE/bin:$HOME/bin:$PATH LANG=en_US.UTF-8 AVOCADO_CHECK_LEVEL=0 %{__python3} selftests/run %endif @@ -500,6 +498,10 @@ Again Shell code (and possibly other similar shells). %changelog +* Thu Feb 19 2021 Merlin Mathesius - 82.0-2 +- Fix up BuildRequires: add 'make', drop obsolete packages +- Adjust PATH to make sure self-tests find internal modules + * Mon Sep 14 2020 Cleber Rosa - 82.0-1 - Sync with upstream release 82.0. - Removed python libvirt depedency as the vm runner has been removed