Fix build error with Rust 1.67
This commit is contained in:
parent
b792a0b09c
commit
cefa1dcb2e
@ -2,7 +2,7 @@
|
||||
|
||||
Name: rust-%{crate}
|
||||
Version: 1.1.2
|
||||
Release: 3
|
||||
Release: 4
|
||||
Summary: Systemd unit generator for zram swap devices
|
||||
|
||||
License: MIT
|
||||
@ -42,6 +42,7 @@ BuildArch: noarch
|
||||
cp -a %{S:1} .
|
||||
tar zxvf %{SOURCE2}
|
||||
%cargo_prep
|
||||
find %{_builddir} -type f -name 'Cargo.toml.orig' -exec rm -rf '{}' ';'
|
||||
|
||||
mkdir -p .cargo
|
||||
cat >.cargo/config << EOF
|
||||
@ -86,6 +87,9 @@ rm -rf %{buildroot}%{cargo_registry}/%{crate}-%{version}
|
||||
%{_prefix}/lib/systemd/zram-generator.conf
|
||||
|
||||
%changelog
|
||||
* Fri May 26 2023 duyiwei <duyiwei@kylinos.cn> - 1.1.2-4
|
||||
- Fix build error with Rust 1.67
|
||||
|
||||
* Fri Dec 09 2022 dingdingaaaaa <dingziwei@kylinos.cn> - 1.1.2-3
|
||||
- Enable debuginfo for fix strip
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user