[asm] 01/11: Renamed the package back to libasm-java

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Mon Mar 21 22:47:12 UTC 2016


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

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

commit 63b425cd8a99bacb20a52b304ba4a7a53521337b
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Mon Mar 21 16:20:17 2016 +0100

    Renamed the package back to libasm-java
---
 debian/changelog                                             |  3 ++-
 debian/control                                               | 12 ++++++------
 debian/libasm-java-doc.dirs                                  |  1 +
 .../{libasm4-java-doc.doc-base => libasm-java-doc.doc-base}  |  6 +++---
 debian/{libasm4-java.docs => libasm-java.docs}               |  0
 debian/{libasm4-java.poms => libasm-java.poms}               |  0
 debian/libasm4-java-doc.dirs                                 |  1 -
 debian/libasm4-java.dirs                                     |  1 -
 debian/maven.rules                                           |  2 +-
 debian/orig-tar.sh                                           |  5 +++--
 debian/rules                                                 |  8 ++++----
 11 files changed, 20 insertions(+), 19 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 87950f1..6bb01e4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
-libasm4-java (5.0.4-2) UNRELEASED; urgency=medium
+asm (5.0.4-2) UNRELEASED; urgency=medium
 
   * Team upload.
+  * Renamed the package back to libasm-java
   * Removed the unused build dependency on libow-util-ant-tasks-java
   * Standards-Version updated to 3.9.7 (no changes)
 
diff --git a/debian/control b/debian/control
index dce640a..ff49d0e 100644
--- a/debian/control
+++ b/debian/control
@@ -1,4 +1,4 @@
-Source: libasm4-java
+Source: asm
 Section: java
 Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
@@ -12,11 +12,11 @@ Build-Depends-Indep: ant (>= 1.6.5),
                      javahelper,
                      maven-repo-helper
 Standards-Version: 3.9.7
-Vcs-Git: git://anonscm.debian.org/pkg-java/libasm4-java.git
-Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-java/libasm4-java.git
+Vcs-Git: https://anonscm.debian.org/git/pkg-java/asm.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/asm.git
 Homepage: http://asm.objectweb.org
 
-Package: libasm4-java
+Package: libasm-java
 Architecture: all
 Depends: ${misc:Depends}
 Description: Java bytecode manipulation framework
@@ -31,11 +31,11 @@ Description: Java bytecode manipulation framework
  SERP). ASM was designed to be used in a dynamic and static way and was
  therefore designed and implemented to be as small and as fast as possible.
 
-Package: libasm4-java-doc
+Package: libasm-java-doc
 Architecture: all
 Section: doc
 Depends: ${misc:Depends}
-Suggests: libasm4-java
+Suggests: libasm-java
 Description: Documentation for ASM, the Java(TM) bytecode manipulation framework
  It can be used to dynamically generate stub classes or other proxy classes,
  directly in binary form, or to dynamically modify classes at load time, i.e.,
diff --git a/debian/libasm-java-doc.dirs b/debian/libasm-java-doc.dirs
new file mode 100644
index 0000000..6ac4be2
--- /dev/null
+++ b/debian/libasm-java-doc.dirs
@@ -0,0 +1 @@
+usr/share/doc/libasm-java-doc
diff --git a/debian/libasm4-java-doc.doc-base b/debian/libasm-java-doc.doc-base
similarity index 64%
rename from debian/libasm4-java-doc.doc-base
rename to debian/libasm-java-doc.doc-base
index fd24b53..671fa7c 100644
--- a/debian/libasm4-java-doc.doc-base
+++ b/debian/libasm-java-doc.doc-base
@@ -1,4 +1,4 @@
-Document: libasm4-java-doc
+Document: libasm-java-doc
 Title: API Javadoc for ObjectWeb ASM Bytecode Manipulation Framework
 Author: ObjectWeb ASM Project Team
 Abstract: This is the API Javadoc provided by the Objectweb
@@ -6,5 +6,5 @@ Abstract: This is the API Javadoc provided by the Objectweb
 Section: Programming
 
 Format: HTML
