Bug 1645298 - Split systemd rpm macros into systemd-rpm-macros
Summary: Split systemd rpm macros into systemd-rpm-macros
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: rawhide
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Zbigniew Jędrzejewski-Szmek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-11-01 20:53 UTC by Orion Poplawski
Modified: 2018-11-02 11:05 UTC (History)
6 users (show)

Fixed In Version: systemd-239-7.git9f3aed1.fc30
Clone Of:
Environment:
Last Closed: 2018-11-02 11:05:02 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Orion Poplawski 2018-11-01 20:53:12 UTC
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.

Comment 1 Zbigniew Jędrzejewski-Szmek 2018-11-02 09:33:09 UTC
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 ;)

Comment 2 Zbigniew Jędrzejewski-Szmek 2018-11-02 11:05:02 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.