[opensuse-buildservice] Error on osc commit when .spec uses <CI_CNT>.<B_CNT>
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@suse.com -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Am Dienstag, 24. September 2013, 08:30:35 schrieb Kristoffer Grönlund:
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?
This is wanted by the openSUSE distribution people. It is an additional check which appears when you link sources from the official openSUSE projects to ensure that their policies are taken into account. osc is just executing it, but it is not osc itself. The reason behind that is to have release numbers in official disitributions which do work also for maintenance later on. So, if you want to submit this back do not use these tags. If you do not want to sent it back create a fresh copy, but no branch from openSUSE:* projects. bye adrian
$ 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:
-- Adrian Schroeter email: adrian@suse.de SUSE LINUX GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (2)
-
Adrian Schröter
-
Kristoffer Grönlund