Whamcloud - gitweb
LU-3953 build: Fix duplicate snmp directory packaging 91/18191/2
authorChristopher J. Morrone <morrone2@llnl.gov>
Thu, 28 Jan 2016 01:55:48 +0000 (20:55 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 4 Feb 2016 04:45:52 +0000 (04:45 +0000)
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 <morrone2@llnl.gov>
Reviewed-on: http://review.whamcloud.com/18191
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Brian J. Murrell <brian.murrell@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>

index cbf123e..ff1caf6 100644 (file)
@@ -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
 find $RPM_BUILD_ROOT%{_libdir}/@PACKAGE@ \