Hello community,
here is the log from the commit of package obs-service-set_version for
openSUSE:Factory checked in at 2012-06-28 15:37:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/obs-service-set_version (Old)
and /work/SRC/openSUSE:Factory/.obs-service-set_version.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "obs-service-set_version", Maintainer is ""
Changes:
--------
---
/work/SRC/openSUSE:Factory/obs-service-set_version/obs-service-set_version.changes
2012-03-22 12:37:22.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.obs-service-set_version.new/obs-service-set_version.changes
2012-06-28 15:38:22.000000000 +0200
@@ -1,0 +2,5 @@
+Tue Jun 26 15:01:27 UTC 2012 - [email protected]
+
+- Preserve whitespaces in Version: and Requires: lines
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ obs-service-set_version.spec ++++++
--- /var/tmp/diff_new_pack.8hx52x/_old 2012-06-28 15:38:23.000000000 +0200
+++ /var/tmp/diff_new_pack.8hx52x/_new 2012-06-28 15:38:23.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.8hx52x/_old 2012-06-28 15:38:23.000000000 +0200
+++ /var/tmp/diff_new_pack.8hx52x/_new 2012-06-28 15:38:23.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: [email protected]
For additional commands, e-mail: [email protected]