Hello community,
here is the log from the commit of package obs-service-set_version for
openSUSE:Factory checked in at 2013-10-18 19:22:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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"
Changes:
--------
---
/work/SRC/openSUSE:Factory/obs-service-set_version/obs-service-set_version.changes
2013-05-16 11:15:15.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.obs-service-set_version.new/obs-service-set_version.changes
2013-10-18 19:23:04.000000000 +0200
@@ -1,0 +2,5 @@
+Tue Oct 8 10:06:26 UTC 2013 - [email protected]
+
+- Take Debian version and revision number from debian.changelog file
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ obs-service-set_version.spec ++++++
--- /var/tmp/diff_new_pack.7IpOKn/_old 2013-10-18 19:23:07.000000000 +0200
+++ /var/tmp/diff_new_pack.7IpOKn/_new 2013-10-18 19:23:07.000000000 +0200
@@ -20,7 +20,7 @@
Summary: An OBS source service: Update spec file version
License: GPL-2.0+
Group: Development/Tools/Building
-Version: 0.2
+Version: 0.3
Release: 0
Source: set_version
Source1: set_version.service
++++++ set_version ++++++
--- /var/tmp/diff_new_pack.7IpOKn/_old 2013-10-18 19:23:07.000000000 +0200
+++ /var/tmp/diff_new_pack.7IpOKn/_new 2013-10-18 19:23:07.000000000 +0200
@@ -57,6 +57,10 @@
MYVERSION=`ls -1t | sed -n "s,$BASENAME.*[-_]\([0123456789].*\).zip$,\1,p"
| head -n 1`
fi
if [ -z "$MYVERSION" ]; then
+ # take version number (and optional revision) from Debian changelog
+ MYVERSION=`head -n 1 *debian.changelog 2>/dev/null | sed -ne
's/.*(\(.*\)).*/\1/p'`
+ fi
+ if [ -z "$MYVERSION" ]; then
echo "ERROR: no version is given and can't get detected automatically"
exit 1
fi
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]