From ea56d3c127eb7239c2d4f7804d85c1a256ad3c1e Mon Sep 17 00:00:00 2001 From: wiiznokes <78230769+wiiznokes@users.noreply.github.com> Date: Aug 29 2024 13:13:27 +0000 Subject: fix: fix compilation due to zip 2 executable bit --- diff --git a/scripts/srpm.sh b/scripts/srpm.sh index 483fa46..e061429 100755 --- a/scripts/srpm.sh +++ b/scripts/srpm.sh @@ -47,6 +47,10 @@ if [ "$VENDOR" -eq 1 ]; then echo "VENDOR=1" # Vendor dependencies and zip vendor cargo vendor >../vendor-config-$SHORTCOMMIT.toml + + # XXX: remove me once https://github.com/zip-rs/zip2/pull/238 is merged, and zip is updated in cosmic-{files, xdg-portal, edit}. + # current version containing the bug: 2.2.0 + chmod -x ./vendor/zip/src/spec.rs || true tar -pczf ../vendor-$SHORTCOMMIT.tar.gz vendor fi