Commit 873d9298 authored by Kamil Trzciński's avatar Kamil Trzciński

Add --provides and --replaces to package builder

parent b0ca9188
...@@ -105,6 +105,12 @@ package-deb-fpm: ...@@ -105,6 +105,12 @@ package-deb-fpm:
--license "MIT" \ --license "MIT" \
--vendor "ayufan.eu" \ --vendor "ayufan.eu" \
--conflicts $(PACKAGE_CONFLICT) \ --conflicts $(PACKAGE_CONFLICT) \
--provides gitlab-runner \
--replaces gitlab-runner \
--depends adduser \
--depends ca-certificates \
--depends git \
--deb-suggests docker \
-a $(PACKAGE_ARCH) \ -a $(PACKAGE_ARCH) \
packaging/root/=/ \ packaging/root/=/ \
out/binaries/$(NAME)-linux-$(ARCH)=/usr/bin/gitlab-ci-multi-runner out/binaries/$(NAME)-linux-$(ARCH)=/usr/bin/gitlab-ci-multi-runner
...@@ -123,6 +129,8 @@ package-rpm-fpm: ...@@ -123,6 +129,8 @@ package-rpm-fpm:
--license "MIT" \ --license "MIT" \
--vendor "ayufan.eu" \ --vendor "ayufan.eu" \
--conflicts $(PACKAGE_CONFLICT) \ --conflicts $(PACKAGE_CONFLICT) \
--provides gitlab-runner \
--replaces gitlab-runner \
-a $(PACKAGE_ARCH) \ -a $(PACKAGE_ARCH) \
packaging/root/=/ \ packaging/root/=/ \
out/binaries/$(NAME)-linux-$(ARCH)=/usr/bin/gitlab-ci-multi-runner out/binaries/$(NAME)-linux-$(ARCH)=/usr/bin/gitlab-ci-multi-runner
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment