Hello community, here is the log from the commit of package tog-pegasus for openSUSE:Factory checked in at Wed Sep 2 18:57:07 CEST 2009. -------- --- tog-pegasus/tog-pegasus.changes 2009-08-12 14:28:54.000000000 +0200 +++ tog-pegasus/tog-pegasus.changes 2009-09-02 11:48:39.000000000 +0200 @@ -1,0 +2,6 @@ +Wed Sep 2 11:44:16 CEST 2009 - mhrusecky@suse.cz + +- using echo instead of print in shell script loadmof.sh +- searching for mof_compiler.py in versioned python directory too + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tog-pegasus.spec ++++++ --- /var/tmp/diff_new_pack.HSCf9e/_old 2009-09-02 18:53:59.000000000 +0200 +++ /var/tmp/diff_new_pack.HSCf9e/_new 2009-09-02 18:53:59.000000000 +0200 @@ -22,7 +22,7 @@ BuildRequires: cim-schema e2fsprogs-devel fdupes gcc-c++ libicu-devel net-snmp-devel BuildRequires: openslp-devel openssl openssl-devel pam-devel pwdutils python-httplib2 Version: 2.9.0 -Release: 2 +Release: 3 # Summary: OpenPegasus WBEM Services for Linux Group: System/Management ++++++ loadmof.sh ++++++ --- /var/tmp/diff_new_pack.HSCf9e/_old 2009-09-02 18:53:59.000000000 +0200 +++ /var/tmp/diff_new_pack.HSCf9e/_new 2009-09-02 18:53:59.000000000 +0200 @@ -13,12 +13,11 @@ # the latter code path is executed. Otherwise the former is # executed. # -if [ -x /usr/lib/python/site-packages/pywbem/mof_compiler.py ]; then - CIMMOF="/usr/sbin/pegutil /usr/lib/python/site-packages/pywbem/mof_compiler.py" -elif [ -x /usr/lib64/python/site-packages/pywbem/mof_compiler.py ]; then - CIMMOF="/usr/sbin/pegutil /usr/lib64/python/site-packages/pywbem/mof_compiler.py" -else - print "Error: Can't find mof_compiler.py" +for i in /usr/lib{,64}/python{,2.6}/site-packages/pywbem/mof_compiler.py; do + [ -x "$i" ] && CIMMOF="/usr/sbin/pegutil $i" +done +if [ -z "$CIMMOF" ]; then + echo "Error: Can't find mof_compiler.py" exit 1 fi ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org