From aac22baa3b91e5da363182373f76eb64a9af5dba Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Sep 29 2022 08:22:45 +0000 Subject: Make systemd-devel conditionally pull in systemd-rpm-macros If people BR:systemd-devel, they should get the macros too. It's a tiny package, and we shouldn't require people to BR two things. https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/A5BGKRZVFDOBNMCBUPUCKLKHWEW5V2JE/ --- diff --git a/systemd.spec b/systemd.spec index 63ec9cb..46a8403 100644 --- a/systemd.spec +++ b/systemd.spec @@ -282,6 +282,7 @@ for information how to use those macros. Summary: Development headers for systemd License: LGPLv2+ and MIT Requires: %{name}-libs%{?_isa} = %{version}-%{release} +Requires(meta): (%{name}-rpm-macros = %{version}-%{release} if rpm-build) Provides: libudev-devel = %{version} Provides: libudev-devel%{_isa} = %{version} Obsoletes: libudev-devel < 183