name = net-snmp
version = 5.9.3
-release = 2
+release = 3
groups = Networking/Daemons
url = http://net-snmp.sourceforge.net
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.