Skip to content

Commit

Permalink
Fix systemd dependency
Browse files Browse the repository at this point in the history
systemd is used during the build only to get systemunitdir from
systemd.pc. That pkgconfig file is now part of systemd, and
systemd-devel does not provide that, even indirectly.  While beakerlib
ends up pulling in systemd, that should not be relied upon, and does not
help for RHEL/ELN where beakerlib is now disabled.
  • Loading branch information
yselkowitz authored and lnykryn committed Jan 19, 2024
1 parent 496522e commit 353aff9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chkconfig.spec
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ License: GPL-2.0-only
URL: https://github.com/fedora-sysv/chkconfig
Source: https://github.com/fedora-sysv/chkconfig/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz

BuildRequires: gcc gettext libselinux-devel make newt-devel popt-devel systemd-devel
BuildRequires: gcc gettext libselinux-devel make newt-devel popt-devel pkgconfig(systemd)
# beakerlib might not be available on CentOS Stream any more
%if 0%{?fedora}
BuildRequires: beakerlib
Expand Down

0 comments on commit 353aff9

Please sign in to comment.