!4 【22.09】remove useless subpackage zram-generator-devel

From: @duyiwei7w 
Reviewed-by: @fu-shanqing 
Signed-off-by: @fu-shanqing
This commit is contained in:
openeuler-ci-bot 2022-09-08 08:14:50 +00:00 committed by Gitee
commit 4df1478f7e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -3,7 +3,7 @@
Name: rust-%{crate}
Version: 1.1.2
Release: 1
Release: 2
Summary: Systemd unit generator for zram swap devices
License: MIT
@ -38,13 +38,6 @@ BuildArch: noarch
%description -n %{crate}-defaults
%{summary}.
%package devel
Summary: %{summary}
%description devel %{_description}
This package contains library source intended for building other packages
which use "%{crate}" crate.
%prep
%autosetup -n %{crate}-%{version} -p1
cp -a %{S:1} .
@ -79,6 +72,7 @@ install -Dpm0644 -t %{buildroot}%{?_unitdir} units/systemd-zram-setup@.service
install -Dpm0644 -t %{buildroot}%{_prefix}/lib/systemd %{SOURCE1}
install -Dpm0644 -t %{buildroot}%{_mandir}/man8 man/zram-generator.8
install -Dpm0644 -t %{buildroot}%{_mandir}/man5 man/zram-generator.conf.5
rm -rf %{buildroot}%{cargo_registry}/%{crate}-%{version}
%files -n %{crate}
%license LICENSE
@ -92,12 +86,10 @@ install -Dpm0644 -t %{buildroot}%{_mandir}/man5 man/zram-generator.conf.5
%files -n %{crate}-defaults
%{_prefix}/lib/systemd/zram-generator.conf
%files devel
%license LICENSE
%doc README.md
%{cargo_registry}/%{crate}-%{version}
%changelog
* Thu Sep 8 2022 duyiwei <duyiwei@kylinos.cn> - 1.1.2-2
- remove useless subpackage zram-generator-devel
* Tue Jul 19 2022 duyiwei <duyiwei@kylinos.cn> - 1.1.2-1
- upgrade to 1.1.2