Accepting request 361433 from net-snmp:factory

- fix build with GNU grep 2.23, use grep -a to force text matching (forwarded request 359554 from AndreasStieger)

OBS-URL: https://build.opensuse.org/request/show/361433
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/net-snmp?expand=0&rev=78
This commit is contained in:
Dominique Leuenberger 2016-02-29 08:11:37 +00:00 committed by Git OBS Bridge
parent 097236ba27
commit cfb053c070
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Feb 15 20:38:20 UTC 2016 - astieger@suse.com
- fix build with GNU grep 2.23, use grep -a to force text matching
-------------------------------------------------------------------
Thu Sep 3 09:48:31 UTC 2015 - meissner@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package net-snmp
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2016 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
@ -280,7 +280,7 @@ popd
pushd python
%{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot}
popd
%{__grep} -v "^#define PACKAGE" %{buildroot}%{_includedir}/net-snmp/net-snmp-config.h > \
%{__grep} -a -v "^#define PACKAGE" %{buildroot}%{_includedir}/net-snmp/net-snmp-config.h > \
%{buildroot}%{_includedir}/net-snmp/net-snmp-config.h.new
%{__mv} %{buildroot}%{_includedir}/net-snmp/net-snmp-config.h{.new,}
%{__install} -D -m 0644 %{S:7} \