Update package build
[arvados-workbench2.git] / Makefile
index 4252ca0ef8dcbf13780dc45d1a4e8af8304ce189..d90d8e81bad622a86a9bc3e61b8652c5c95960e2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -42,7 +42,7 @@ RPM_FILE=$(APP_NAME)-$(VERSION)-$(ITERATION).x86_64.rpm
 
 export WORKSPACE?=$(shell pwd)
 
-.PHONY: help clean* yarn-install test build packages packages-with-version 
+.PHONY: help clean* yarn-install test build packages packages-with-version
 
 help:
        @echo >&2
@@ -70,7 +70,7 @@ yarn-install:
        yarn install
 
 test: yarn-install
-       yarn test --watchAll --bail --ci
+       yarn test --no-watchAll --bail --ci
 
 build: test
        yarn build
@@ -82,7 +82,10 @@ $(DEB_FILE): build
         -n "$(APP_NAME)" \
         -v "$(VERSION)" \
         --iteration "$(ITERATION)" \
+        --vendor="The Arvados Authors" \
         --maintainer="$(MAINTAINER)" \
+        --url="https://arvados.org" \
+        --license="GNU Affero General Public License, version 3.0" \
         --description="$(DESCRIPTION)" \
         --config-files="etc/arvados/workbench2/workbench2.example.json" \
        $(WORKSPACE)/build/=$(DEST_DIR)
@@ -94,13 +97,17 @@ $(RPM_FILE): build
         -n "$(APP_NAME)" \
         -v "$(VERSION)" \
         --iteration "$(ITERATION)" \
+        --vendor="The Arvados Authors" \
         --maintainer="$(MAINTAINER)" \
+        --url="https://arvados.org" \
+        --license="GNU Affero General Public License, version 3.0" \
         --description="$(DESCRIPTION)" \
         --config-files="etc/arvados/workbench2/workbench2.example.json" \
         $(WORKSPACE)/build/=$(DEST_DIR)
 
 copy: $(DEB_FILE) $(RPM_FILE)
-       for target in $(TARGETS); do \
+       mkdir packages
+       for target in $^ ; do \
                if [[ $$target =~ ^centos ]]; then
                        cp -p $(RPM_FILE) packages/$$target ; \
                else