Accepting request 851173 from home:bnavigator:branches:Java:packages

Okay, this is embarrassing. The shim was a copy and paste error, it should have been python3_sitelib instead of sitearch.

You really must not enforce python3_sitelib in %files itself so that multiple python3 flavors will work.

OBS-URL: https://build.opensuse.org/request/show/851173
OBS-URL: https://build.opensuse.org/package/show/Java:packages/javapackages-tools?expand=0&rev=83
This commit is contained in:
2020-11-28 09:34:34 +00:00
committed by Git OBS Bridge
parent 7f63ccfa46
commit 47f24ffdbe

View File

@@ -71,7 +71,7 @@ BuildArch: noarch
%define python_subpackage_only 1
%python_subpackages
%else
%define python_sitearch %python3_sitearch
%define python_sitelib %python3_sitelib
%define python_files() -n python3-%{**}
%endif
%else
@@ -252,7 +252,7 @@ popd
%files %{python_files javapackages}
%license LICENSE
%{python3_sitelib}/javapackages*
%{python_sitelib}/javapackages*
%endif
%changelog