Install swap-create unit file

Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Raits 2020-06-18 10:14:56 +02:00
parent 3f7f539f8b
commit 8f1281f6d0
No known key found for this signature in database
GPG Key ID: 115D5AB89C5C1E1E
1 changed files with 5 additions and 1 deletions

View File

@ -6,7 +6,7 @@
Name: rust-%{crate}
Version: 0.2.0~beta.1
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Systemd unit generator for zram swap devices
# Upstream license specification: MIT
@ -88,6 +88,7 @@ echo 'systemd-rpm-macros'
mkdir -p %{buildroot}%{_systemdgeneratordir}
mv -v %{buildroot}%{_bindir}/zram-generator %{buildroot}%{_systemdgeneratordir}/
install -Dpm0644 -t %{buildroot}%{_unitdir} units/swap-create@.service
%if %{with check}
%check
@ -95,6 +96,9 @@ mv -v %{buildroot}%{_bindir}/zram-generator %{buildroot}%{_systemdgeneratordir}/
%endif
%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
- Update to 0.2.0-beta.1