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/
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2022-09-29 10:20:07 +02:00
parent 95413629b4
commit aac22baa3b

View File

@ -282,6 +282,7 @@ for information how to use those macros.
Summary: Development headers for systemd Summary: Development headers for systemd
License: LGPLv2+ and MIT License: LGPLv2+ and MIT
Requires: %{name}-libs%{?_isa} = %{version}-%{release} Requires: %{name}-libs%{?_isa} = %{version}-%{release}
Requires(meta): (%{name}-rpm-macros = %{version}-%{release} if rpm-build)
Provides: libudev-devel = %{version} Provides: libudev-devel = %{version}
Provides: libudev-devel%{_isa} = %{version} Provides: libudev-devel%{_isa} = %{version}
Obsoletes: libudev-devel < 183 Obsoletes: libudev-devel < 183