r14118 - in /trunk/libxml-mini-perl/debian: changelog compat control copyright patches/ patches/pod-fixes.diff patches/series rules

hertzog at users.alioth.debian.org hertzog at users.alioth.debian.org
Sun Feb 3 20:54:26 UTC 2008


Author: hertzog
Date: Sun Feb  3 20:54:26 2008
New Revision: 14118

URL: http://svn.debian.org/wsvn/?sc=1&rev=14118
Log:
* Updated Standards-Version to 3.7.3:
  - Always build with -g and don't check for "debug" in DEB_BUILD_OPTIONS
* Dropped minimal version from dependencies where it's not needed because
  oldstable has the right versions already.
* Do not ignore errors of make realclean.
* Switch to debhelper's 6th compatibility level and adjust Build-Depends
  accordingly.
* Updated FSF address in copyright file.
* Remove empty /usr/lib/perl5 if present.
* Add a patch to fix POD documentation so that the man pages contain proper
  whatis entries. Use quilt to apply it. Thus add quilt to Build-Depends.

Added:
    trunk/libxml-mini-perl/debian/patches/
    trunk/libxml-mini-perl/debian/patches/pod-fixes.diff
    trunk/libxml-mini-perl/debian/patches/series
Modified:
    trunk/libxml-mini-perl/debian/changelog
    trunk/libxml-mini-perl/debian/compat
    trunk/libxml-mini-perl/debian/control
    trunk/libxml-mini-perl/debian/copyright
    trunk/libxml-mini-perl/debian/rules

Modified: trunk/libxml-mini-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libxml-mini-perl/debian/changelog?rev=14118&op=diff
==============================================================================
--- trunk/libxml-mini-perl/debian/changelog (original)
+++ trunk/libxml-mini-perl/debian/changelog Sun Feb  3 20:54:26 2008
@@ -1,7 +1,18 @@
-libxml-mini-perl (1.2.8-4) UNRELEASED; urgency=low
+libxml-mini-perl (1.2.8-4) unstable; urgency=low
 
   [ Raphael Hertzog ]
   * Put the team as Maintainer and move myself to Uploaders.
+  * Updated Standards-Version to 3.7.3:
+    - Always build with -g and don't check for "debug" in DEB_BUILD_OPTIONS
+  * Dropped minimal version from dependencies where it's not needed because
+    oldstable has the right versions already.
+  * Do not ignore errors of make realclean.
+  * Switch to debhelper's 6th compatibility level and adjust Build-Depends
+    accordingly.
+  * Updated FSF address in copyright file.
+  * Remove empty /usr/lib/perl5 if present.
+  * Add a patch to fix POD documentation so that the man pages contain proper
+    whatis entries. Use quilt to apply it. Thus add quilt to Build-Depends.
 
   [ gregor herrmann ]
   * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser
@@ -10,7 +21,7 @@
   * debian/watch: use dist-based URL; work around missing . in current
     upstream version number.
 
- -- gregor herrmann <gregor+debian at comodo.priv.at>  Sun, 03 Feb 2008 17:27:10 +0100
+ -- Raphael Hertzog <hertzog at debian.org>  Sun, 03 Feb 2008 21:36:50 +0100
 
 libxml-mini-perl (1.2.8-3) unstable; urgency=low
 

Modified: trunk/libxml-mini-perl/debian/compat
URL: http://svn.debian.org/wsvn/trunk/libxml-mini-perl/debian/compat?rev=14118&op=diff
==============================================================================
--- trunk/libxml-mini-perl/debian/compat (original)
+++ trunk/libxml-mini-perl/debian/compat Sun Feb  3 20:54:26 2008
@@ -1,1 +1,1 @@
-4
+6

Modified: trunk/libxml-mini-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libxml-mini-perl/debian/control?rev=14118&op=diff
==============================================================================
--- trunk/libxml-mini-perl/debian/control (original)
+++ trunk/libxml-mini-perl/debian/control Sun Feb  3 20:54:26 2008
@@ -1,11 +1,11 @@
 Source: libxml-mini-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 4)
