diff --git a/arpwatch.spec b/arpwatch.spec index 9ad0e82..e3316fc 100644 --- a/arpwatch.spec +++ b/arpwatch.spec @@ -24,6 +24,8 @@ SourceLicense: %{shrink: } URL: https://ee.lbl.gov/ +Requires(pre): shadow-utils + Requires: /usr/sbin/sendmail Requires: python3 @@ -48,7 +50,7 @@ Source0: https://ee.lbl.gov/downloads/arpwatch/arpwatch-%{version}.tar.gz # updated), we store the file directly in the repository with the spec file; # see the update-oui-csv script. # -# File oui.csv last fetched 2025-12-11T07:07:44+00:00. +# File oui.csv last fetched 2025-12-11T07:07:57+00:00. Source1: oui.csv Source2: arpwatch.service Source3: arpwatch.sysconfig @@ -214,6 +216,10 @@ fi %systemd_post arpwatch.service +%pre +%sysusers_create_compat %{SOURCE6} + + %postun %systemd_postun_with_restart arpwatch.service