Mailinglist Archive: opensuse-buildservice (148 mails)

< Previous Next >
[opensuse-buildservice] Error on osc commit when .spec uses <CI_CNT>.<B_CNT>
  • From: Kristoffer Grönlund <kgronlund@xxxxxxxx>
  • Date: Tue, 24 Sep 2013 08:30:35 +0200
  • Message-id: <20130924083035.283ccc13@ultralix>
Hi,

I have a problem using osc with the OBS, and I haven't managed to figure
out what is going on. I'm trying to commit an update to this package:

https://build.opensuse.org/package/show/network:ha-clustering:Factory/crmsh

I've branched it to my home project, made the change, updated the
changelog and I then run osc commit. However, the source_validator
script fails on the Release: line of the .spec file. If I run osc
commit --noservice, it will commit and build successfully on the OBS
itself.

I haven't found any reference to anyone else having this issue, so is
it something that is broken on my system?

$ osc diff
Index: crmsh.spec
===================================================================
--- crmsh.spec (revision 1b18e4817954ed02363dca88657e8621)
+++ crmsh.spec (working copy)
@@ -56,6 +56,7 @@
Requires: python-dateutil
Requires: python-lxml
BuildRequires: python-lxml
+BuildRequires: fdupes

%if 0%{?suse_version}
# Suse splits this off into a separate package
@@ -133,6 +134,7 @@
%endif

make %{_smp_mflags} docdir=%{crmsh_docdir}
+%fdupes -s %{buildroot}

%install
rm -rf %{buildroot}
$ osc vc
$ osc commit
Log template was not changed
a)bort, c)ontinue, e)dit: c
error: line 33: Illegal char '<' in: Release: 0.rc3.<CI_CNT>.<B_CNT>
Aborting: service call failed: /usr/lib/obs/service/source_validator --outdir
/tmp/tmp8PAm2G
*** Error:

--
// Kristoffer Grönlund
// kgronlund@xxxxxxxx
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups