Browse code

Replace FPM --vendor with --license, and give it the proper value of "Apache-2.0"

Fixes #3372

Tianon Gravi authored on 2013/12/28 22:35:00
Showing 1 changed files
... ...
@@ -17,6 +17,7 @@ repeatability across servers.
17 17
 Docker is a great building block for automating distributed systems:
18 18
 large-scale web deployments, database clusters, continuous deployment systems,
19 19
 private PaaS, service-oriented architectures, etc."
20
+PACKAGE_LICENSE="Apache-2.0"
20 21
 
21 22
 # Build docker as an ubuntu package using FPM and REPREPRO (sue me).
22 23
 # bundle_binary must be called first.
... ...
@@ -104,7 +105,7 @@ EOF
104 104
 		    --replaces lxc-docker \
105 105
 		    --replaces lxc-docker-virtual-package \
106 106
 		    --url "$PACKAGE_URL" \
107
-		    --vendor "$PACKAGE_VENDOR" \
107
+		    --license "$PACKAGE_LICENSE" \
108 108
 		    --config-files /etc/init/docker.conf \
109 109
 		    --config-files /etc/init.d/docker \
110 110
 		    --config-files /etc/default/docker \
... ...
@@ -118,7 +119,7 @@ EOF
118 118
 		    --description "$PACKAGE_DESCRIPTION" \
119 119
 		    --maintainer "$PACKAGE_MAINTAINER" \
120 120
 		    --url "$PACKAGE_URL" \
121
-		    --vendor "$PACKAGE_VENDOR" \
121
+		    --license "$PACKAGE_LICENSE" \
122 122
 		    --config-files /etc/init/docker.conf \
123 123
 		    --config-files /etc/init.d/docker \
124 124
 		    --config-files /etc/default/docker \