package mlmmjadmd
tag 380872 +patch
thanks

Patch using python-support.
Also, the patch closes 382863.

-- 
Rodrigo Gallardo
GPG-Fingerprint: 7C81 E60C 442E 8FBC D975  2F49 0199 8318 ADC9 BC28
diff -Nur mlmmjadmd-0.4/debian/changelog mlmmjadmd-0.4-changed/debian/changelog
--- mlmmjadmd-0.4/debian/changelog      2006-08-13 14:26:58.000000000 -0500
+++ mlmmjadmd-0.4-changed/debian/changelog      2006-08-13 15:42:44.000000000 
-0500
@@ -1,3 +1,11 @@
+mlmmjadmd (0.4-1.1) unstable; urgency=low
+
+  * NMU
+  * Upgrade to new python policy (closes: #380872)
+  * Should be Arch: all (closes: #382863)
+
+ -- Luis Rodrigo Gallardo Cruz <[EMAIL PROTECTED]>  Sun, 13 Aug 2006 14:14:47 
-0500
+
 mlmmjadmd (0.4-1) unstable; urgency=low
 
   * New upstream release.
diff -Nur mlmmjadmd-0.4/debian/control mlmmjadmd-0.4-changed/debian/control
--- mlmmjadmd-0.4/debian/control        2006-08-13 14:26:58.000000000 -0500
+++ mlmmjadmd-0.4-changed/debian/control        2006-08-13 14:12:45.000000000 
-0500
@@ -2,12 +2,14 @@
 Section: mail
 Priority: optional
 Maintainer: Søren Boll Overgaard <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 4.1.67), python2.4, xsltproc, docbook-xsl, 
python-dev
+Build-Depends-Indep: debhelper (>= 5.0.37.2), xsltproc, docbook-xsl, 
python-dev (>= 2.3.5-11), python-support (>= 0.3)
+XS-Python-Version: current
 Standards-Version: 3.7.2
 
 Package: python-mlmmjadmd
-Architecture: all
-Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, mlmmj
+Architecture: any
+XB-Python-Version: ${python:Versions}
+Depends: ${misc:Depends}, ${python:Depends}, mlmmj
 Description: a daemon for remotely administrating an mlmmj installation
  mlmmjadmd listens on a port, and allows remote users, who have
  successfully authenticated, to administrate an mlmmj installation.
diff -Nur mlmmjadmd-0.4/debian/pycompat mlmmjadmd-0.4-changed/debian/pycompat
--- mlmmjadmd-0.4/debian/pycompat       1969-12-31 18:00:00.000000000 -0600
+++ mlmmjadmd-0.4-changed/debian/pycompat       2006-08-13 14:14:33.000000000 
-0500
@@ -0,0 +1 @@
+2
diff -Nur mlmmjadmd-0.4/debian/rules mlmmjadmd-0.4-changed/debian/rules
--- mlmmjadmd-0.4/debian/rules  2006-08-13 14:26:58.000000000 -0500
+++ mlmmjadmd-0.4-changed/debian/rules  2006-08-13 14:31:41.000000000 -0500
@@ -8,7 +8,8 @@
 
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
-export PYTHON=/usr/bin/python2.4
+#Use the default python version to build
+export PYTHON=/usr/bin/python
 export 
DB2MAN=/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl
 export XP=xsltproc -''-nonet -o
 
@@ -48,6 +49,7 @@
        # Add here commands to clean up after the build process.
        #-$(MAKE) clean
        $(PYTHON) ./setup.py clean
+       rm -rf build
        rm -f mlmmjadmd.1 md-adduser.1 md-config.1
        dh_clean 
 
@@ -68,12 +70,12 @@
        install -m 644 -D examples/mlmmjadmd.conf 
$(CURDIR)/debian/python-mlmmjadmd/etc/mlmmjadmd/config
        install -m 644 -D examples/mlmmjadmd-users.conf 
$(CURDIR)/debian/python-mlmmjadmd/etc/mlmmjadmd/users
 
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
-
 # 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
        dh_testdir
        dh_testroot
        dh_installchangelogs ChangeLog
@@ -95,7 +97,8 @@
        dh_compress
        dh_fixperms
 #      dh_perl
-#      dh_python
+       dh_pysupport
+       dh_python
 #      dh_makeshlibs
        dh_python
        dh_installdeb

Attachment: signature.asc
Description: Digital signature

Reply via email to