diff --git a/_service b/_service
new file mode 100644
index 0000000..7c50a4e
--- /dev/null
+++ b/_service
@@ -0,0 +1,26 @@
+
+
+
+ supergfxctl
+ https://gitlab.com/asus-linux/supergfxctl.git
+ git
+ git-master
+ @PARENT_TAG@
+ 5.1.2
+ v(.*)
+
+
+
+
+
+
+ gz
+ *.tar
+
+
+ supergfxctl
+
+
+
+
+
diff --git a/cargo_config b/cargo_config
deleted file mode 100644
index 97852b5..0000000
--- a/cargo_config
+++ /dev/null
@@ -1,5 +0,0 @@
-[source.crates-io]
-replace-with = "vendored-sources"
-
-[source.vendored-sources]
-directory = "vendor"
diff --git a/supergfxctl-5.1.2.obscpio b/supergfxctl-5.1.2.obscpio
new file mode 100644
index 0000000..5755575
--- /dev/null
+++ b/supergfxctl-5.1.2.obscpio
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:11cf0d745c1353a65a4fa41edfefcc9fc627950caf64a818e23476faf322569f
+size 213003
diff --git a/supergfxctl-5.1.2.tar.gz b/supergfxctl-5.1.2.tar.gz
deleted file mode 100644
index bfffc9e..0000000
--- a/supergfxctl-5.1.2.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:42671feacf8924c1a6b7ac14b1af099765240dd272b861aa39ea03c5a4f583ec
-size 49076
diff --git a/supergfxctl.changes b/supergfxctl.changes
index bfd7c63..0f242bb 100644
--- a/supergfxctl.changes
+++ b/supergfxctl.changes
@@ -1,10 +1,15 @@
+-------------------------------------------------------------------
+Thu Dec 28 16:37:31 UTC 2023 - RN
+
+- Switched to _service usage, because cargo_config is part of the vendor.tar now
+
-------------------------------------------------------------------
Wed Dec 27 22:56:20 UTC 2023 - Jan Engelhardt
- Avoid bashisms in build recipe
-------------------------------------------------------------------
-Tue Nov 14 05:46:34 UTC 2023 - rn
+Tue Nov 14 05:46:34 UTC 2023 - RN
- Update to version 5.1.2:
* Bump deps
diff --git a/supergfxctl.obsinfo b/supergfxctl.obsinfo
new file mode 100644
index 0000000..76e400c
--- /dev/null
+++ b/supergfxctl.obsinfo
@@ -0,0 +1,4 @@
+name: supergfxctl
+version: 5.1.2
+mtime: 1694041803
+commit: af23df7596712bb9433a3be917febadeb3f1f419
diff --git a/supergfxctl.spec b/supergfxctl.spec
index bfd451f..99d66a3 100644
--- a/supergfxctl.spec
+++ b/supergfxctl.spec
@@ -7,16 +7,10 @@ Summary: Super graphics mode controller
License: MPL-2.0
URL: https://gitlab.com/asus-linux/supergfxctl
Source0: %{name}-%{version}.tar.gz
-Source1: vendor-%{version}.tar.xz
-Source2: cargo_config
+Source1: vendor.tar.zst
-BuildRequires: cargo
BuildRequires: cargo-packaging
-BuildRequires: clang-devel
BuildRequires: pkgconfig
-BuildRequires: rust
-BuildRequires: rust-std-static
-BuildRequires: systemd-rpm-macros
BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(libudev)
BuildRequires: pkgconfig(systemd)
@@ -33,8 +27,6 @@ supergfxctl is a super graphics mode controller for laptops with hybrid nvidia.
%prep
%autosetup -a1
-mkdir .cargo
-cp %{SOURCE2} .cargo/config
%build
%cargo_build
diff --git a/vendor-5.1.2.tar.xz b/vendor-5.1.2.tar.xz
deleted file mode 100644
index deb576f..0000000
--- a/vendor-5.1.2.tar.xz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:260cae0a62ca840834f8845a0ed81925c68925b87f1b8b54d2260c218bb27f68
-size 14793916
diff --git a/vendor.tar.zst b/vendor.tar.zst
new file mode 100644
index 0000000..2c4f524
--- /dev/null
+++ b/vendor.tar.zst
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:787647afdbf7a330e21c4a79ae1fd8c68394b6b25cb1d34f339c4be8ac1506b2
+size 18844053