------------------------------------------------------------
revno: 2044
committer: Rene Engelhard <r...@debian.org>
branch nick: debian
timestamp: Tue 2010-06-29 09:46:55 +0200
message:
  fixup the depends created by dh_pycentral
modified:
  rules
=== modified file 'rules'
--- a/rules     2010-06-29 04:42:04 +0000
+++ b/rules     2010-06-29 07:46:55 +0000
@@ -3525,6 +3525,11 @@
 endif
 ifeq "$(USE_PYCENTRAL)" "y"
        dh_pycentral -ppython-uno
+  ifeq "$(PYTHON_VERSION)" "current"
+       # fix up broken depends (should be python (<< 2.6), python (>= 2.5) as
+       # it was the case before it broke somewhen
+       perl -pi -e 's/python, python-central/python (<< 
$(PYMAJOR).$(PYMINORPLUS1)), python (>= $(PYMAJOR).$(PYMINOR)), 
python-central/' debian/python-uno.substvars
+  endif
 else
   ifeq "$(USE_PYSUPPORT)" "y"
        dh_pysupport -ppython-uno -V $(PYMAJOR).$(PYMINOR)

Reply via email to