From a9cb06a31514ff3aafdb399d3ef0bf264de1c61812527a43948127b7e81e9e47 Mon Sep 17 00:00:00 2001 From: Soc Virnyl Estela Date: Fri, 2 Jun 2023 09:21:41 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/utilities/xplr?expand=0&rev=26 --- xplr.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/xplr.spec b/xplr.spec index 095fa91..adb22f7 100644 --- a/xplr.spec +++ b/xplr.spec @@ -47,10 +47,12 @@ cp %{SOURCE2} .cargo/config sed -i 's/-- version = "0.0.0"/version = "%{version}"/' src/init.lua %build -%{cargo_build} +# Temporary fix for now +cargo build --release --frozen --all-features %install -%{cargo_install} +install -Dm0755 -T %{_builddir}/%{name}-%{version}/target/release/%{name} \ + %{buildroot}%{_bindir}/%{name} install -Dm644 -T \ %{_builddir}/%{name}-%{version}/assets/desktop/%{name}.desktop \