On Thu, Jan 6, 2022 at 12:44 PM Salman via epel-devel
<epel-devel(a)lists.fedoraproject.org> wrote:
Hi All
I was wanting to confirm what is proper "BuildRequire" for packages with
systemd units when using macros %{_unitdir} or %{_userunitdir}
------------------------------------------------------------
Should it be simply :
BuildRequires: systemd
OR
BuildRequires: systemd-rpm-macros
Reference:
https://docs.fedoraproject.org/en-US/packaging-guidelines/Systemd/#packag...
For EPEL 8 and higher, "systemd-rpm-macros" is correct. For EPEL 7,
you'll need "systemd" instead.
--
真実はいつも一つ!/ Always, there's only one truth!