diff -u smart-1.0/debian/changelog smart-1.0/debian/changelog --- smart-1.0/debian/changelog +++ smart-1.0/debian/changelog @@ -1,3 +1,10 @@ +smart (1.0-0ubuntu3) intrepid; urgency=low + + * debian/distro.py: + - Updated to not depend on python-rpm (LP: #261273) + + -- Stefan Lesicnik Tue, 26 Aug 2008 14:32:31 +0200 + smart (1.0-0ubuntu2) intrepid; urgency=low * debian/control: moved python-rpm from depends to suggests diff -u smart-1.0/debian/distro.py smart-1.0/debian/distro.py --- smart-1.0/debian/distro.py +++ smart-1.0/debian/distro.py @@ -4,0 +5,7 @@ + if not sysconf.has("detect-sys-channels"): + sysconf.set("detect-sys-channels", "deb", weak=True) + if sysconf.has("channels.rpm-sys"): + if sysconf.get("channels.rpm-sys.name") == "RPM System": + # Likely auto-detected in an old installation. Let's remove it + # to prevent dependency issues. + sysconf.remove("channels.rpm-sys")