Control: tag -1 + patch On Mon, 15 Oct 2012 20:41:27 +0200, Stephen Kitt wrote:
> On Mon, 15 Oct 2012 14:49:31 +0100, Jonathan Wiltshire <j...@debian.org> > wrote: > > I started looking at this bug yesterday, the fix is easy but I did not > > have time to check all binary packages. Patch to follow if you want it. > If you've got the patch to hand I'd appreciate it. As you say the fix is > easy, but I won't have time to work on it this evening... Something like the attached debdiff maybe? (Note that I haven't built the binary packages, but I've run the postinst manually in a chroot after a squeeze → wheezy update of gcc-mingw32.) Cheers, gregor -- .''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06 : :' : Debian GNU/Linux user, admin, and developer - http://www.debian.org/ `. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe `- NP: Various Artists: Katie
diff -Nru gcc-mingw-w64-7/debian/changelog gcc-mingw-w64-7+nmu1/debian/changelog --- gcc-mingw-w64-7/debian/changelog 2012-08-08 08:21:59.000000000 +0200 +++ gcc-mingw-w64-7+nmu1/debian/changelog 2012-10-24 18:31:58.000000000 +0200 @@ -1,3 +1,13 @@ +gcc-mingw-w64 (7+nmu1) UNRELEASED; urgency=low + + * Non-maintainer upload. + * Fix "missing copyright file after upgrade from squeeze": + add debian/gcc-mingw32.postinst to handle dir → symlink transition for + gcc-ming32's docdir. + (Closes: #690148) + + -- gregor herrmann <gre...@debian.org> Wed, 24 Oct 2012 18:15:13 +0200 + gcc-mingw-w64 (7) unstable; urgency=low * When upgrading from versions where /usr/share/doc/gcc-mingw-w64 is a diff -Nru gcc-mingw-w64-7/debian/gcc-mingw32.postinst gcc-mingw-w64-7+nmu1/debian/gcc-mingw32.postinst --- gcc-mingw-w64-7/debian/gcc-mingw32.postinst 1970-01-01 01:00:00.000000000 +0100 +++ gcc-mingw-w64-7+nmu1/debian/gcc-mingw32.postinst 2012-10-24 18:30:52.000000000 +0200 @@ -0,0 +1,13 @@ +#!/bin/sh +set -e + +# Replace documentation directory with symlink +if [ -d /usr/share/doc/gcc-mingw32 ] && [ ! -L /usr/share/doc/gcc-mingw32 ]; then + if rmdir /usr/share/doc/gcc-mingw32 2>/dev/null; then + ln -sf gcc-mingw-w64-base /usr/share/doc/gcc-mingw32 + fi +fi + +#DEBHELPER# + +exit 0
signature.asc
Description: Digital signature