This commit is contained in:
parent
4f681f3a00
commit
a9cb06a315
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user