Hello community, here is the log from the commit of package dump for openSUSE:Factory checked in at 2014-12-17 19:16:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/dump (Old) and /work/SRC/openSUSE:Factory/.dump.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "dump" Changes: -------- --- /work/SRC/openSUSE:Factory/dump/dump.changes 2013-01-12 19:46:42.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.dump.new/dump.changes 2014-12-17 19:15:52.000000000 +0100 @@ -1,0 +2,7 @@ +Sun Nov 16 21:32:00 UTC 2014 - Led <[email protected]> + +- fix bashisms in example scripts +- add patches: + * dump-0.4b43-fix-bashisms.patch + +------------------------------------------------------------------- New: ---- dump-0.4b43-fix-bashisms.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dump.spec ++++++ --- /var/tmp/diff_new_pack.OAB1aZ/_old 2014-12-17 19:15:53.000000000 +0100 +++ /var/tmp/diff_new_pack.OAB1aZ/_new 2014-12-17 19:15:53.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package dump # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -29,6 +29,7 @@ Patch1: %{name}-%{version}-destdir.patch Patch2: %{name}-%{version}-configure.patch Patch3: %{name}-%{version}-include.patch +Patch4: %{name}-0.4b43-fix-bashisms.patch Url: http://dump.sourceforge.net/ BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: A Backup Program @@ -51,6 +52,7 @@ %patch1 %patch2 %patch3 +%patch4 -p1 %build %define prefix /usr ++++++ dump-0.4b43-fix-bashisms.patch ++++++ diff -Ndur dump-0.4b43/examples/dump_on_cd_3/dump_disk dump-0.4b43-fix-bashisms/examples/dump_on_cd_3/dump_disk --- dump-0.4b43/examples/dump_on_cd_3/dump_disk 2005-01-13 14:13:56.000000000 +0200 +++ dump-0.4b43-fix-bashisms/examples/dump_on_cd_3/dump_disk 2014-11-17 00:22:03.323002531 +0200 @@ -55,14 +55,14 @@ while [ "$ANSWER" != "y" ] ; do echo -n "Is the disk ready? (y/n) " read </dev/tty ANSWER - if [ "$ANSWER" == "y" ] ; then + if [ "$ANSWER" = "y" ] ; then (${RECORD_BIN}${1}) & return 0 - elif [ "$ANSWER" == "n" ] ; then + elif [ "$ANSWER" = "n" ] ; then EXIT="" echo -n "Do you really want to exit? (y/n) " read </dev/tty EXIT - if [ "$EXIT" == "y" ] ; then + if [ "$EXIT" = "y" ] ; then return 1 fi fi diff -Ndur dump-0.4b43/examples/remote_backup_ssh/backitup dump-0.4b43-fix-bashisms/examples/remote_backup_ssh/backitup --- dump-0.4b43/examples/remote_backup_ssh/backitup 2001-11-11 01:56:07.000000000 +0200 +++ dump-0.4b43-fix-bashisms/examples/remote_backup_ssh/backitup 2014-11-17 00:22:30.163000715 +0200 @@ -41,7 +41,7 @@ # backup FILESYSTEMS to the TAPEDEV on TAPEHOST with DUMP as OPERATOR using RSH export RMT RSH -mkdir -p $LOGDIR &> /dev/null +mkdir -p $LOGDIR > /dev/null 2>&1 ssh-add ~/.ssh/id_dsa echo "Rewinding tape..." -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
