[neon/extras/calligra/Neon/release] /: exclude files from parts including the fileshareset binary which has weird permissions

Jonathan Riddell null at kde.org
Thu Jun 3 15:29:06 BST 2021


Git commit 8ff46ee27cf9e00158f62d61fb5a2fe5b65a6c4b by Jonathan Riddell.
Committed on 03/06/2021 at 14:29.
Pushed by jriddell into branch 'Neon/release'.

exclude files from parts including the fileshareset binary which has weird permissions

M  +27   -0    snapcraft.yaml

https://invent.kde.org/neon/extras/calligra/commit/8ff46ee27cf9e00158f62d61fb5a2fe5b65a6c4b

diff --git a/snapcraft.yaml b/snapcraft.yaml
index 67e2500..02fde4e 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -189,6 +189,20 @@ parts:
     - "-DBUILD_TESTING=OFF"
     - "-DKDE_SKIP_TEST_SETTINGS=ON"
     - "-DCMAKE_FIND_ROOT_PATH=/usr\\;/root/stage\\;/snap/kde-frameworks-5-qt-5-15-core20-sdk/current"
+    filesets:
+        exclusion:
+        - "-usr/lib/*/cmake/*"
+        - "-usr/include/*"
+        - "-usr/share/ECM/*"
+        - "-usr/share/doc/*"
+        - "-usr/share/man/*"
+        - "-usr/share/icons/breeze-dark*"
+        - "-usr/bin/X11"
+        - "-usr/lib/gcc/x86_64-linux-gnu/6.0.0"
+        - "-usr/lib/aspell/*"
+    prime:
+    - "$exclusion"
+    - "-usr/lib/*/libexec/kf5/fileshareset"
   kross:
     plugin: cmake
     source: https://download.kde.org/stable/frameworks/5.79/portingAids/kross-5.79.0.tar.xz
@@ -200,3 +214,16 @@ parts:
     - "-DBUILD_TESTING=OFF"
     - "-DKDE_SKIP_TEST_SETTINGS=ON"
     - "-DCMAKE_FIND_ROOT_PATH=/usr\\;/root/stage\\;/snap/kde-frameworks-5-qt-5-15-core20-sdk/current"
+    filesets:
+        exclusion:
+        - "-usr/lib/*/cmake/*"
+        - "-usr/include/*"
+        - "-usr/share/ECM/*"
+        - "-usr/share/doc/*"
+        - "-usr/share/man/*"
+        - "-usr/share/icons/breeze-dark*"
+        - "-usr/bin/X11"
+        - "-usr/lib/gcc/x86_64-linux-gnu/6.0.0"
+        - "-usr/lib/aspell/*"
+    prime:
+    - "$exclusion"


More information about the Neon-commits mailing list