[SCM] Packaging of HTML::FromText in Debian branch, master, updated. 44a3dd68e60a6d15bc9199259dabfdec1c8efd91

Francesco Cecconi francesco.cecconi at gmail.com
Tue Jul 16 21:41:13 UTC 2013


The following commit has been merged in the master branch:
commit 055dd79789904ba986327da31a56efbe240265c6
Author: Francesco Cecconi <francesco.cecconi at gmail.com>
Date:   Tue Jul 16 23:32:04 2013 +0200

    debian/rules: switched to the 3-lines dh.
    
    increased debhelper and compat to version 8.

diff --git a/debian/changelog b/debian/changelog
index c0a7e45..98a06cc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,8 +2,6 @@ libhtml-fromtext-perl (2.07-1) UNRELEASED; urgency=low
 
   TODO:
   - d/copyright: I suppose the only maintainer is Ricardo
-  - d/rules: please switch to the 3-lines dh(1) d/rules; and
-  - to debhelper 8 in d/control and d/compat
   - patch fix_text2html.diff: please add a "Forwarded:" header
     (probably "Forwarded: not-needed" in this case?)
   - d/control:
@@ -25,6 +23,10 @@ libhtml-fromtext-perl (2.07-1) UNRELEASED; urgency=low
     + removed version from perl build dependence.
     + changed Maintainer field for perl group.
     + added Uploaders field.
+    + increased debhelper to version 8.
+  * debian/rules:
+    + switched to the 3-lines dh.
+  * debian/compat: increased to version 8.
   * debian/patch:
     + updated fix_text2html.diff.
   * debian/copyright: 
diff --git a/debian/compat b/debian/compat
index 7ed6ff8..45a4fb7 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-5
+8
diff --git a/debian/control b/debian/control
index 164cc14..ab500f8 100644
--- a/debian/control
+++ b/debian/control
@@ -1,7 +1,7 @@
 Source: libhtml-fromtext-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 5)
+Build-Depends: debhelper (>= 8)
 Build-Depends-Indep: perl, 
                      libscalar-list-utils-perl, 
                      libhtml-parser-perl, 
diff --git a/debian/rules b/debian/rules
index ab0cd0f..14aab02 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,60 +1,7 @@
 #!/usr/bin/make -f
 
-export PERL_MM_USE_DEFAULT=1
+%:
+	dh $@
 
-PACKAGE=$(shell dh_listpackages)
-
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
-TMP     =$(CURDIR)/debian/$(PACKAGE)
-
-build: build-arch build-indep
-build-arch: build-stamp
-build-indep: build-stamp
-
-build-stamp:
-	dh_testdir
-	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE) OPTIMIZE="-Wall -O2 -g"
-	touch build-stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-	if [ -e Makefile ]; then $(MAKE) -i distclean; fi
-	dh_clean build-stamp install-stamp
-
-install: build install-stamp
-install-stamp:
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	$(MAKE) test
-	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-	[ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/lib/perl5
-	touch install-stamp
-
-binary-arch:
-
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs
+override_dh_installchangelogs:
 	dh_installchangelogs Changes
-	dh_perl
-	dh_link
-	dh_strip
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-source diff:                                                                  
-	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
-
-binary: binary-indep binary-arch
-.PHONY: build binary-indep binary-arch binary clean

-- 
Packaging of HTML::FromText in Debian



More information about the Pkg-perl-cvs-commits mailing list