From 7d36a022b83116c6d8071fee887fb6a512415ba92bbee4c127b0c3e2090e0a6c Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 29 Oct 2024 17:11:01 +0000 Subject: [PATCH] Add _multibuild file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argcomplete?expand=0&rev=84 --- python-argcomplete.changes | 1 + python-argcomplete.spec | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/python-argcomplete.changes b/python-argcomplete.changes index 06f0644..4b902a2 100644 --- a/python-argcomplete.changes +++ b/python-argcomplete.changes @@ -7,6 +7,7 @@ Tue Oct 29 17:07:05 UTC 2024 - Matej Cepl - Test infrastructure improvements - Remove upstreamed patches: - argparse-3_12_7.patch +- Add _multibuild (to make testing against fully installed package) ------------------------------------------------------------------- Sun Oct 6 21:27:22 UTC 2024 - Matej Cepl diff --git a/python-argcomplete.spec b/python-argcomplete.spec index 9af4b0a..49153e5 100644 --- a/python-argcomplete.spec +++ b/python-argcomplete.spec @@ -93,7 +93,7 @@ export TERM=xterm-mono # https://github.com/kislyuk/argcomplete/issues/299 sed -i -e "1s|#!.*python.*|#!%{__$python}|" test/prog test/*.py sed -i -e "s|python3 |$python |g" test/test.py - PYTHONPATH=%{buildroot}%{$python_sitelib} $python ./test/test.py -v + $python ./test/test.py -v } %endif