Description of problem: Currently packages need to BR systemd solely to import some rpm macros. This brings in a number of dependencies as well: DEBUG util.py:492: =================================================================================================== DEBUG util.py:492: Package Arch Version Repository Size DEBUG util.py:492: =================================================================================================== DEBUG util.py:492: Installing: DEBUG util.py:492: systemd x86_64 239-6.git9f3aed1.fc29 updates 3.4 M DEBUG util.py:492: Installing dependencies: DEBUG util.py:492: acl x86_64 2.2.53-2.fc29 fedora 71 k DEBUG util.py:492: dbus x86_64 1:1.12.10-1.fc29 fedora 9.4 k DEBUG util.py:492: dbus-common noarch 1:1.12.10-1.fc29 fedora 14 k DEBUG util.py:492: dbus-daemon x86_64 1:1.12.10-1.fc29 fedora 196 k DEBUG util.py:492: dbus-libs x86_64 1:1.12.10-1.fc29 fedora 144 k DEBUG util.py:492: dbus-tools x86_64 1:1.12.10-1.fc29 fedora 50 k DEBUG util.py:492: iptables-libs x86_64 1.8.0-3.fc29 fedora 53 k DEBUG util.py:492: json-c x86_64 0.13.1-3.fc29 fedora 37 k DEBUG util.py:492: kmod-libs x86_64 25-3.fc29 fedora 59 k DEBUG util.py:492: libargon2 x86_64 20161029-6.fc29 fedora 28 k DEBUG util.py:492: libpcap x86_64 14:1.9.0-2.fc29 fedora 149 k DEBUG util.py:492: libseccomp x86_64 2.3.3-3.fc29 fedora 60 k DEBUG util.py:492: nettle x86_64 3.4-5.fc29 fedora 289 k DEBUG util.py:492: qrencode-libs x86_64 3.4.4-6.fc29 fedora 55 k DEBUG util.py:492: systemd-pam x86_64 239-6.git9f3aed1.fc29 updates 157 k DEBUG util.py:492: cryptsetup-libs x86_64 2.0.5-1.fc29 updates-testing 299 k DEBUG util.py:492: device-mapper x86_64 1.02.152-1.fc29 updates-testing 151 k DEBUG util.py:492: device-mapper-libs x86_64 1.02.152-1.fc29 updates-testing 181 k DEBUG util.py:492: gnutls x86_64 3.6.4-4.fc29 updates-testing 850 k DEBUG util.py:492: Transaction Summary DEBUG util.py:492: =================================================================================================== DEBUG util.py:492: Install 20 Packages DEBUG util.py:492: Total download size: 6.2 M DEBUG util.py:492: Installed size: 20 M That's a lot just for some macro definitions.
This isn't going to useful for binary rpms, because the macros call systemctl and other systemd binaries. But in the build stage, this would make the buildroot a bit smaller. I'll do the packaging part. Somebody needs to open an FPC ticket ;)
https://pagure.io/packaging-committee/issue/824 If the committee changes recommendations, this change should be backported to older releases to make it easy to use.