Author: glen                         Date: Mon Dec 28 13:17:47 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rename to mibs-hp-storageworks-san-switch
- simplify (*.mib is ok too)

---- Files affected:
packages/mibs-hp-storageworks-san-switch:
   mibs-hp-storageworks-san-switch.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: 
packages/mibs-hp-storageworks-san-switch/mibs-hp-storageworks-san-switch.spec
diff -u 
packages/mibs-hp-storageworks-san-switch/mibs-hp-storageworks-san-switch.spec:1.5
 
packages/mibs-hp-storageworks-san-switch/mibs-hp-storageworks-san-switch.spec:1.6
--- 
packages/mibs-hp-storageworks-san-switch/mibs-hp-storageworks-san-switch.spec:1.5
   Sat Oct 11 12:34:01 2008
+++ 
packages/mibs-hp-storageworks-san-switch/mibs-hp-storageworks-san-switch.spec   
    Mon Dec 28 14:17:41 2009
@@ -1,7 +1,7 @@
 # $Revision$, $Date$
 Summary:       MIBs for HP StorageWorks SAN Switches v5.x firmware
 Summary(pl.UTF-8):     MIB-y dla switchy SAN HP StorageWorks z firmware v5.x
-Name:          net-snmp-mibs-hp-storageworks-san-switch
+Name:          mibs-hp-storageworks-san-switch
 Version:       5.0.x
 Release:       1
 License:       Unknown
@@ -9,11 +9,12 @@
 Source0:       
ftp://ftp.hp.com/pub/softlib/software6/COL13337/co-37211-1/v%{version}_mibs.zip
 # Source0-md5: 9f85e4a28b988289ec26580c0fadade1
 URL:           http://www.hp.com/rnd/software/MIBs.htm
-Requires:      net-snmp-mibs
+Requires:      mibs-dirs
+Obsoletes:     net-snmp-mibs-hp-storageworks-san-switch
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                mibdir  %{_datadir}/snmp/mibs
+%define                mibdir  %{_datadir}/mibs
 
 %description
 MIBs for B-Series HP StorageWorks SAN Switches that run v5.x firmware.
@@ -27,11 +28,7 @@
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{mibdir}
-
-for file in *.mib; do
-       b=$(basename "$file" .mib)
-       install "$file" $RPM_BUILD_ROOT%{mibdir}/mib-${b}.txt
-done
+cp -a *.mib $RPM_BUILD_ROOT%{mibdir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -39,7 +36,7 @@
 %files
 %defattr(644,root,root,755)
 %doc *.pdf
-%{mibdir}/*.*
+%{mibdir}/*
 
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -47,6 +44,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2009/12/28 13:17:41  glen
+- rename to mibs-hp-storageworks-san-switch
+- simplify (*.mib is ok too)
+
 Revision 1.5  2008/10/11 10:34:01  glen
 - use mibdir macro
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mibs-hp-storageworks-san-switch/mibs-hp-storageworks-san-switch.spec?r1=1.5&r2=1.6&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to