Fix missing path to generator dir

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2021-03-23 22:01:49 +01:00
parent 4fbeb5cf62
commit 54d85c6833

View File

@ -5,7 +5,7 @@
Name: rust-%{crate}
Version: 0.3.2
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Systemd unit generator for zram swap devices
# Upstream license specification: MIT
@ -102,7 +102,7 @@ echo 'systemd-rpm-macros'
%build
export SYSTEMD_UTIL_DIR=%{_systemd_util_dir}
%cargo_build
make systemd_service
make systemd_service SYSTEMD_SYSTEM_UNIT_DIR=%{_unitdir} SYSTEMD_SYSTEM_GENERATOR_DIR=%{_systemdgeneratordir}
LC_ALL=C.UTF-8 ronn --roff --organization="zram-generator %{version_no_tilde}" man/*.md
%install
@ -123,6 +123,9 @@ export SYSTEMD_UTIL_DIR=%{_systemd_util_dir}
%endif
%changelog
* Tue Mar 23 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.3.2-3
- Fix missing path to generator dir
* Fri Mar 19 2021 Vasiliy Glazov <vascom2@gmail.com> - 0.3.2-2
- Fix max-zram-size value to 8GB