From 5488ac67c3ab1b91c8936fcdb421c966aa73bb6e Mon Sep 17 00:00:00 2001 From: Thomas Dudziak <tomdzk@gmail.com> Date: Wed, 19 Dec 2012 10:20:43 -0800 Subject: [PATCH] Tweaked debian packaging to be a bit more in line with debian standards --- repl-bin/pom.xml | 5 +++-- repl-bin/src/deb/control/control | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/repl-bin/pom.xml b/repl-bin/pom.xml index 72a946f3d7..0667b71cc7 100644 --- a/repl-bin/pom.xml +++ b/repl-bin/pom.xml @@ -15,7 +15,8 @@ <url>http://spark-project.org/</url> <properties> - <deb.install.path>/usr/share/spark</deb.install.path> + <deb.pkg.name>spark-${classifier}</deb.pkg.name> + <deb.install.path>/usr/share/spark-${classifier}</deb.install.path> <deb.user>root</deb.user> </properties> @@ -183,7 +184,7 @@ <goal>jdeb</goal> </goals> <configuration> - <deb>${project.build.directory}/${project.artifactId}-${classifier}_${project.version}-${buildNumber}_all.deb</deb> + <deb>${project.build.directory}/${deb.pkg.name}_${project.version}-${buildNumber}_all.deb</deb> <attach>false</attach> <compression>gzip</compression> <dataSet> diff --git a/repl-bin/src/deb/control/control b/repl-bin/src/deb/control/control index afadb3fbfe..a6b4471d48 100644 --- a/repl-bin/src/deb/control/control +++ b/repl-bin/src/deb/control/control @@ -1,8 +1,8 @@ -Package: [[artifactId]] +Package: [[deb.pkg.name]] Version: [[version]]-[[buildNumber]] Section: misc Priority: extra Architecture: all Maintainer: Matei Zaharia <matei.zaharia@gmail.com> -Description: spark repl +Description: [[name]] Distribution: development -- GitLab