-Build-Depends-Indep: perl (>= 5.8.0-7)
+Build-Depends: debhelper (>= 6), quilt
+Build-Depends-Indep: perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Raphael Hertzog <hertzog at debian.org>
-Standards-Version: 3.6.1
+Standards-Version: 3.7.3
 Homepage: http://minixml.psychogenic.com
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libxml-mini-perl/
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-mini-perl/

Modified: trunk/libxml-mini-perl/debian/copyright
URL: http://svn.debian.org/wsvn/trunk/libxml-mini-perl/debian/copyright?rev=14118&op=diff
==============================================================================
--- trunk/libxml-mini-perl/debian/copyright (original)
+++ trunk/libxml-mini-perl/debian/copyright Sun Feb  3 20:54:26 2008
@@ -27,7 +27,8 @@
 
         You should have received a copy of the GNU General Public License
         along with this program; if not, write to the Free Software
-        Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+        Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+	02110-1301 USA.
 
 Official XML::Mini site: http://minixml.psychogenic.com
 

Added: trunk/libxml-mini-perl/debian/patches/pod-fixes.diff
URL: http://svn.debian.org/wsvn/trunk/libxml-mini-perl/debian/patches/pod-fixes.diff?rev=14118&op=file
==============================================================================
--- trunk/libxml-mini-perl/debian/patches/pod-fixes.diff (added)
+++ trunk/libxml-mini-perl/debian/patches/pod-fixes.diff Sun Feb  3 20:54:26 2008
@@ -1,0 +1,65 @@
+Index: libxml-mini-perl/lib/XML/Mini/Element/CData.pm
+===================================================================
+--- libxml-mini-perl.orig/lib/XML/Mini/Element/CData.pm	2008-02-03 21:45:30.000000000 +0100
++++ libxml-mini-perl/lib/XML/Mini/Element/CData.pm	2008-02-03 21:45:51.000000000 +0100
+@@ -80,7 +80,7 @@
+ 
+ =head1 NAME
+ 
+-XML::Mini::Element::CData
++XML::Mini::Element::CData - represents CDATA blocks in XML::Mini parser
+ 
+ =head1 DESCRIPTION
+ 
+Index: libxml-mini-perl/lib/XML/Mini/Element/Comment.pm
+===================================================================
+--- libxml-mini-perl.orig/lib/XML/Mini/Element/Comment.pm	2008-02-03 21:45:56.000000000 +0100
++++ libxml-mini-perl/lib/XML/Mini/Element/Comment.pm	2008-02-03 21:46:14.000000000 +0100
+@@ -83,7 +83,7 @@
+ 
+ =head1 NAME
+ 
+-XML::Mini::Element::Comment
++XML::Mini::Element::Comment - represents comments in XML::Mini parser
+ 
+ =head1 DESCRIPTION
+ 
+Index: libxml-mini-perl/lib/XML/Mini/Element/DocType.pm
+===================================================================
+--- libxml-mini-perl.orig/lib/XML/Mini/Element/DocType.pm	2008-02-03 21:46:20.000000000 +0100
++++ libxml-mini-perl/lib/XML/Mini/Element/DocType.pm	2008-02-03 21:46:39.000000000 +0100
+@@ -72,7 +72,7 @@
+ 
+ =head1 NAME
+ 
+-XML::Mini::Element::DocType
++XML::Mini::Element::DocType - represents DocType header in XML::Mini parser
+ 
+ =head1 DESCRIPTION
+ 
+Index: libxml-mini-perl/lib/XML/Mini/Element/Entity.pm
+===================================================================
+--- libxml-mini-perl.orig/lib/XML/Mini/Element/Entity.pm	2008-02-03 21:46:43.000000000 +0100
++++ libxml-mini-perl/lib/XML/Mini/Element/Entity.pm	2008-02-03 21:47:04.000000000 +0100
+@@ -84,7 +84,7 @@
+ 
+ =head1 NAME
+ 
+-XML::Mini::Element::Entity
++XML::Mini::Element::Entity - represents XML entities in XML::Mini parser
+ 
+ =head1 DESCRIPTION
+ 
+Index: libxml-mini-perl/lib/XML/Mini/Element/Header.pm
+===================================================================
+--- libxml-mini-perl.orig/lib/XML/Mini/Element/Header.pm	2008-02-03 21:47:07.000000000 +0100
++++ libxml-mini-perl/lib/XML/Mini/Element/Header.pm	2008-02-03 21:47:37.000000000 +0100
+@@ -130,7 +130,7 @@
+ 
+ =head1 NAME
+ 
+-XML::Mini::Element::Header
++XML::Mini::Element::Header - represents XML headers in XML::Mini parser
+ 
+ =head1 DESCRIPTION
+ 

