[clojure] 07/11: Rename the package to clojure

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu Dec 22 16:28:27 UTC 2016


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository clojure.

commit fde13986e3bbae2f2448a7f84429fce3ea0c9317
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Thu Dec 22 16:58:10 2016 +0100

    Rename the package to clojure
---
 debian/changelog                                 | 6 +++---
 debian/{clojure1.8.postinst => clojure.postinst} | 0
 debian/{clojure1.8.prerm => clojure.prerm}       | 0
 debian/control                                   | 8 ++++----
 debian/rules                                     | 3 ++-
 5 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index d1aa12e..0fe2309 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,10 +1,10 @@
-clojure1.8 (1.8.0-1) UNRELEASED; urgency=medium
+clojure (1.8.0-1) UNRELEASED; urgency=medium
 
   * Team upload.
   * New upstream release
-    - Rename the package to clojure1.8
+    - Renamed the package to clojure
     - Increased the priority of the alternatives
-  * Moved the library to its own libclojure1.8-java package
+  * Moved the library to its own libclojure-java package
   * No longer use the system ASM to avoid runtime conflicts
 
  -- Emmanuel Bourg <ebourg at apache.org>  Thu, 22 Dec 2016 15:38:43 +0100
diff --git a/debian/clojure1.8.postinst b/debian/clojure.postinst
similarity index 100%
rename from debian/clojure1.8.postinst
rename to debian/clojure.postinst
diff --git a/debian/clojure1.8.prerm b/debian/clojure.prerm
similarity index 100%
rename from debian/clojure1.8.prerm
rename to debian/clojure.prerm
diff --git a/debian/control b/debian/control
index 674f5bb..39c56d8 100644
--- a/debian/control
+++ b/debian/control
@@ -1,4 +1,4 @@
-Source: clojure1.8
+Source: clojure
 Section: devel
 Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
@@ -16,11 +16,11 @@ Vcs-Git: https://anonscm.debian.org/git/pkg-java/clojure.git
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/clojure.git
 Homepage: http://clojure.org
 
-Package: clojure1.8
+Package: clojure
 Architecture: all
 Depends:
  default-jre-headless | java6-runtime-headless,
- libclojure1.8-java,
+ libclojure-java,
  ${misc:Depends}
 Recommends: rlwrap
 Description: Lisp dialect for the JVM
@@ -41,7 +41,7 @@ Description: Lisp dialect for the JVM
  a software transactional memory system and reactive Agent system that
  ensure clean, correct, multithreaded designs.
 
-Package: libclojure1.8-java
+Package: libclojure-java
 Architecture: all
 Depends:
  libjsr166y-java,
diff --git a/debian/rules b/debian/rules
index 42ec417..ef39484 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,7 @@
 
 SOURCE = $(shell dpkg-parsechangelog | grep ^Source | sed "s/Source: //")
 VER = $(shell echo $(SOURCE) | sed s/^clojure//)
+VER = 1.8
 
 JAVA_HOME = /usr/lib/jvm/default-java
 
@@ -25,7 +26,7 @@ override_dh_install:
 	sed -i 's/@VER@/$(VER)/g' debian/$(SOURCE)/usr/bin/*
 	file-rename 's/$$/$(VER)/' debian/$(SOURCE)/usr/bin/*
 	mh_installpom -plib$(SOURCE)-java --no-parent pom.xml
-	mh_installjar -plib$(SOURCE)-java -l -s pom.xml clojure.jar /usr/share/java/clojure-$(VER).jar
+	mh_installjar -plib$(SOURCE)-java -l pom.xml clojure.jar /usr/share/java/clojure-$(VER).jar
 
 override_dh_installman:
 	dh_installman

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/clojure.git



More information about the pkg-java-commits mailing list