Skip to contentSkip to conversation

python3-blivet: fix up base_libdir and update licence

PATCH Superseded [email protected] 1 participant 1 message Mar 4, 2022

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-blivet: fix up base_libdir and update licence

From: Kai Kang <[email protected]>

It fails to run do_install when multilib enabled that systemd service files are installed in ${nonarch_base_libdir}.

And update LICENSE variable to use SPDX license identifiers as well.

---
 .../recipes-extended/python-blivet/python3-blivet_3.4.3.bb    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-python/recipes-extended/python-blivet/python3-blivet_3.4.3.bb +2 -2
index 85575df7b..1d2add87a 100644
@@ -1,6 +1,6 @@
 DESCRIPTION = "A python module for system storage configuration"
 HOMEPAGE = "http://fedoraproject.org/wiki/blivet"
-LICENSE = "LGPLv2+"
+LICENSE = "LGPL-2.0-or-later"
 SECTION = "devel/python"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
@@ -26,7 +26,7 @@ REQUIRED_DISTRO_FEATURES = "systemd"
 do_install:append() {
     mv ${D}${PYTHON_SITEPACKAGES_DIR}${exec_prefix}/* ${D}${exec_prefix}
     mv ${D}${PYTHON_SITEPACKAGES_DIR}${sysconfdir} ${D}
-    mv ${D}${PYTHON_SITEPACKAGES_DIR}${base_libdir} ${D}
+    mv ${D}${PYTHON_SITEPACKAGES_DIR}${nonarch_base_libdir} ${D}
 }
 
 RDEPENDS:${PN} += "python3-pykickstart python3-pyudev \
Signature · 1 line
2.17.1