remove useless subpackage zram-generator-devel
Signed-off-by: duyiwei <duyiwei@kylinos.cn>
This commit is contained in:
parent
6a02a64e8a
commit
f2342b2ae2
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Name: rust-%{crate}
|
Name: rust-%{crate}
|
||||||
Version: 1.1.2
|
Version: 1.1.2
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Systemd unit generator for zram swap devices
|
Summary: Systemd unit generator for zram swap devices
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -38,13 +38,6 @@ BuildArch: noarch
|
|||||||
%description -n %{crate}-defaults
|
%description -n %{crate}-defaults
|
||||||
%{summary}.
|
%{summary}.
|
||||||
|
|
||||||
%package devel
|
|
||||||
Summary: %{summary}
|
|
||||||
|
|
||||||
%description devel %{_description}
|
|
||||||
This package contains library source intended for building other packages
|
|
||||||
which use "%{crate}" crate.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{crate}-%{version} -p1
|
%autosetup -n %{crate}-%{version} -p1
|
||||||
cp -a %{S:1} .
|
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}%{_prefix}/lib/systemd %{SOURCE1}
|
||||||
install -Dpm0644 -t %{buildroot}%{_mandir}/man8 man/zram-generator.8
|
install -Dpm0644 -t %{buildroot}%{_mandir}/man8 man/zram-generator.8
|
||||||
install -Dpm0644 -t %{buildroot}%{_mandir}/man5 man/zram-generator.conf.5
|
install -Dpm0644 -t %{buildroot}%{_mandir}/man5 man/zram-generator.conf.5
|
||||||
|
rm -rf %{buildroot}%{cargo_registry}/%{crate}-%{version}
|
||||||
|
|
||||||
%files -n %{crate}
|
%files -n %{crate}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
@ -92,12 +86,10 @@ install -Dpm0644 -t %{buildroot}%{_mandir}/man5 man/zram-generator.conf.5
|
|||||||
%files -n %{crate}-defaults
|
%files -n %{crate}-defaults
|
||||||
%{_prefix}/lib/systemd/zram-generator.conf
|
%{_prefix}/lib/systemd/zram-generator.conf
|
||||||
|
|
||||||
%files devel
|
|
||||||
%license LICENSE
|
|
||||||
%doc README.md
|
|
||||||
%{cargo_registry}/%{crate}-%{version}
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Jul 19 2022 duyiwei <duyiwei@kylinos.cn> - 1.1.2-1
|
||||||
- upgrade to 1.1.2
|
- upgrade to 1.1.2
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user