Accepting request 682166 from home:abergmann:branches:network:utilities

Remove FIRST_ARG usage from spec file (bsc#1126426).

OBS-URL: https://build.opensuse.org/request/show/682166
OBS-URL: https://build.opensuse.org/package/show/network:utilities/net-snmp?expand=0&rev=18
This commit is contained in:
Marcus Meissner 2019-03-10 10:45:12 +00:00 committed by Git OBS Bridge
parent d10b528e62
commit b8e0cee5d9
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Mar 6 10:21:17 UTC 2019 - abergmann@suse.com
- Remove FIRST_ARG usage from spec file (bsc#1126426).
-------------------------------------------------------------------
Wed Oct 10 20:22:35 UTC 2018 - abergmann@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package net-snmp
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -286,7 +286,6 @@ find %{buildroot} -type f -name "*.la" -delete -print
%service_add_pre snmpd.service snmptrapd.service
%post
/sbin/chkconfig -c snmpd 2> /dev/null && FIRST_ARG=2
%fillup_only snmpd
%fillup_only snmptrapd
%tmpfiles_create %{_tmpfilesdir}/net-snmp.conf