From cefa1dcb2eac0319fb6b536958dd865d06f1ec16 Mon Sep 17 00:00:00 2001 From: duyiwei Date: Fri, 26 May 2023 10:12:47 +0800 Subject: [PATCH] Fix build error with Rust 1.67 --- rust-zram-generator.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rust-zram-generator.spec b/rust-zram-generator.spec index 96e5844..87faa34 100644 --- a/rust-zram-generator.spec +++ b/rust-zram-generator.spec @@ -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 - 1.1.2-4 +- Fix build error with Rust 1.67 + * Fri Dec 09 2022 dingdingaaaaa - 1.1.2-3 - Enable debuginfo for fix strip -- Gitee