From 18b1d2707f369d32cba4b778f749df19de796b7f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20=C5=A0afr=C3=A1nek?= <jsafrane@fedoraproject.org>
Date: Wed, 16 Jun 2010 11:54:36 +0000
Subject: [PATCH] add missing include files from util_funcs directory Related:
 #603243

---
 net-snmp.spec | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/net-snmp.spec b/net-snmp.spec
index cd24508..3060593 100644
--- a/net-snmp.spec
+++ b/net-snmp.spec
@@ -11,10 +11,10 @@
 Summary: A collection of SNMP protocol tools and libraries
 Name: net-snmp
 Version: 5.5
-Release: 13%{?dist}
+Release: 14%{?dist}
 Epoch: 1
 
-License: BSD and MIT
+License: BSD
 Group: System Environment/Daemons
 URL: http://net-snmp.sourceforge.net/
 Source0: http://dl.sourceforge.net/net-snmp/net-snmp-%{version}.tar.gz
@@ -296,6 +296,9 @@ done
 # remove executable bit from documentation samples
 chmod 644 local/passtest local/ipf-mod.pl
 
+# dirty hack for #603243, until it's fixed properly upstream
+install -m 755 -d $RPM_BUILD_ROOT/usr/include/net-snmp/agent/util_funcs
+install -m 644  agent/mibgroup/util_funcs/*.h $RPM_BUILD_ROOT/usr/include/net-snmp/agent/util_funcs
 
 %check
 %if %{netsnmp_check}
@@ -411,6 +414,9 @@ rm -rf ${RPM_BUILD_ROOT}
 %{_datadir}/snmp/mibs/*
 
 %changelog
+* Wed Jun 16 2010 Jan Safranek <jsafrane@redhat.com> - 1:5.5-13
+- add missing include files from util_funcs directory (#603243)
+
 * Tue Jun 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 1:5.5-13
 - Mass rebuild with perl-5.12.0