Fix build error,add debug_package

https://gitee.com/src-openeuler/zram-generator/issues/IB4W2R?from=project-issue

Signed-off-by: 丁紫薇 <dingziwei@kylinos.cn>
This commit is contained in:
丁紫薇 2024-11-20 06:52:23 +00:00 committed by Gitee
parent c7b9097d04
commit 59ba0724a0
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,8 +1,9 @@
%define debug_package %{nil}
%global crate zram-generator
Name: rust-%{crate}
Version: 1.1.2
Release: 4
Release: 5
Summary: Systemd unit generator for zram swap devices
License: MIT
@ -87,6 +88,9 @@ rm -rf %{buildroot}%{cargo_registry}/%{crate}-%{version}
%{_prefix}/lib/systemd/zram-generator.conf
%changelog
* Thu Apr 18 2024 dingdingaaaaa <dingziwei@kylinos.cn> - 1.1.2-5
- Fix build erroradd debug_package
* Thu Mar 09 2023 wulei <wulei80@h-partners.com> - 1.1.2-4
- Fix builds with Rust 1.67