Hello community, here is the log from the commit of package sblim-cmpi-base for openSUSE:Factory checked in at 2014-12-03 22:47:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/sblim-cmpi-base (Old) and /work/SRC/openSUSE:Factory/.sblim-cmpi-base.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sblim-cmpi-base" Changes: -------- --- /work/SRC/openSUSE:Factory/sblim-cmpi-base/sblim-cmpi-base.changes 2014-11-29 08:40:02.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.sblim-cmpi-base.new/sblim-cmpi-base.changes 2014-12-03 22:48:04.000000000 +0100 @@ -1,0 +2,7 @@ +Sat Nov 29 18:59:00 UTC 2014 - Led <led...@gmail.com> + +- fix bashisms in scripts +- add patches: + * sblim-cmpi-base-1.6.4-fix-bashisms.patch + +------------------------------------------------------------------- New: ---- sblim-cmpi-base-1.6.4-fix-bashisms.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sblim-cmpi-base.spec ++++++ --- /var/tmp/diff_new_pack.PFW2qU/_old 2014-12-03 22:48:05.000000000 +0100 +++ /var/tmp/diff_new_pack.PFW2qU/_new 2014-12-03 22:48:05.000000000 +0100 @@ -35,6 +35,7 @@ Patch0: sblim-cmpi-base-1.6.2-methods-enable.patch # PATCH-FIX-UPSTREAM sblim-cmpi-base-%{version}-missing-fclose.patch [ bnc#530325 upstream#2843613 ] mhruse...@suse.cz -- Adding missing fclose Patch1: sblim-cmpi-base-1.6.2-missing-fclose.patch +Patch2: sblim-cmpi-base-1.6.4-fix-bashisms.patch Summary: SBLIM Base Instrumentation License: EPL-1.0 Group: System/Management @@ -81,6 +82,7 @@ %setup -T -b 0 -n %{name}-%{version} %patch0 %patch1 +%patch2 -p1 %build autoreconf -fi ++++++ sblim-cmpi-base-1.6.4-fix-bashisms.patch ++++++ diff -Ndur sblim-cmpi-base-1.6.4/provider-register.sh sblim-cmpi-base-1.6.4-fix-bashisms/provider-register.sh --- sblim-cmpi-base-1.6.4/provider-register.sh 2014-10-23 17:54:13.000000000 +0300 +++ sblim-cmpi-base-1.6.4-fix-bashisms/provider-register.sh 2014-11-20 01:21:36.147815454 +0200 @@ -92,12 +92,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 @@ -703,14 +703,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. diff -Ndur sblim-cmpi-base-1.6.4/test/system/linux/createKeyFiles.sh sblim-cmpi-base-1.6.4-fix-bashisms/test/system/linux/createKeyFiles.sh --- sblim-cmpi-base-1.6.4/test/system/linux/createKeyFiles.sh 2014-10-23 17:54:13.000000000 +0300 +++ sblim-cmpi-base-1.6.4-fix-bashisms/test/system/linux/createKeyFiles.sh 2014-11-20 01:22:32.313815532 +0200 @@ -13,7 +13,7 @@ # Name -if [[ -n $DOMAIN ]]; then +if [ -n "$DOMAIN" ]; then echo `hostname` | grep $DOMAIN >/dev/null\ && echo `hostname` >> ComputerSystem.keys \ || echo `hostname`.$DOMAIN >> ComputerSystem.keys @@ -35,7 +35,7 @@ # Name -if [[ -n $DOMAIN ]]; then +if [ -n "$DOMAIN" ]; then echo `hostname` | grep $DOMAIN >/dev/null\ && echo `hostname` >> OperatingSystem.keys \ || echo `hostname`.$DOMAIN >> OperatingSystem.keys diff -Ndur sblim-cmpi-base-1.6.4/test/system/linux/Linux_OperatingSystem.version.sh sblim-cmpi-base-1.6.4-fix-bashisms/test/system/linux/Linux_OperatingSystem.version.sh --- sblim-cmpi-base-1.6.4/test/system/linux/Linux_OperatingSystem.version.sh 2014-10-23 17:54:13.000000000 +0300 +++ sblim-cmpi-base-1.6.4-fix-bashisms/test/system/linux/Linux_OperatingSystem.version.sh 2014-11-20 01:23:21.329815600 +0200 @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash files=(`find /etc/ -type f -maxdepth 1 -name *release* 2>/dev/null`) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org