From e60e275546224a5141dde3ac75087b8da3795616 Mon Sep 17 00:00:00 2001 From: "Christopher J. Morrone" Date: Wed, 27 Jan 2016 20:55:48 -0500 Subject: [PATCH] LU-3953 build: Fix duplicate snmp directory packaging The %{_datadir}/lustre/snmp/mibs is in conflict with the later %{_datadir}/lustre in the %files section. Fortunately, it just prints a warning rather than aborting the process. But we can fix that warning. We remove the more specific %{_datadir}/lustre/snmp/mibs since the files are already included with the more general form. Change-Id: I293f0bf07760719f7cf3e1a963e49c007a483311 Signed-off-by: Christopher J. Morrone Reviewed-on: http://review.whamcloud.com/18191 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Dmitry Eremin Reviewed-by: Brian J. Murrell Reviewed-by: Oleg Drokin --- lustre.spec.in | 1 - 1 file changed, 1 deletion(-) diff --git a/lustre.spec.in b/lustre.spec.in index cbf123e..ff1caf6 100644 --- a/lustre.spec.in +++ b/lustre.spec.in @@ -405,7 +405,6 @@ echo '%{_libdir}/libiam.a' >>lustre.files if [ -d $RPM_BUILD_ROOT%{_libdir}/lustre/snmp ] ; then echo '%{_libdir}/lustre/snmp' >>lustre.files - echo '%{_datadir}/lustre/snmp/mibs' >>lustre.files fi find $RPM_BUILD_ROOT%{_libdir}/@PACKAGE@ \ -- 1.8.3.1