Added: trunk/libxml-mini-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/trunk/libxml-mini-perl/debian/patches/series?rev=14118&op=file
==============================================================================
--- trunk/libxml-mini-perl/debian/patches/series (added)
+++ trunk/libxml-mini-perl/debian/patches/series Sun Feb  3 20:54:26 2008
@@ -1,0 +1,1 @@
+pod-fixes.diff

Modified: trunk/libxml-mini-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libxml-mini-perl/debian/rules?rev=14118&op=diff
==============================================================================
--- trunk/libxml-mini-perl/debian/rules (original)
+++ trunk/libxml-mini-perl/debian/rules Sun Feb  3 20:54:26 2008
@@ -3,9 +3,6 @@
 # Made with the aid of dh_make, by Craig Small
 # Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
 # Some lines taken from debmake, by Christoph Lameter.
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
 
 PACKAGE=$(shell dh_listpackages)
 
@@ -13,41 +10,36 @@
 PERL = /usr/bin/perl
 endif
 
-ifndef DESTDIR
-DESTDIR=..
-endif
-TMP     =`pwd`/debian/$(PACKAGE)
+TMP    = `pwd`/debian/$(PACKAGE)
 
-ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
 CFLAGS = -g
-endif
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
 CFLAGS += -O0
 else
 CFLAGS += -O2
 endif
 
+include /usr/share/quilt/quilt.make
 
 build: build-stamp
-build-stamp:
+build-stamp: patch
 	dh_testdir
-
 	
 	# Add here commands to compile the package.
 	$(PERL) Makefile.PL INSTALLDIRS=vendor
 	$(MAKE) OPTIMIZE="-Wall $(CFLAGS)"
 	$(MAKE) test
-
+	
 	touch build-stamp
 
-clean:
+clean: unpatch
 	dh_testdir
 	dh_testroot
 	rm -f build-stamp
-
+	
 	# Add here commands to clean up after the build process.
-	-$(MAKE) realclean
-
+	[ ! -f Makefile ] || $(MAKE) realclean
+	
 	dh_clean
 
 install: 
@@ -55,15 +47,14 @@
 	dh_testroot
 	dh_clean -k
 	dh_installdirs
-
-	# Add here commands to install the package into debian/tmp.
-	#$(MAKE) install DESTDIR=`pwd`/debian/tmp
+	
+	# Add here commands to install the package into debian/<package>
 	$(MAKE) install PREFIX=$(TMP)/usr
-
+	[ ! -d $(TMP)/usr/lib/perl5 ] || rmdir $(TMP)/usr/lib/perl5 || true
+	[ ! -d $(TMP)/usr/lib ] || rmdir $(TMP)/usr/lib || true
 
 # Build architecture-dependent files here.
 binary-arch: build install
-# We have nothing to do by default.
 
 # Build architecture-independent files here.
 binary-indep: build install
@@ -72,8 +63,6 @@
 	dh_installdocs README
 	dh_installexamples
 	dh_installmenu
-#	dh_installemacsen
-#	dh_installinit
 	dh_installcron
 	dh_installman
 	dh_installchangelogs Changes
@@ -81,13 +70,12 @@
 	dh_strip
 	dh_compress
 	dh_fixperms
-#	dh_makeshlibs
 	dh_installdeb
 	dh_perl 
 	dh_shlibdeps
 	dh_gencontrol
 	dh_md5sums
-	dh_builddeb --destdir=$(DESTDIR)
+	dh_builddeb
 
 source diff:                                                                  
 	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false




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