Install swap-create unit file
Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
3f7f539f8b
commit
8f1281f6d0
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
Name: rust-%{crate}
|
Name: rust-%{crate}
|
||||||
Version: 0.2.0~beta.1
|
Version: 0.2.0~beta.1
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Systemd unit generator for zram swap devices
|
Summary: Systemd unit generator for zram swap devices
|
||||||
|
|
||||||
# Upstream license specification: MIT
|
# Upstream license specification: MIT
|
||||||
@ -88,6 +88,7 @@ echo 'systemd-rpm-macros'
|
|||||||
|
|
||||||
mkdir -p %{buildroot}%{_systemdgeneratordir}
|
mkdir -p %{buildroot}%{_systemdgeneratordir}
|
||||||
mv -v %{buildroot}%{_bindir}/zram-generator %{buildroot}%{_systemdgeneratordir}/
|
mv -v %{buildroot}%{_bindir}/zram-generator %{buildroot}%{_systemdgeneratordir}/
|
||||||
|
install -Dpm0644 -t %{buildroot}%{_unitdir} units/swap-create@.service
|
||||||
|
|
||||||
%if %{with check}
|
%if %{with check}
|
||||||
%check
|
%check
|
||||||
@ -95,6 +96,9 @@ mv -v %{buildroot}%{_bindir}/zram-generator %{buildroot}%{_systemdgeneratordir}/
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jun 18 10:14:43 CEST 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.2.0~beta.1-2
|
||||||
|
- Install swap-create unit file
|
||||||
|
|
||||||
* Thu Jun 18 09:27:37 CEST 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.2.0~beta.1-1
|
* Thu Jun 18 09:27:37 CEST 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.2.0~beta.1-1
|
||||||
- Update to 0.2.0-beta.1
|
- Update to 0.2.0-beta.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user