Eliminate build dependency on make.
Additional minor SPEC cleanup. Signed-off-by: Merlin Mathesius <mmathesi@redhat.com>
This commit is contained in:
parent
eef3dc2740
commit
f846228dfa
1 changed files with 5 additions and 4 deletions
|
|
@ -51,7 +51,6 @@ Source0: https://github.com/avocado-framework/avocado/archive/%{gitref}/%{gittar
|
|||
BuildArch: noarch
|
||||
|
||||
BuildRequires: kmod
|
||||
BuildRequires: make
|
||||
BuildRequires: procps-ng
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-docutils
|
||||
|
|
@ -121,7 +120,7 @@ popd
|
|||
pushd optional_plugins/glib
|
||||
%py3_build
|
||||
popd
|
||||
%make_build man
|
||||
rst2man man/avocado.rst man/avocado.1
|
||||
|
||||
%install
|
||||
%py3_install
|
||||
|
|
@ -213,7 +212,8 @@ find %{buildroot}%{_docdir}/avocado -type f -name '*.py' -exec chmod -c -x {} ';
|
|||
# AVOCADO_CHECK_LEVEL: package build environments have the least
|
||||
# amount of resources we have observed so far. Let's avoid tests that
|
||||
# require too much resources or are time sensitive
|
||||
PATH=%{buildroot}%{_bindir}:%{buildroot}%{_libexecdir}/avocado:$PATH PYTHONPATH=%{buildroot}%{python3_sitelib}:. \
|
||||
PATH=%{buildroot}%{_bindir}:%{buildroot}%{_libexecdir}/avocado:$PATH \
|
||||
PYTHONPATH=%{buildroot}%{python3_sitelib}:. \
|
||||
LANG=en_US.UTF-8 \
|
||||
AVOCADO_CHECK_LEVEL=0 \
|
||||
%{python3} selftests/run
|
||||
|
|
@ -470,7 +470,8 @@ Again Shell code (and possibly other similar shells).
|
|||
|
||||
%changelog
|
||||
* Thu Mar 18 2021 Merlin Mathesius <mmathesi@redhat.com> - 82.0-2
|
||||
- Fix up BuildRequires: add 'make', drop obsolete packages
|
||||
- Drop obsolete packages from BuildRequires
|
||||
- Generate man page directly using 'rst2man' rather than requiring 'make'
|
||||
- Adjust PATH to make sure self-tests find internal modules
|
||||
- Spec file cleanup following package review.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue