From fe5c2860c0ec96070172d0d12dc000afcb70a61d Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Sat, 18 Mar 2023 21:30:41 +0100 Subject: [PATCH] net-snmp: Do not create /var/run anymore Signed-off-by: Stefan Schantl --- net-snmp/net-snmp.nm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/net-snmp/net-snmp.nm b/net-snmp/net-snmp.nm index 1bcc538ac..26e905313 100644 --- a/net-snmp/net-snmp.nm +++ b/net-snmp/net-snmp.nm @@ -5,7 +5,7 @@ name = net-snmp version = 5.9.3 -release = 2 +release = 3 groups = Networking/Daemons url = http://net-snmp.sourceforge.net @@ -93,8 +93,8 @@ build install -v -m644 %{DIR_SOURCE}/snmptrapd.conf \ %{BUILDROOT}%{sysconfdir}/snmp/snmptrapd.conf - # Prepare runtime directories. - mkdir -pv %{BUILDROOT}%{localstatedir}/{lib,run}/net-snmp + # Prepare runtime directory + mkdir -pv %{BUILDROOT}%{sharedstatedir}/net-snmp # Remove scripts in /bin which requires the SNMP # perl bindings. -- 2.47.3