-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1e96bbe
commit 4c7130b
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<services> | ||
<!-- git clone and extract the sources from github --> | ||
<service name="obs_scm"> | ||
<param name="url">https://github.com/SergioAtSUSE/auto-restart-libvirtd.git</param> | ||
<param name="scm">git</param> | ||
<!-- This is the github branch to checkout --> | ||
<param name="revision">development</param> | ||
<!-- This is the prefix version for the packages filename --> | ||
<param name="versionprefix">0.0.0</param> | ||
<!-- Append the date and commit hash to the version --> | ||
<param name="versionformat">%cd.%h</param> | ||
<!-- Copy files needed before build into working directory --> | ||
<param name="extract">auto-restart-libvirtd.spec</param> | ||
<param name="extract">0001-patch_for_rpm.patch</param> | ||
</service> | ||
<!-- Archive extracted sources again --> | ||
<service mode="buildtime" name="tar" /> | ||
<!-- Compress archive again as xz --> | ||
<service mode="buildtime" name="recompress"> | ||
<param name="file">*.tar</param> | ||
<param name="compression">xz</param> | ||
</service> | ||
<!-- Overwrite version field in specfile when building --> | ||
<service mode="buildtime" name="set_version" /> | ||
</services> |