This commit is contained in:
parent
4f7b085aee
commit
2dce35b00f
2
_service
2
_service
@ -3,7 +3,7 @@
|
|||||||
<service name="cargo_vendor" mode="disabled">
|
<service name="cargo_vendor" mode="disabled">
|
||||||
<param name="srctar">xplr-0.21.2.tar.gz</param>
|
<param name="srctar">xplr-0.21.2.tar.gz</param>
|
||||||
<param name="compression">zst</param>
|
<param name="compression">zst</param>
|
||||||
<param name="update">true</param>
|
<param name="update">false</param>
|
||||||
</service>
|
</service>
|
||||||
<service name="cargo_audit" mode="disabled">
|
<service name="cargo_audit" mode="disabled">
|
||||||
<param name="srcdir">xplr-0.21.2</param>
|
<param name="srcdir">xplr-0.21.2</param>
|
||||||
|
@ -47,10 +47,10 @@ cp %{SOURCE2} .cargo/config
|
|||||||
sed -i 's/-- version = "0.0.0"/version = "%{version}"/' src/init.lua
|
sed -i 's/-- version = "0.0.0"/version = "%{version}"/' src/init.lua
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{cargo_build}
|
%{cargo_build} --locked
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%{cargo_install}
|
%{cargo_install} --locked
|
||||||
|
|
||||||
install -Dm644 -T \
|
install -Dm644 -T \
|
||||||
%{_builddir}/%{name}-%{version}/assets/desktop/%{name}.desktop \
|
%{_builddir}/%{name}-%{version}/assets/desktop/%{name}.desktop \
|
||||||
|
Loading…
Reference in New Issue
Block a user