From 463c8f727400b8a6085e8de97bbb58f0acbd4cf9 Mon Sep 17 00:00:00 2001 From: Packit Bot Date: May 04 2021 22:57:02 +0000 Subject: Apply patch 0001-make-install-unpacked-flattens-the-python-hierarchy-.patch patch_name: 0001-make-install-unpacked-flattens-the-python-hierarchy-.patch present_in_specfile: true --- diff --git a/Makefile b/Makefile index 18eaff6..da085f3 100644 --- a/Makefile +++ b/Makefile @@ -98,10 +98,8 @@ all: oxt install-unpacked: extension-files install -m 755 -d "$(DESTDIR)" "$(DESTDIR)/META-INF" - install -m 644 build/oxt/META-INF/manifest.xml "$(DESTDIR)/META-INF" - install -m 644 build/oxt/description.xml \ - $(patsubst %,build/oxt/%,$(STANDALONE_EXTENSION_FILES)) \ - $(patsubst %,build/oxt/%,$(COPY_TEMPLATES)) $(DESTDIR) + install -m 755 -d "$(DESTDIR)" "$(DESTDIR)/pythonpath" + cd oxt && find . -type f -exec install -D {} $(DESTDIR)/{} \; # Sed scripts for modifying templates DESCRIPTION_SEDSCRIPT:=s/VOIKKO_VERSION/$(VOIKKO_VERSION)/g