Re: Cannot convert .obscpio to .tar.xz with _service file

Originally Posted by
andythe_great
Question 1)
I am trying to build a font package.
I am using a _service file to download the source code.
https://build.opensuse.org/package/s...at/cadson-test
The _service file look like this
Which I refer from
https://openbuildservice.org/2016/04/08/new_git_in_27/
Code:
<services>
<service name="obs_scm">
<param name="url">git://github.com/cadsondemak/cadsondemak.github.io.git</param>
<param name="scm">git</param>
<param name="revision">master</param>
<param name="versionprefix">0.0.20191123+git</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>
But I can't get a .tar.xz out of it.
Question 2) How do I delete a file or folder from the source with _service file? Let's say for example, the author have some proprietary fonts mixed with opensource fonts. And I want to only remove proprietary fonts. Thanks.
Hi
Not sure, I use tar_scm....
For question two, don't...
Sources should be pristine else they won't pass source checks upstream as well as end user scrutiny etc, so just remove during the build then a user can see what your doing.
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!
Bookmarks