Hello community,
here is the log from the commit of package obs-service-source_validator for
openSUSE:Factory checked in at 2015-05-16 07:12:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/obs-service-source_validator (Old)
and /work/SRC/openSUSE:Factory/.obs-service-source_validator.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "obs-service-source_validator"
Changes:
--------
---
/work/SRC/openSUSE:Factory/obs-service-source_validator/obs-service-source_validator.changes
2015-04-27 22:07:00.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.obs-service-source_validator.new/obs-service-source_validator.changes
2015-05-16 07:12:21.000000000 +0200
@@ -1,0 +2,8 @@
+Wed May 13 08:54:32 UTC 2015 - [email protected]
+
+- Update to version 0.5+git20150513.7c2f7ae:
+ + fix checking _service file
+ + baselibs verification: targettype is a nown keyword - treat it as a 'built
package'
+ + baselibs validation: pass if we have trouble parsing the .spec file
(missing devel packages on the host)
+
+-------------------------------------------------------------------
Old:
----
obs-service-source_validator-0.5+git20150420.23830c1.tar.bz2
New:
----
obs-service-source_validator-0.5+git20150513.7c2f7ae.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ obs-service-source_validator.spec ++++++
--- /var/tmp/diff_new_pack.JwlR3P/_old 2015-05-16 07:12:22.000000000 +0200
+++ /var/tmp/diff_new_pack.JwlR3P/_new 2015-05-16 07:12:22.000000000 +0200
@@ -20,7 +20,7 @@
Summary: An OBS source service: running all the osc source-validator
checks
License: GPL-2.0+
Group: Development/Tools/Building
-Version: 0.5+git20150420.23830c1
+Version: 0.5+git20150513.7c2f7ae
Release: 0
# use osc service dr to update
Source: %{name}-%{version}.tar.bz2
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.JwlR3P/_old 2015-05-16 07:12:22.000000000 +0200
+++ /var/tmp/diff_new_pack.JwlR3P/_new 2015-05-16 07:12:22.000000000 +0200
@@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param
name="url">git://github.com/openSUSE/obs-service-source_validator.git</param>
- <param
name="changesrevision">23830c1e19fac4b2c0972b79cd61b5f0cac796c9</param></service></servicedata>
\ No newline at end of file
+ <param
name="changesrevision">7c2f7ae62322ff5293567d70bfa4904568296a11</param></service></servicedata>
\ No newline at end of file
++++++ obs-service-source_validator-0.5+git20150420.23830c1.tar.bz2 ->
obs-service-source_validator-0.5+git20150513.7c2f7ae.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/obs-service-source_validator-0.5+git20150420.23830c1/20-files-present-and-referenced
new/obs-service-source_validator-0.5+git20150513.7c2f7ae/20-files-present-and-referenced
---
old/obs-service-source_validator-0.5+git20150420.23830c1/20-files-present-and-referenced
2015-04-20 14:17:45.000000000 +0200
+++
new/obs-service-source_validator-0.5+git20150513.7c2f7ae/20-files-present-and-referenced
2015-05-13 10:54:32.000000000 +0200
@@ -178,7 +178,7 @@
if [ -x $(type -p xmllint) ]; then
# Check if _service is sane
if [ -f $DIR_TO_CHECK/_service ]; then
- xmllint --format $i > $TMPDIR/_service
+ xmllint --format $DIR_TO_CHECK/_service > $TMPDIR/_service
if egrep -q "service .*mode=." $TMPDIR/_service \
&& ! egrep -q "service .*mode=.(disabled|localrun)" \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/obs-service-source_validator-0.5+git20150420.23830c1/70-baselibs
new/obs-service-source_validator-0.5+git20150513.7c2f7ae/70-baselibs
--- old/obs-service-source_validator-0.5+git20150420.23830c1/70-baselibs
2015-04-20 14:17:45.000000000 +0200
+++ new/obs-service-source_validator-0.5+git20150513.7c2f7ae/70-baselibs
2015-05-13 10:47:14.000000000 +0200
@@ -16,8 +16,13 @@
# PASS if there is no baselibs.conf
[ -f $DIR_TO_CHECK/baselibs.conf ] || exit 0
+# PASS if we have trouble parsing the .spec file
+rpm -q --specfile $DIR_TO_CHECK/*.spec >/dev/null 2>&1 || exit 0
+
BUILTBINARIES=($(rpm -q --qf "%{name}\n" --specfile $DIR_TO_CHECK/*.spec))
-BASELIBSREF=$(grep "^\\S\+" $DIR_TO_CHECK/baselibs.conf)
+# add 'targettype' as a 'known keyword' to not trip over it
+BUILTBINARIES+=('targettype')
+BASELIBSREF=$(grep -o "^\\S\+" $DIR_TO_CHECK/baselibs.conf)
RETURN=0
for rpm in $BASELIBSREF; do