SPECS: net-snmp.spec - package mibs .index ghost - add %{_libdir}/snmp/dlmod

glen glen at pld-linux.org
Mon Apr 20 11:40:33 CEST 2009


Author: glen                         Date: Mon Apr 20 09:40:33 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- package mibs .index ghost
- add %{_libdir}/snmp/dlmod

---- Files affected:
SPECS:
   net-snmp.spec (1.136 -> 1.137) 

---- Diffs:

================================================================
Index: SPECS/net-snmp.spec
diff -u SPECS/net-snmp.spec:1.136 SPECS/net-snmp.spec:1.137
--- SPECS/net-snmp.spec:1.136	Mon Apr 20 01:30:41 2009
+++ SPECS/net-snmp.spec	Mon Apr 20 11:40:27 2009
@@ -486,7 +486,7 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{/etc/{rc.d/init.d,sysconfig,snmp},/var/log}
+install -d $RPM_BUILD_ROOT{/etc/{rc.d/init.d,sysconfig,snmp},/var/log,%{_libdir}/snmp/dlmod}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
@@ -544,6 +544,8 @@
 %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/netsnmp/*.py
 %endif
 
+touch $RPM_BUILD_ROOT%{_datadir}/snmp/mibs/.index
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -594,6 +596,9 @@
 
 %attr(755,root,root) %{_sbindir}/snmpd
 
+%dir %{_libdir}/snmp
+%dir %{_libdir}/snmp/dlmod
+
 %{_mandir}/man5/snmpd.conf.5*
 %{_mandir}/man5/snmpd.examples.5*
 %{_mandir}/man5/snmpd.internal.5*
@@ -661,6 +666,7 @@
 %defattr(644,root,root,755)
 %dir %{_datadir}/snmp
 %{_datadir}/snmp/mibs
+%ghost %{_datadir}/snmp/mibs/.index
 
 %files snmptrapd
 %defattr(644,root,root,755)
@@ -778,6 +784,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.137  2009/04/20 09:40:27  glen
+- package mibs .index ghost
+- add %{_libdir}/snmp/dlmod
+
 Revision 1.136  2009/04/19 23:30:41  baggins
 - rel 7
 - don't pollute logs with debug stuff
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/net-snmp.spec?r1=1.136&r2=1.137&f=u



More information about the pld-cvs-commit mailing list