<services>
  <service name="obs_scm">
    <param name="url">https://github.com/hauler-dev/hauler.git</param>
    <param name="versionformat">@PARENT_TAG@</param>
    <param name="scm">git</param>
    <param name="exclude">.get</param>
    <param name="revision">v1.2.1</param>
    <param name="versionrewrite-pattern">v(.*)</param>
    <param name="changesgenerate">enable</param>
  </service>
  <service mode="buildtime" name="tar">
    <param name="obsinfo">hauler.obsinfo</param>
  </service>
  <service mode="buildtime" name="set_version" />
  <service name="go_modules">
     <param name="compression">gz</param>
  </service>
  <service mode="buildtime" name="replace_using_env">
    <param name="file">hauler.spec</param>
    <param name="var">SOURCE_COMMIT</param>
    <param name="eval">
      SOURCE_COMMIT=$(grep commit hauler.obsinfo | cut -d" " -f2)
    </param>
    <param name="verbose">1</param>
  </service>
  <service mode="buildtime" name="set_version" />
</services>
