tags 380993 patch stop Here is a patch that makes yum installable once again.
I'm not sure about the "module dirs" argument (/usr/share/yum-cli) provided to the dh_python command. The documentation on whether it should be an absolute URI is unclear, however it _seems_ to have worked, as upon installation there is a ".pyc" file for every ".py" file in /usr/share/yum-cli. I also split the 'mkdir -p' command into two because "{5,8}" is a bashism that was stopping the package building for systems where /bin/sh links to /bin/dash (like mine :)). I hope this is useful. Thanks for your effort. -Ted
diff -ruN yum-2.4.0/debian/control yum-2.4.0-new/debian/control --- yum-2.4.0/debian/control 2006-08-23 20:15:35.000000000 +1000 +++ yum-2.4.0-new/debian/control 2006-08-23 21:11:10.000000000 +1000 @@ -2,13 +2,17 @@ Section: admin Priority: extra Maintainer: Anand Kumria <[EMAIL PROTECTED]> -Build-Depends: debhelper (>= 4.0.0), python2.3-dev, python-dev +Build-Depends: debhelper (>= 5.0.37.2), python-dev, python-central (>= 0.5) +XS-Python-Version: current Standards-Version: 3.6.2.1 Package: yum Architecture: all -Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, python-celementtree, python-libxml2, python-urlgrabber, rpm (>= 4.4.1), python2.3-rpm +Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, + python-celementtree, python-libxml2, python-urlgrabber, + rpm (>= 4.4.1), python-rpm Recommends: python-sqlite +XB-Python-Version: ${python:Versions} Description: Advanced front-end for rpm Yum (Yellow dog Updater, Modified) is an automatic updater and package installer/remover for rpm systems. It automatically computes dependencies diff -ruN yum-2.4.0/debian/pycompat yum-2.4.0-new/debian/pycompat --- yum-2.4.0/debian/pycompat 1970-01-01 10:00:00.000000000 +1000 +++ yum-2.4.0-new/debian/pycompat 2006-08-23 20:24:26.000000000 +1000 @@ -0,0 +1 @@ +2 diff -ruN yum-2.4.0/debian/rules yum-2.4.0-new/debian/rules --- yum-2.4.0/debian/rules 2006-08-23 20:15:35.000000000 +1000 +++ yum-2.4.0-new/debian/rules 2006-08-23 21:16:47.000000000 +1000 @@ -118,7 +118,8 @@ dh_compress dh_fixperms # dh_perl - dh_python + dh_pycentral + dh_python /usr/share/yum-cli dh_makeshlibs dh_installdeb dh_shlibdeps diff -ruN yum-2.4.0/docs/Makefile yum-2.4.0-new/docs/Makefile --- yum-2.4.0/docs/Makefile 2005-08-05 15:41:07.000000000 +1000 +++ yum-2.4.0-new/docs/Makefile 2006-08-23 21:01:54.000000000 +1000 @@ -5,7 +5,8 @@ rm -f *.pyc *.pyo *~ install: - mkdir -p $(DESTDIR)/usr/share/man/man{5,8} + mkdir -p $(DESTDIR)/usr/share/man/man5 + mkdir -p $(DESTDIR)/usr/share/man/man8 install -m 644 yum.8 $(DESTDIR)/usr/share/man/man8/yum.8 install -m 644 yum-shell.8 $(DESTDIR)/usr/share/man/man8/yum-shell.8 install -m 644 yum-arch.8 $(DESTDIR)/usr/share/man/man8/yum-arch.8
signature.asc
Description: OpenPGP digital signature