From aac22baa3b91e5da363182373f76eb64a9af5dba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Thu, 29 Sep 2022 10:20:07 +0200 Subject: [PATCH] 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/ --- systemd.spec | 1 + 1 file changed, 1 insertion(+) 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