Skip to content

Commit

Permalink
Merge pull request #127 from stefanotorresi/obs-review-2
Browse files Browse the repository at this point in the history
use a full source url in the spec file as requested in OBS reviews
  • Loading branch information
stefanotorresi authored Feb 11, 2020
2 parents 1bc7c44 + 79b38d8 commit 6952099
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ build/obs:
git archive --format=tar HEAD | tar -x -C build/obs/$(OBS_PACKAGE)
cd build/obs/$(OBS_PACKAGE); go mod vendor
rm build/obs/*.tar.gz
tar -cvzf build/obs/$(OBS_PACKAGE)-$(VERSION).tar.gz -C build/obs/$(OBS_PACKAGE) .
tar -cvzf build/obs/$(VERSION).tar.gz -C build/obs/$(OBS_PACKAGE) .
.ci/gh_release_to_obs_changeset.py $(REPOSITORY) -a $(AUTHOR) -t $(VERSION) -f build/obs/$(OBS_PACKAGE).changes || true

obs-commit: obs-workdir
Expand Down
3 changes: 2 additions & 1 deletion ha_cluster_exporter.spec
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ License: Apache-2.0
Summary: Prometheus exporter for Pacemaker HA clusters metrics
Group: System/Monitoring
Url: https://github.com/ClusterLabs/ha_cluster_exporter
Source: %{name}-%{version}.tar.gz
# The GitHub tarball will not actually be used. We provide a local archive with the vendored dependencies inside.
Source: https://github.com/ClusterLabs/%{name}/archive/%{version}.tar.gz
ExclusiveArch: aarch64 x86_64 ppc64le s390x
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: go >= 1.11
Expand Down

0 comments on commit 6952099

Please sign in to comment.