-Index: /usr/share/doc/libasm4-java-doc/api/index.html
-Files: /usr/share/doc/libasm4-java-doc/api/*.html
+Index: /usr/share/doc/libasm-java-doc/api/index.html
+Files: /usr/share/doc/libasm-java-doc/api/*.html
diff --git a/debian/libasm4-java.docs b/debian/libasm-java.docs
similarity index 100%
rename from debian/libasm4-java.docs
rename to debian/libasm-java.docs
diff --git a/debian/libasm4-java.poms b/debian/libasm-java.poms
similarity index 100%
rename from debian/libasm4-java.poms
rename to debian/libasm-java.poms
diff --git a/debian/libasm4-java-doc.dirs b/debian/libasm4-java-doc.dirs
deleted file mode 100644
index 0c50504..0000000
--- a/debian/libasm4-java-doc.dirs
+++ /dev/null
@@ -1 +0,0 @@
-usr/share/doc/libasm4-java-doc
diff --git a/debian/libasm4-java.dirs b/debian/libasm4-java.dirs
deleted file mode 100644
index 13c9f03..0000000
--- a/debian/libasm4-java.dirs
+++ /dev/null
@@ -1 +0,0 @@
-usr/share/java
diff --git a/debian/maven.rules b/debian/maven.rules
index da9e4be..5d705f9 100644
--- a/debian/maven.rules
+++ b/debian/maven.rules
@@ -1 +1 @@
-org.ow2.asm * * s/.*/4.x/
+org.ow2.asm * * s/.*/debian/
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
index 769d3cc..1b27caa 100755
--- a/debian/orig-tar.sh
+++ b/debian/orig-tar.sh
@@ -2,9 +2,10 @@
 
 set -eu
 
+PACKAGE=$(dpkg-parsechangelog -S Source)
 VERSION=$2
-TAR=../libasm4-java_$VERSION.orig.tar.xz
-DIR=asm-$VERSION
+DIR=${PACKAGE}-${VERSION}
+TAR=../${PACKAGE}_${VERSION}.orig.tar.xz
 TAG=$(echo "ASM_$VERSION" | sed -re's,\.,_,g')
 
 rm $3
diff --git a/debian/rules b/debian/rules
index 65c1f63..e252266 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,7 +3,7 @@
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/ant.mk
 
-PACKAGE              := $(DEB_SOURCE_PACKAGE)
+PACKAGE              := libasm-java
 VERSION              := $(DEB_UPSTREAM_VERSION)
 JAVA_HOME            := /usr/lib/jvm/default-java
 DEB_JARS             := ant ant-junit junit xalan2 $(JAVA_HOME)/lib/tools.jar
@@ -16,14 +16,14 @@ get-orig-source:
 
 binary-post-install/$(PACKAGE):: 
 	mh_installpoms -p$(PACKAGE) -e$(VERSION)
-	mh_installjar -p$(PACKAGE) -l --usj-name=asm4 -e$(VERSION) \
+	mh_installjar -p$(PACKAGE) -l --usj-name=asm -e$(VERSION) \
 		output/dist/lib/asm-$(VERSION).pom output/dist/lib/asm-$(VERSION).jar
 	for j in analysis commons tree util xml; do \
-		mh_installjar -p$(PACKAGE) -l --usj-name=asm4-$$j -e$(VERSION) \
+		mh_installjar -p$(PACKAGE) -l --usj-name=asm-$$j -e$(VERSION) \
 			output/dist/lib/asm-$$j-$(VERSION).pom output/dist/lib/asm-$$j-$(VERSION).jar; \
 	done ;
 	for j in debug-all all; do \
-		mh_installjar -p$(PACKAGE) -l --usj-name=asm4-$$j -e$(VERSION) \
+		mh_installjar -p$(PACKAGE) -l --usj-name=asm-$$j -e$(VERSION) \
 			output/dist/lib/all/asm-$$j-$(VERSION).pom output/dist/lib/all/asm-$$j-$(VERSION).jar; \
 	done ;
 

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



More information about the pkg-java-commits mailing list