Skip to contentSkip to conversation

python3-pako: remove duplicate LICENSE

PATCH New Tim Orling 1 participant 1 message Feb 26, 2022

lore
Share & tools
lore

Tim Orling

author
#0 lore raw

PATCH 1/1 python3-pako: remove duplicate LICENSE

The LICENSE is already included in the wheel and therefore packaged like any other wheel. Remove the duplicate LICENSE erroneously installed in /usr/pako/LICENSE.

---
 meta-python/recipes-devtools/python/python3-pako_0.3.1.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-pako_0.3.1.bb +2 -1
index 65af4121f9..34cd096c9d 100644
@@ -8,5 +8,6 @@ SRC_URI[sha256sum] = "c033a073bb818ca336ae1fccba2655bd60dfe77744f85d4517abd3160d
 inherit pypi setuptools3
 
 do_install:append() {
-    rm -rf ${D}/usr/share
+  rm -rf ${D}${prefix}/pako/LICENSE
+  rm -rf ${D}${prefix}/pako
 }
Signature · 1 line
2.30.2