diff --git a/_service b/_service
index c6e1068..e39043b 100644
--- a/_service
+++ b/_service
@@ -12,10 +12,4 @@
*.tar
xz
-
-
- https
- raw.githubusercontent.com
- /mikix/deb2snap/master/src/preload.c
-
diff --git a/appimaged.spec b/appimaged.spec
index 1e1b0e4..ccb8f4d 100644
--- a/appimaged.spec
+++ b/appimaged.spec
@@ -31,7 +31,6 @@ BuildRequires: fuse-devel
BuildRequires: xz-devel
BuildRequires: libarchive-devel
BuildRequires: openssl-devel
-BuildRequires: squashfs
BuildRequires: libtool
BuildRequires: autoconf
BuildRequires: automake
@@ -53,6 +52,7 @@ sed -i -e s,^version=.*,version=%version, build.sh
%build
export PATH=$PWD/bin:$PATH
+# Upstream squashfuse is not providing a lib, so it gets patched to produce one here
cd squashfuse
patch -p1 < ../squashfuse.patch
export ACLOCAL_FLAGS="-I /usr/share/aclocal"
@@ -78,7 +78,7 @@ $CC -std=gnu99 -o appimaged -I./squashfuse/ ./getsection.c ./notify.c ./elf.c ./
$(pkg-config --cflags --libs cairo) \
-ldl -lpthread -lz -llzma
-# basic tool for validation
+# basic tool for validation of downloaded appimage files
$CC -o appimage.validate ./getsection.c ./validate.c -Wl,-Bdynamic -lssl -lcrypto \
-Wl,--as-needed $(pkg-config --cflags --libs glib-2.0) -lz -ldl