diff --git a/nagios-plugins-systemd.spec b/nagios-plugins-systemd.spec index b646229..a2e17f9 100644 --- a/nagios-plugins-systemd.spec +++ b/nagios-plugins-systemd.spec @@ -10,6 +10,9 @@ Source: https://github.com/Josef-Friedrich/check_systemd/archive/v%{vers BuildRequires: python3-devel +# Require the package that owns the plugins dir, as we install the plugin there. +Requires: %{nagiospluginsdir} + # The package does not contain any architecture-dependent things, but installs # into an arch-dependend directory. Thus, it cannot be noarch, but it does not # provide any debuginfo.