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:
@@ -71,7 +71,7 @@ BuildArch: noarch
|
|||||||
%define python_subpackage_only 1
|
%define python_subpackage_only 1
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
%else
|
%else
|
||||||
%define python_sitearch %python3_sitearch
|
%define python_sitelib %python3_sitelib
|
||||||
%define python_files() -n python3-%{**}
|
%define python_files() -n python3-%{**}
|
||||||
%endif
|
%endif
|
||||||
%else
|
%else
|
||||||
@@ -252,7 +252,7 @@ popd
|
|||||||
|
|
||||||
%files %{python_files javapackages}
|
%files %{python_files javapackages}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python3_sitelib}/javapackages*
|
%{python_sitelib}/javapackages*
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user