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

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

commit 770bd0c2ad8e27c6f419b46c105e81b4fb87954b
Author: Niels Thykier <[email protected]>
Date:   Mon Apr 5 10:29:07 2010 +0000

    Bumped debhelper compat to 7 and updated the faq update rules.
    Removed obsolete publish rule.
    Made the build fetch the version from the changelog rather than
    the build dir.
---
 Makefile         | 10 +++-------
 debian/changelog |  6 ++++++
 debian/compat    |  2 +-
 debian/control   |  2 +-
 debian/rules     | 22 +++++++++++-----------
 5 files changed, 22 insertions(+), 20 deletions(-)

diff --git a/Makefile b/Makefile
index 8acb798..515a599 100644
--- a/Makefile
+++ b/Makefile
@@ -18,9 +18,6 @@ LC_CTYPE=C
 
 all: debian-java-policy debian-java-faq-gen
 
-publish: policy.html
-       scp debian-java-policy/*.html 
[email protected]:/org/www.debian.org/www/doc/packaging-manuals/java-policy
-
 # Policy part
 MAKEOUT=policy.txt policy.ps
 OUTPUTS=$(MAKEOUT) policy.xml
@@ -88,8 +85,7 @@ debian-java-faq-gen: debian-java-faq
 debian-java-faq-install: debian-java-faq debian-java-faq-gen
        (cd $<; make publish PUBLISHDIR=$(PUBLISHDIR))
 
-debian-java-faq:
-       (cvs -d :pserver:[email protected]:/cvs/debian-doc -z3 checkout 
-d debian-java-faq ddp/manuals.sgml/java-faq)
-
 debian-java-faq-update: debian-java-faq
-       (cd $<; cvs -z3 update -d)
+       svn export svn://svn.debian.org/svn/ddp/manuals/trunk/java-faq/ 
faq-update/
+       cp faq-update/* $</
+       rm -fr faq-update/
diff --git a/debian/changelog b/debian/changelog
index adf3417..c2e18c4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,12 @@ java-common (0.35) UNRELEASED; urgency=low
     - Java libraries are no longer required to depend on a JVM
     (Closes: #227587)
   * Updated to java-faq to match the online version.
+  * Bumped debhelper compat to 7.
+  * Use the version from the changelog rather than the dir to determine
+    the debian "revision" of the default-* packages. It is more robust.
+  * Removed old publish rule - the policy is updated automatically after
+    upload now.
+  * Updated the rules to update the java faq.
 
  -- Niels Thykier <[email protected]>  Fri, 26 Mar 2010 21:44:45 +0100
 
diff --git a/debian/compat b/debian/compat
index 7ed6ff8..7f8f011 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-5
+7
diff --git a/debian/control b/debian/control
index 21b1619..08f9787 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: optional
 Maintainer: Debian Java Mailing List <[email protected]>
 Uploaders: Stefan Gybas <[email protected]>, Arnaud Vandyck 
<[email protected]>, Michael Koch <[email protected]>, Matthias Klose 
<[email protected]>, Torsten Werner <[email protected]>,
  Niels Thykier <[email protected]>
-Build-Depends: debhelper (>= 5)
+Build-Depends: debhelper (>= 7)
 Build-Depends-Indep: debiandoc-sgml, docbook-utils, docbook-xml, dpsyco-devel, 
lynx
 Standards-Version: 3.8.2
 Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/java-common
diff --git a/debian/rules b/debian/rules
index aa4e208..83941d9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,7 +10,7 @@
 S = $(EMPTY) $(EMPTY)
 mk_cslist = $(subst $(S),$(,)$(S),$(foreach v,$(1),$(v)-$(2)))
 vafilt = $(subst $(2)=,,$(filter $(2)=%,$(1)))
-jrel = $(subst java-common-0.,,$(notdir $(CURDIR)))
+jrel = $(shell dpkg-parsechangelog | grep Version | sed "s/Version: 0.//")
 
 DPKG_VARS := $(shell dpkg-architecture)
 DEB_HOST_ARCH ?= $(call vafilt,$(DPKG_VARS),DEB_HOST_ARCH)
@@ -62,7 +62,7 @@ install-indep: install-stamp
 install-stamp: build-stamp
        dh_testdir
        dh_testroot
-       dh_clean -k -i
+       dh_prep -i
        dh_installdirs -i
 
        dh_installdocs -i
@@ -75,13 +75,13 @@ install-stamp: build-stamp
 install-arch:
        dh_testdir
        dh_testroot
-       dh_clean -k -s
+       dh_prep -a
 
 
 binary-arch: install-arch
 ifneq (,$(p_jre))
-       dh_testdir -s
-       dh_testroot -s
+       dh_testdir -a
+       dh_testroot -a
        dh_install -a
        dh_installdocs -pdefault-jre-headless
        dh_installchangelogs -pdefault-jre-headless
@@ -93,10 +93,10 @@ ifneq (,$(p_jre))
          ln -sf $$t debian/$$p/usr/share/doc/$$p; \
          t=$$p; \
        done
-       dh_compress -s
-       dh_fixperms -s
-       dh_installdeb -s
-       dh_gencontrol -s -- \
+       dh_compress -a
+       dh_fixperms -a
+       dh_installdeb -a
+       dh_gencontrol -a -- \
                -v$(dversion) \
                '-Vjre=$(p_jre)' \
                '-Vjhl=$(p_jhl)' \
@@ -109,8 +109,8 @@ ifneq (,$(p_jre))
                '-Vjhl:provides=$(jhl_provides)' \
                '-Vjdk:provides=$(jdk_provides)' \
 
-       dh_md5sums -s
-       dh_builddeb -s
+       dh_md5sums -a
+       dh_builddeb -a
 endif
 
 # Build architecture-independent files here.

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

_______________________________________________
pkg-java-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

Reply via email to