diff --git a/prelockd.spec b/prelockd.spec index 117e12e..f7aca45 100644 --- a/prelockd.spec +++ b/prelockd.spec @@ -1,6 +1,6 @@ Name: prelockd Version: 0.8 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Lock binaries and libraries in memory to improve system responsiveness BuildArch: noarch @@ -8,7 +8,11 @@ License: MIT URL: https://github.com/hakavlad/prelockd Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz +%if 0%{?rhel} >= 7 +BuildRequires: systemd +%else BuildRequires: systemd-rpm-macros +%endif Requires: python3 >= 3.3 @@ -61,6 +65,9 @@ exit 0 %changelog +* Mon Oct 12 2020 Artem Polishchuk - 0.8-2 +- build: make 'systemd-rpm-macros' conditional due epel7 support + * Sun Oct 11 2020 Artem Polishchuk - 0.8-1 - build(update): 0.8