diff --git a/_service b/_service
index 8f1ed1e..6b42c7d 100644
--- a/_service
+++ b/_service
@@ -1,13 +1,3 @@
-
- git
- https://evilpiepirate.org/git/bcachefs-tools.git
- v1.4.1
- 1.4.1
-
-
- *.tar
- xz
-
-
+
diff --git a/bcachefs-tools-1.4.1.tar.xz b/bcachefs-tools-1.4.1.tar.xz
deleted file mode 100644
index c8ed76f..0000000
--- a/bcachefs-tools-1.4.1.tar.xz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:0313c50d461217fe22593839e576372b0ec25a567749751d82874938aee063f6
-size 749312
diff --git a/bcachefs-tools-vendored-1.4.1.tar.sign b/bcachefs-tools-vendored-1.4.1.tar.sign
new file mode 100644
index 0000000..868fe92
--- /dev/null
+++ b/bcachefs-tools-vendored-1.4.1.tar.sign
@@ -0,0 +1,16 @@
+-----BEGIN PGP SIGNATURE-----
+
+iQIzBAABCgAdFiEEKnAFLkS8Qha+jvQrE6szbY3KbnYFAmWlcbIACgkQE6szbY3K
+bnYAWw/+Mw+Qv6mOmAZvWVm/cTmcZ2UBMm/0GmIx2V1Pb98UsR++KlnDkU36zA9q
+QdsAy2JRt4U7OTS81h1mvmVby60tdKpUlMu6mqCSX+d7ZNEP/iMWecb7Ff/RztXS
+xQdYE7q6sNT/r6JqhzUJWlmANDFVRgD/zEZ7WGPxHATtrsy/9ytWD0P38xprw/wK
+bh5t+rgmapxVTpHpTu6Q8ImxVRzpWGYZLInHdXS5rOg8QrxSeBpcFvR3Vju3UDEw
++tjMj6xwCdje3PSlYU7XhWotMt4+oiNvkqgel+eQAKiXXG/tHkj3zu+Lqq+R6Cfw
+rcPlHopLoxyUkab2jR0nvjNg7QuLJCjaQZuWpCSyM/pFjMPVmRdNYSSxk97ROGDO
++VflA2ArW0qzyEC1jfS4YT2mebKUEntJaRvGVVac1s0CWlPYjQK9HX8TJDS7G+CY
+4emDXaJICTRxcMUzjsOQzWHMtmalzwXcAYTOlZPQFXzbXkdtqSsDxHjk2Z899qFR
+DD7KpOtnc8CaQ7iKzsMSVsgJ5y2iTV1w3TpaP/H8OXf4YUtF5fh4jQMN5228P0/C
+hFSqYHxvYTMuhz+rmsMsTu1wz3ITAHyvLhTOfQLs9i+9jwBEJsY+rmm2hc/Mzb9V
+lNsJZZtklhCS2jq+2tVvcE9fYcujzefPMrNroHlqKOXT6Exi5VM=
+=fx8S
+-----END PGP SIGNATURE-----
diff --git a/bcachefs-tools-vendored-1.4.1.tar.zst b/bcachefs-tools-vendored-1.4.1.tar.zst
new file mode 100644
index 0000000..5fdf037
--- /dev/null
+++ b/bcachefs-tools-vendored-1.4.1.tar.zst
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:43e8f06f26dc203f3cb7cc73828440dcd50e4a389d3a576203664a355915f7f1
+size 21607217
diff --git a/bcachefs-tools.changes b/bcachefs-tools.changes
index 4041163..86448c3 100644
--- a/bcachefs-tools.changes
+++ b/bcachefs-tools.changes
@@ -1,3 +1,10 @@
+-------------------------------------------------------------------
+Mon Jan 29 06:55:58 UTC 2024 - David Disseldorp
+
+- Build with rust functionality enabled [boo#1219158]
+ * Switch to upstream vendored source tarball
+ * Validate upstream source signature
+
-------------------------------------------------------------------
Sat Jan 27 09:49:49 UTC 2024 - Jan Engelhardt
diff --git a/bcachefs-tools.keyring b/bcachefs-tools.keyring
new file mode 100644
index 0000000..a2a6ad5
--- /dev/null
+++ b/bcachefs-tools.keyring
@@ -0,0 +1,99 @@
+-----BEGIN PGP PUBLIC KEY BLOCK-----
+
+mQINBGT9G+8BEADAwe+tPxGgq2tlJMSOzihaN69nEb+PQ3vwZYG+kBc0/MH5E0QC
+FWY6VE9En4FRV9kH/zb+Fy1yAyBkg5jEeMu9jGqGM52Og+zOg/Pto/buiDrSrpfX
+FrK6DBuoMa8oA28oo18qhAF7IU4qRFnTLLL1DO+z78xm9QgK8qEJLnn2KYbZsvYy
+71avuRtqiJxaQoaY1fvVUUqnORwk/0ob6he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HWOfoWqkV0GSgNwBLmw8yghnR1LUSkjtn04K05HazIQhoN2abHtQD+yxKEMH4MU7
+RqncRzFhaM+H1gVCpyTUtr41M9zksT8SsygM9wnV8F+5I7qeinxDhgYgnNnW489v
+v/qt/cydQKKEihhZjFO1MqH6CSJ5189fluUnfJkA6RNU8TJ5y0UizjH6VTdMrgs9
+Xwt7hZ8Oah7Txyn4fRkUHWfSBFtGmBXPgIaGOofEMqSDyQPDi6UaZyTJO2YYIw9k
+bkvubifQx6KKbgjOw4l5iybr7udSy7fy1Bg7k3d8/6XHtFpF6MtR0gxl1JG9sJnr
+eJ4qLCihT2bZiFMS1L0o2Xb4fvrvTVxYin7lb/908YPf/A6dzGPbJs1n1d22bsuE
+Z0sIiLkFlSncds8kmlb+zbsYv1TIGDJ6pEZ6HydbNK1gsr3WLmEjA3dL5LB0i35+
+WkTbFnRrYBB4ZVlsmUWhoOSUSa/Ua69yfSREO6WvHvrYgWpPNQ8SdD9tD4QMAu4m
+nVRlTJohLopgGWQmwFzAMzgFVoJiu7MyCY9nXCJf31MRSQ2gxSAqf4+Q6YL3ckbh
+O15cDOJNTGiEsF40ii8eijfO2tFG49DZ00j2
+=9ATa
+-----END PGP PUBLIC KEY BLOCK-----
diff --git a/bcachefs-tools.spec b/bcachefs-tools.spec
index 68bb8d8..9b6c648 100644
--- a/bcachefs-tools.spec
+++ b/bcachefs-tools.spec
@@ -23,10 +23,14 @@ Summary: Configuration utilities for bcachefs
License: GPL-2.0-or-later
Group: System/Filesystems
URL: https://bcachefs.org/
-Source: %name-%version.tar.xz
+Source0: https://evilpiepirate.org/%name/%name-vendored-%version.tar.zst
+Source1: https://evilpiepirate.org/%name/%name-vendored-%version.tar.sign
+Source2: %{name}.keyring
+BuildRequires: cargo
+BuildRequires: clang-devel
BuildRequires: libaio-devel >= 0.3.111
BuildRequires: pkg-config
-BuildRequires: xz
+BuildRequires: zstd
BuildRequires: pkgconfig(blkid)
BuildRequires: pkgconfig(libkeyutils)
BuildRequires: pkgconfig(liblz4)
@@ -59,10 +63,10 @@ This package contains utilities for creating and mounting bcachefs.
%build
%make_build PREFIX="%_prefix" ROOT_SBINDIR="%_sbindir" \
- EXTRA_CFLAGS="%optflags" NO_RUST=1
+ EXTRA_CFLAGS="%optflags"
%install
-%make_install PREFIX="%_prefix" ROOT_SBINDIR="%_sbindir" NO_RUST=1
+%make_install PREFIX="%_prefix" ROOT_SBINDIR="%_sbindir"
# this ain't no debian
rm -Rf "%buildroot/etc/initramfs-tools" "%buildroot/%_datadir/initramfs-tools"