Amend services so package can be accepted into Factory. In order for packages to be accepted into Factory: > Services are only allowed if their mode is one of localonly, disabled, > buildtime, manual. Please change the mode of obs_scm and use `osc service > localrun/disabledrun`. Therefore all services involved with retrieving source files from the internet have had their mode set to `localonly`, and the relevant source files have been added directly to this package. OBS-URL: https://build.opensuse.org/request/show/1086820 OBS-URL: https://build.opensuse.org/package/show/hardware/gasket-driver?expand=0&rev=4
27 lines
1.1 KiB
Plaintext
27 lines
1.1 KiB
Plaintext
<!--
|
|
For documentation on the contents of this file see:
|
|
https://github.com/openSUSE/obs-service-tar_scm#user-documentation
|
|
https://openbuildservice.org/help/manuals/obs-user-guide/cha.obs.source_service.html
|
|
https://openbuildservice.org/help/manuals/obs-user-guide/cha.obs.best-practices.scm_integration.html
|
|
https://en.opensuse.org/openSUSE:Build_Service_Concept_SourceService
|
|
-->
|
|
<services>
|
|
<!-- Download the module source from GitHub. -->
|
|
<service name="obs_scm" mode="localonly">
|
|
<param name="url">https://github.com/google/gasket-driver</param>
|
|
<param name="scm">git</param>
|
|
<param name="exclude">.git</param>
|
|
<param name="revision">97aeba5</param>
|
|
<param name="versionformat">%h</param>
|
|
</service>
|
|
<!-- Compress source files into a tarball. -->
|
|
<service name="tar" mode="buildtime"/>
|
|
<service name="recompress" mode="buildtime">
|
|
<param name="file">*.tar</param>
|
|
<param name="compression">xz</param>
|
|
</service>
|
|
<!-- Download all source and patch files that are specified in the spec file via url. -->
|
|
<service name="download_files" mode="localonly"/>
|
|
</services>
|
|
|