Re: How to use _service file to remove .obscpio and leave only .tar.gz ?

Originally Posted by
andythe_great
Thanks for reply.
Is it ok to use _service for package version that is not master? Can it be use for a package version point release?
Hi
AFAIK, yes (eg develop etc) but might as well just use the version and tarball as provided...?
In my examples I have this one....
Code:
services>
<service name="obs_scm">
<param name="url">https://github.com/strukturag/libheif.git</param>
<param name="scm">git</param>
<param name="versionrewrite-pattern">v(.*)</param>
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
<param name="changesgenerate">enable</param>
<param name="changesauthor">email@example.com</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="buildtime" name="set_version" />
</services>
Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below... Thanks!