From 47f24ffdbef2a36d88d0ae6fb9d0da6b830dbbfa70d6a63f89edd0f479ce7794 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Sat, 28 Nov 2020 09:34:34 +0000 Subject: [PATCH] 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 --- javapackages-tools.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/javapackages-tools.spec b/javapackages-tools.spec index ae55a45..819c6f3 100644 --- a/javapackages-tools.spec +++ b/javapackages-tools.spec @@ -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