Hello community,

here is the log from the commit of package libvirt-cim for openSUSE:Factory 
checked in at 2014-12-03 22:47:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libvirt-cim (Old)
 and      /work/SRC/openSUSE:Factory/.libvirt-cim.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libvirt-cim"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libvirt-cim/libvirt-cim.changes  2014-10-15 
21:59:05.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libvirt-cim.new/libvirt-cim.changes     
2014-12-03 22:48:05.000000000 +0100
@@ -1,0 +2,7 @@
+Sat Nov 29 20:22:00 UTC 2014 - Led <[email protected]>
+
+- fix bashisms in provider-register.sh script
+- add patches:
+  * libvirt-cim-0.6.3-fix-bashisms.patch
+
+-------------------------------------------------------------------

New:
----
  libvirt-cim-0.6.3-fix-bashisms.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libvirt-cim.spec ++++++
--- /var/tmp/diff_new_pack.ZMa7H8/_old  2014-12-03 22:48:06.000000000 +0100
+++ /var/tmp/diff_new_pack.ZMa7H8/_new  2014-12-03 22:48:06.000000000 +0100
@@ -34,6 +34,7 @@
 Source2:        README.SUSE
 Patch0:         provider-reg.patch
 Patch1:         automake.patch
+Patch2:         libvirt-cim-0.6.3-fix-bashisms.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  automake
 BuildRequires:  autoconf
@@ -87,6 +88,7 @@
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 chmod -x src/* libxkutil/* schema/* README doc/* base_schema/README*
 chmod +X src/* libxkutil/* schema/*
 

++++++ libvirt-cim-0.6.3-fix-bashisms.patch ++++++
diff -Ndur libvirt-cim-0.6.3/provider-register.sh 
libvirt-cim-0.6.3-fix-bashisms/provider-register.sh
--- libvirt-cim-0.6.3/provider-register.sh      2013-04-08 12:40:35.000000000 
+0300
+++ libvirt-cim-0.6.3-fix-bashisms/provider-register.sh 2014-11-29 
22:21:08.224843458 +0200
@@ -146,12 +146,12 @@
     done
 
 #produce Capabilities
-    let serial=0
+    serial=0
     for rf in $regfiles
     do
       cat $rf | grep -v '^[[:space:]]*#.*' | while read CLASSNAME NAMESPACE 
PROVIDERNAME PROVIDERMODULE CAPS
       do
-       let serial=serial+1
+       serial=$((serial + 1))
        numcap=
        for cap in $CAPS
        do
@@ -772,14 +772,14 @@
 if [ "$help" = "1" ]
 then
     usage
-    echo -e "\t-h display help message"
-    echo -e "\t-v verbose mode"
-    echo -e "\t-d deregister provider and uninstall schema"
-    echo -e "\t-t specify cimserver type (pegasus|sfcb|openwbem|sniacimom)"
-    echo -e "\t-r specify registration files"
-    echo -e "\t-m specify schema mof files"
-    echo -e "\t-X create repository for alternate platform (sfcb only at the 
moment)."
-    echo -e "\t-n target namespace definition (default: root/cimv2)."
+    echo "     -h display help message"
+    echo "     -v verbose mode"
+    echo "     -d deregister provider and uninstall schema"
+    echo "     -t specify cimserver type (pegasus|sfcb|openwbem|sniacimom)"
+    echo "     -r specify registration files"
+    echo "     -m specify schema mof files"
+    echo "     -X create repository for alternate platform (sfcb only at the 
moment)."
+    echo "     -n target namespace definition (default: root/cimv2)."
     echo
     echo Use this command to install schema mofs and register providers.
     echo CIM Server Type is required as well as at least one registration file 
and one mof.
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to