tags 539331 + patch thanks Dear maintainer,
I've prepared an NMU for libept (versioned as 0.5.26+nmu1) and attached it. As you said in IRC you will to fix this problem this afternoon, I have not uploaded it. Regards. -- Julian Andres Klode - Free Software Developer Debian Developer - Contributing Member of SPI Ubuntu Member - Fellow of FSFE Website: http://jak-linux.org/ XMPP: juli...@jabber.org Debian: http://www.debian.org/ SPI: http://www.spi-inc.org/ Ubuntu: http://www.ubuntu.com/ FSFE: http://www.fsfe.org/
diff -Nru libept-0.5.26/debian/changelog libept-0.5.26+nmu1/debian/changelog --- libept-0.5.26/debian/changelog 2008-10-15 20:26:37.000000000 +0200 +++ libept-0.5.26+nmu1/debian/changelog 2009-08-03 14:57:13.000000000 +0200 @@ -1,3 +1,10 @@ +libept (0.5.26+nmu1) unstable; urgency=low + + * Non-maintainer upload. + * Fix test suite on apt 0.7.22, which supports Enhances (Closes: #539331) + + -- Julian Andres Klode <j...@debian.org> Mon, 03 Aug 2009 14:56:25 +0200 + libept (0.5.26) unstable; urgency=low * Disable Xapian quality cutoff to make the results more deterministic diff -Nru libept-0.5.26/ept/core/apt.test.h libept-0.5.26+nmu1/ept/core/apt.test.h --- libept-0.5.26/ept/core/apt.test.h 2008-06-27 12:26:10.000000000 +0200 +++ libept-0.5.26+nmu1/ept/core/apt.test.h 2009-08-03 15:04:15.000000000 +0200 @@ -50,8 +50,15 @@ } Test packageCount() { +#if APT_PKG_MAJOR > 4 || (APT_PKG_MAJOR == 4 && APT_PKG_MINOR >= 8) + // libapt-pkg 4.8 (apt 0.7.22) supports Enhances, which adds one more + // package to the list. + assert_eq( list::count( pkgs.list< package::Name >() ), + 3778 ); +#else assert_eq( list::count( pkgs.list< package::Name >() ), 3777 ); +#endif } Test packageNameList() {