summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorGeorg Kunz <georg.kunz@ericsson.com>2017-02-20 16:26:44 +0100
committerGeorg Kunz <georg.kunz@ericsson.com>2017-02-24 15:10:49 +0100
commita1c9d2ee18a543c0c2e3f3641ac7ff05f480bdb1 (patch)
tree82dcf410fd1193d9fa8c0deda06c0c463da079ac /build
parentd8850af7f8cec2418dc279fcdd6dbf98990cfc08 (diff)
Adding missing licence headers to files
Change-Id: I9eedd2f3e21305a27fe09a116dec9d8dbcc6df5e Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
Diffstat (limited to 'build')
-rw-r--r--build/Makefile11
-rw-r--r--build/rpm_specs/gluon.spec9
2 files changed, 19 insertions, 1 deletions
diff --git a/build/Makefile b/build/Makefile
index 46e576f..01db0c1 100644
--- a/build/Makefile
+++ b/build/Makefile
@@ -1,7 +1,16 @@
+#
+# Copyright (c) 2016 Ericsson and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
OPNFV_RELEASE=$(shell echo $(shell date -u +"%Y%m%d"))
GLUON_REPO=https://github.com/openstack/gluon.git
GLUON_BRANCH=master
-GLUON_VER=$(shell grep Version $(shell pwd)/rpm_specs/gluon.spec | head -n 1 | awk '{ print $$2 }')
+GLUON_VER=$(shell grep '^Version:' $(shell pwd)/rpm_specs/gluon.spec | head -n 1 | awk '{ print $$2 }')
GLUON_REL=$(shell grep 'define release' $(shell pwd)/rpm_specs/gluon.spec | head -n 1 | awk '{ print $$3 }')_$(OPNFV_RELEASE)
GLUON_TAR=gluon.tar.gz
GLUON_RPM=noarch/gluon-$(GLUON_VER)-$(GLUON_REL).noarch.rpm
diff --git a/build/rpm_specs/gluon.spec b/build/rpm_specs/gluon.spec
index 6e39ab4..cbc14ba 100644
--- a/build/rpm_specs/gluon.spec
+++ b/build/rpm_specs/gluon.spec
@@ -1,3 +1,12 @@
+#
+# Copyright (c) 2016 Ericsson and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
%define release 1
%define _sharedstatedir /var/lib
%define build_timestamp %(date +"%Y%m%d")