Hello community, here is the log from the commit of package obs-service-set_version for openSUSE:12.2 checked in at 2012-06-28 15:37:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:12.2/obs-service-set_version (Old) and /work/SRC/openSUSE:12.2/.obs-service-set_version.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "obs-service-set_version", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:12.2/obs-service-set_version/obs-service-set_version.changes 2012-06-25 15:47:18.000000000 +0200 +++ /work/SRC/openSUSE:12.2/.obs-service-set_version.new/obs-service-set_version.changes 2012-06-28 15:38:23.000000000 +0200 @@ -1,0 +2,5 @@ +Tue Jun 26 15:01:27 UTC 2012 - saschpe@suse.de + +- Preserve whitespaces in Version: and Requires: lines + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ obs-service-set_version.spec ++++++ --- /var/tmp/diff_new_pack.AVDI4G/_old 2012-06-28 15:38:24.000000000 +0200 +++ /var/tmp/diff_new_pack.AVDI4G/_new 2012-06-28 15:38:24.000000000 +0200 @@ -16,13 +16,12 @@ # - Name: obs-service-set_version +Summary: An OBS source service: Update spec file version License: GPL-2.0+ Group: Development/Tools/Building -Summary: An OBS source service: Update spec file version Version: 0.2 -Release: 1 +Release: 0 Source: set_version Source1: set_version.service Requires: sed ++++++ set_version ++++++ --- /var/tmp/diff_new_pack.AVDI4G/_old 2012-06-28 15:38:24.000000000 +0200 +++ /var/tmp/diff_new_pack.AVDI4G/_new 2012-06-28 15:38:24.000000000 +0200 @@ -76,12 +76,12 @@ FILE=`ls -1 $i 2>/dev/null` [ -e "$FILE" ] || continue - sed "0,/^Version:.*/s//Version: $MYVERSION/" "$FILE" > "$MYOUTDIR/$FILE" || exit 1 + sed "0,/^Version:\(\s*\)[^%]*/s//Version:\1$MYVERSION/" "$FILE" > "$MYOUTDIR/$FILE" || exit 1 echo "Updated first occurrence (if any) of Version in $FILE to $MYVERSION" if [ "${FILE%.spec}" != "$FILE" ]; then # set release back to zero after version upgrade, will be increased by OBS during build # also keep macros in release in case of fedora/mandriva - sed -r -i 's,^Release:[^%]*,Release: 0,' "$MYOUTDIR/$FILE" || exit 1 + sed -r -i "s,^Release:(\s*)[^%]*,Release:\10," "$MYOUTDIR/$FILE" || exit 1 fi if [ "${FILE#_service:}" != "$FILE" ]; then -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org