_service: Can I set multiple version for multiple sources?

Hello,

I want to always update avogadro to the latest version with _service file.
I need both avogadrolibs and avogenerators and they both have different version.
I have my _service file like this.
The set_version only set version to Version: in spec file only.
I want to set version to other variable as well.

Is that possible?
Thanks.

<services>
  <service mode="localonly" name="obs_scm">
    <param name="url">git://github.com/OpenChemistry/avogadrolibs.git</param>
    <param name="scm">git</param>
    <param name="submodules">enable</param>
    <param name="revision">master</param>
    <param name="versionformat">@PARENT_TAG@+git%ct.%h</param>
  </service>
  <service mode="localonly" name="obs_scm">
    <param name="url">git://github.com/OpenChemistry/avogenerators.git</param>
    <param name="scm">git</param>
    <param name="submodules">enable</param>
    <param name="revision">master</param>
    <param name="versionformat">0.0+git%ct.%h</param>
  </service>
  <service mode="buildtime" name="tar" />
  <service mode="buildtime" name="recompress">
    <param name="file">*.tar</param>
    <param name="compression">xz</param>
  </service>
  <service mode="localonly" name="set_version">
  </service>
</services>

I found a _service from https://build.opensuse.org/package/view_file/openSUSE:Tools/obs-service-set_version/_service?expand=1
But I don’t know what <param name=“basename”>obs-service-set_version</param> meant.

<services>
  <service mode="disabled" name="tar_scm">
    <param name="url">https://github.com/openSUSE/obs-service-set_version.git</param>
    <param name="scm">git</param>
    <param name="exclude">.git</param>
    <param name="version">git-master</param>
    <param name="versionformat">@PARENT_TAG@</param>
    <param name="revision">master</param>
    <param name="changesgenerate">enable</param>
  </service>

  <service mode="disabled" name="recompress">
    <param name="file">*.tar</param>
    <param name="compression">gz</param>
  </service>

  <service mode="disabled" name="set_version">
    <param name="basename">obs-service-set_version</param>
  </service>
</services>

This seems to be beyond set_version capabilities.
Close thread.