r25869 - in /trunk/libjson-xs-perl/debian: changelog control libjson-xs-perl.docs libjson-xs-perl.examples rules

angelabad-guest at users.alioth.debian.org angelabad-guest at users.alioth.debian.org
Wed Oct 8 16:44:19 UTC 2008


Author: angelabad-guest
Date: Wed Oct  8 16:44:16 2008
New Revision: 25869

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=25869
Log:
Revert to dh 5 and switch to unstable

Removed:
    trunk/libjson-xs-perl/debian/libjson-xs-perl.docs
    trunk/libjson-xs-perl/debian/libjson-xs-perl.examples
Modified:
    trunk/libjson-xs-perl/debian/changelog
    trunk/libjson-xs-perl/debian/control
    trunk/libjson-xs-perl/debian/rules

Modified: trunk/libjson-xs-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libjson-xs-perl/debian/changelog?rev=25869&op=diff
==============================================================================
--- trunk/libjson-xs-perl/debian/changelog (original)
+++ trunk/libjson-xs-perl/debian/changelog Wed Oct  8 16:44:16 2008
@@ -1,6 +1,6 @@
-libjson-xs-perl (2.23-1) UNRELEASED; urgency=low
+libjson-xs-perl (2.23-1) unstable; urgency=low
 
-  * (NOT RELEASED YET) New upstream release
+  * New upstream release
   * Take over for the Debian Perl Group on maintainer's request
     (http://lists.debian.org/debian-perl/2008/10/msg00010.html)
   * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser
@@ -12,9 +12,10 @@
   * Add pkg-perl changes
   * Add myself to Uploaders
   * Update Standards-Version 3.8.0
-  * Update to debhelper 7
+  * Remove bench from examples because it has circular dependency with
+    libjson-perl
 
- -- Angel Abad (Ikusnet SLL) <angel at grupoikusnet.com>  Tue, 07 Oct 2008 21:42:20 +0200
+ -- Angel Abad (Ikusnet SLL) <angel at grupoikusnet.com>  Wed, 08 Oct 2008 18:29:03 +0200
 
 libjson-xs-perl (2.01-1) unstable; urgency=low
 

Modified: trunk/libjson-xs-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libjson-xs-perl/debian/control?rev=25869&op=diff
==============================================================================
--- trunk/libjson-xs-perl/debian/control (original)
+++ trunk/libjson-xs-perl/debian/control Wed Oct  8 16:44:16 2008
@@ -1,7 +1,7 @@
 Source: libjson-xs-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 7), perl (>= 5.8.8)
+Build-Depends: debhelper (>= 5), perl (>= 5.8.8)
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Angel Abad (Ikusnet SLL) <angel at grupoikusnet.com>, Ivan Kohler <ivan-debian at 420.am>
 Standards-Version: 3.8.0
@@ -11,7 +11,7 @@
 
 Package: libjson-xs-perl
 Architecture: any
-Depends: ${perl:Depends}, ${shlibs:Depends}, ${misc:Depends}, 
+Depends: ${perl:Depends}, ${shlibs:Depends}, ${misc:Depends}
 Description: Perl module for JSON serialising/deserialising
  This module converts Perl data structures to JSON and vice versa. Its
  primary goal is to be correct and its secondary goal is to be

Modified: trunk/libjson-xs-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libjson-xs-perl/debian/rules?rev=25869&op=diff
==============================================================================
--- trunk/libjson-xs-perl/debian/rules (original)
+++ trunk/libjson-xs-perl/debian/rules Wed Oct  8 16:44:16 2008
@@ -1,23 +1,76 @@
 #!/usr/bin/make -f
+# This debian/rules file is provided as a template for normal perl
+# packages. It was created by Marc Brockschmidt <marc at dch-faq.de> for
+# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may
+# be used freely wherever it is useful.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# If set to a true value then MakeMaker's prompt function will
+# always return the default without waiting for user input.
+export PERL_MM_USE_DEFAULT=1
+
+PERL   ?= /usr/bin/perl
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
+
+# Allow disabling build optimisation by setting noopt in
+# $DEB_BUILD_OPTIONS
+CFLAGS = -g
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+        CFLAGS += -O0
+else
+        CFLAGS += -O2
+endif
 
 build: build-stamp
 build-stamp:
-	dh build
+	dh_testdir
+	# Add commands to compile the package here
+	$(PERL) Makefile.PL INSTALLDIRS=vendor
+	$(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
+	$(MAKE) test
 	touch $@
 
 clean:
-	dh $@
+	dh_testdir
+	dh_testroot
+	dh_clean build-stamp install-stamp
+	# Add commands to clean up after the build process here
+	[ ! -f Makefile ] || $(MAKE) realclean
 
 install: install-stamp
 install-stamp: build-stamp
-	dh install
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	# Add commands to install the package into $(TMP)
+	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+	[ ! -d $(TMP)/usr/share/perl5 ] || \
+		rmdir --ignore-fail-on-non-empty --parents --verbose \
+		$(TMP)/usr/share/perl5
 	touch $@
 
-binary-arch: install
-	dh $@
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do here for an architecture-dependent package
 
-binary-indep:
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installdocs README
+	dh_installchangelogs Changes
+	dh_shlibdeps
+	dh_strip
+	dh_perl
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
 
-binary: binary-arch binary-indep
-
-.PHONY: binary binary-arch binary-indep install clean build
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install




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