File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ build/obs:
7171 git archive --format=tar HEAD | tar -x -C build/obs/$(OBS_PACKAGE )
7272 cd build/obs/$(OBS_PACKAGE ) ; go mod vendor
7373 rm build/obs/* .tar.gz
74- tar -cvzf build/obs/$(OBS_PACKAGE ) - $( VERSION ) .tar.gz -C build/obs/$(OBS_PACKAGE ) .
74+ tar -cvzf build/obs/$(VERSION ) .tar.gz -C build/obs/$(OBS_PACKAGE ) .
7575 .ci/gh_release_to_obs_changeset.py $(REPOSITORY ) -a $(AUTHOR ) -t $(VERSION ) -f build/obs/$(OBS_PACKAGE ) .changes || true
7676
7777obs-commit : obs-workdir
Original file line number Diff line number Diff line change @@ -22,7 +22,8 @@ License: Apache-2.0
2222Summary: Prometheus exporter for Pacemaker HA clusters metrics
2323Group: System/Monitoring
2424Url: https://github.com/ClusterLabs/ha_cluster_exporter
25- Source: %{name }-%{version }.tar.gz
25+ # The GitHub tarball will not actually be used. We provide a local archive with the vendored dependencies inside.
26+ Source: https://github.com/ClusterLabs/%{name }/archive/%{version }.tar.gz
2627ExclusiveArch: aarch64 x86_64 ppc64le s390x
2728BuildRoot: %{_tmppath }/%{name }-%{version }-build
2829BuildRequires: go >= 1.11
You can’t perform that action at this time.
0 commit comments