Accepting request 1073776 from home:ojkastl_buildservice:Branch_server_monitoring

rework spec file to use obscpio

OBS-URL: https://build.opensuse.org/request/show/1073776
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/golang-github-prometheus-promu?expand=0&rev=28
This commit is contained in:
Stefano Torresi 2023-05-03 11:26:46 +00:00 committed by Git OBS Bridge
parent e5ff7d8fe0
commit 60e9b32f9d
5 changed files with 17 additions and 6 deletions

View File

@ -1,5 +1,5 @@
<services>
<service name="tar_scm" mode="disabled">
<service name="obs_scm" mode="disabled">
<param name="url">https://github.com/prometheus/promu.git</param>
<param name="scm">git</param>
<param name="exclude">.git</param>
@ -8,7 +8,8 @@
<param name="versionrewrite-pattern">v(.*)</param>
<param name="changesgenerate">enable</param>
</service>
<service name="recompress" mode="disabled">
<service name="tar" mode="buildtime"/>
<service name="recompress" mode="buildtime">
<param name="file">*.tar</param>
<param name="compression">gz</param>
</service>
@ -16,6 +17,6 @@
<param name="basename">promu</param>
</service>
<service name="go_modules" mode="disabled">
<param name="archive">promu-0.14.0.tar.gz</param>
<param name="archive">promu-0.14.0.obscpio</param>
</service>
</services>

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Mar 22 10:28:44 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
- rework spec file to use obscpio
- run tar and recompresss services at buildtime
-------------------------------------------------------------------
Tue Jan 10 16:18:52 UTC 2023 - kastl@b1-systems.de

3
promu-0.14.0.obscpio Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1d0f2cc4b075cb4ce9799ed0000c679142107978fe4e9d6c5354827bb66476b7
size 167435

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e98bfe046101b2b1f2faf2e641f20bbadf5d4eb0780c2d637b56fc5472202fa7
size 47594

4
promu.obsinfo Normal file
View File

@ -0,0 +1,4 @@
name: promu
version: 0.14.0
mtime: 1670608623
commit: a880d9756ae466605040585bc3b15005b55cc9f6