How to rename downloaded source files using _services?

Hi,

How do I rename downloaded (using the download_url service) source files? I presently have this _service file:


<services>
  <service name="download_url">
    <param name="protocol">https</param>
    <param name="host">github.com</param>
    <param name="path">/vim/vim/archive/v8.0.0194.tar.gz</param>
  </service>
</services>

and I would like the tarball v8.0.0194.tar.gz to be renamed as vim_8.0.0194.orig.tar.gz. Is this possible?

Thanks for your time,
Brenton

you can give custom name via filename parameter: https://en.opensuse.org/openSUSE:Build_Service_private_instance_software_live_cycle#download_url