Accepting request 790123 from home:marxin:branches:network:utilities

- Add -fcommon in order to fix boo#1160404.

OBS-URL: https://build.opensuse.org/request/show/790123
OBS-URL: https://build.opensuse.org/package/show/network:utilities/net-snmp?expand=0&rev=23
This commit is contained in:
Dominique Leuenberger 2020-04-09 12:43:32 +00:00 committed by Git OBS Bridge
parent 18f75d5af9
commit be9c68ee83
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Mar 31 11:56:24 UTC 2020 - Martin Liška <mliska@suse.cz>
- Add -fcommon in order to fix boo#1160404.
-------------------------------------------------------------------
Thu Jul 4 08:06:47 UTC 2019 - abergmann@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package net-snmp
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@ -35,7 +35,7 @@ Release: 0
Summary: SNMP Daemon
License: BSD-3-Clause AND MIT
Group: Productivity/Networking/Other
Url: http://sourceforge.net/projects/net-snmp
URL: http://sourceforge.net/projects/net-snmp
Source: http://sourceforge.net/projects/net-snmp/files/net-snmp/%{version}/%{name}-%{version}.tar.gz
Source1: snmpd.service
Source2: snmpd.conf
@ -222,7 +222,7 @@ autoreconf -fvi
--with-sys-contact="root@localhost" \
--with-sys-location="unknown" \
--with-mib-modules="$MIBS" \
--with-cflags="%{optflags}" \
--with-cflags="%{optflags} -fcommon" \
--with-ldflags="-Wl,-z,relro -Wl,-z,now" \
--with-persistent-directory="%{_localstatedir}/lib/net-snmp" \
--with-agentx-socket="%{netsnmp_agentx_socket_dir_fhs}/master" \