Skip to content

Commit

Permalink
Merge pull request #764 from mackerelio/remove-old-rpm-packaging
Browse files Browse the repository at this point in the history
Remove old rpm packaging
  • Loading branch information
yseto authored Aug 16, 2023
2 parents d59cfee + 2ffd27b commit 49f7384
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 611 deletions.
9 changes: 1 addition & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,7 @@ depends_on:
@:

.PHONY: rpm
rpm: rpm-v1 rpm-v2

.PHONY: rpm-v1
rpm-v1:
make build GOOS=linux GOARCH=386
rpmbuild --define "_sourcedir `pwd`" --define "_version ${VERSION}" --define "buildarch noarch" --target noarch -bb packaging/rpm/mackerel-check-plugins.spec
make build GOOS=linux GOARCH=amd64
rpmbuild --define "_sourcedir `pwd`" --define "_version ${VERSION}" --define "buildarch x86_64" --target x86_64 -bb packaging/rpm/mackerel-check-plugins.spec
rpm: rpm-v2

.PHONY: rpm-v2
rpm-v2: rpm-v2-x86 rpm-v2-arm
Expand Down
Loading

0 comments on commit 49f7384

Please sign in to comment.