diff --git a/beep.spec b/beep.spec index 9b35454..20a8a40 100644 --- a/beep.spec +++ b/beep.spec @@ -65,7 +65,7 @@ Requires(pre): shadow-utils # /etc/modprobe.d/ Requires: kmod # /etc/udev/rules.d/ and /usr/lib/udev/rules.d/ -%if 0%{?rhel} <= 7 +%if %{defined el7} Requires: systemd %else Requires: systemd-udev