Comment 5 for bug 10282

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <20041112004846.GY13744@nozomi>
Date: Thu, 11 Nov 2004 19:48:46 -0500
From: "Benj. Mako Hill" <email address hidden>
To: Lukasz Pankowski <email address hidden>, <email address hidden>
Cc: <email address hidden>
Subject: Re: Bug#280838: python-docutils: rest2html and rest2xml are dangling links

--lx6+J6gHrzwEpYNy
Content-Type: multipart/mixed; boundary="HFD/Dq8JdnjNvyuv"
Content-Disposition: inline

--HFD/Dq8JdnjNvyuv
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

tags 280838 patch
thanks

On Fri, Nov 12, 2004 at 12:46:20AM +0100, Lukasz Pankowski wrote:
>=20
> Package: python-docutils
> Version: 0.3.5-1
> Severity: normal
>=20
> /usr/bin/rest2html and /usr/bin/rest2xml are dangling links.

Yeah, upstream changed the the name of the executables. I ran into
this in my package. The links should be changed to:

 ../share/python-docutils/rst2html.py
 ../share/python-docutils/rst2xml.py

I've attached a patch. The whitespace change is intentional (if
pedantic). :)

Regards,
Mako

--=20
Benjamin Mako Hill
<email address hidden>
http://mako.yukidoke.org/

--HFD/Dq8JdnjNvyuv
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="rstsymlinks.diff"
Content-Transfer-Encoding: quoted-printable

--- rules.old 2004-11-11 19:40:46.000000000 -0500
+++ rules 2004-11-11 19:42:57.000000000 -0500
@@ -33,7 +33,7 @@
  dh_clean -k
  dh_installdirs
  -mkdir -p $(d)/usr/bin
-=09
+
  : # Install Python files
  @mkdir -p debian/tmp
  $(PYTHON) setup.py install \
@@ -58,8 +58,8 @@
  : # link scripts to canonical names in /usr/bin
  -mkdir -p $(d)/usr/bin
  cd $(d)/usr/bin && \
- ln -s ../share/python-docutils/html.py rest2html && \
- ln -s ../share/python-docutils/docutils-xml.py rest2xml && \
+ ln -s ../share/python-docutils/rst2html.py rest2html && \
+ ln -s ../share/python-docutils/rst2xml.py rest2xml && \
  ln -s ../share/python-docutils/pep.py pep2html && \
  ln -s ../share/python-docutils/rst2latex.py rest2latex
=20

--HFD/Dq8JdnjNvyuv--

--lx6+J6gHrzwEpYNy
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBlAhuic1LIWB1WeYRAnkVAKCuq2Da7neKdRp5X/CrOKdSXM6eyACgvHBD
lNXbNnlenq3Mu2uYSOCNWx4=
=E/f2
-----END PGP SIGNATURE-----

--lx6+J6gHrzwEpYNy--