A small patch to avoid dup entires.

Date view Thread view Subject view Author view

From: Alexey Nogin (ayn2@cornell.edu)
Date: Sun Dec 03 2000 - 09:20:51 EST


-----BEGIN PGP SIGNED MESSAGE-----

Hi,

Many RPMs nowdays include its own name in the list of things they
provide (rpm2html itself is an example). rpm2html does two bad things in
such a case:

1) In the <RpmName>.html file, it will put two entries for the same RPM.
See, for example, http://niteowl.userfriendly.net/linux/RPM/rpm2html.html
(after rpmfind.net converted to using SQL, you can no longer see the
problem there).
2) In the <RpmName-RpmVersion-...>.html file, it will put to links to
<RpmName>.html in the Provides section.
See, for example,
http://rpmfind.net/linux/RPM/rufus/rpm2html/rpm2html-1.5-1.i386.html

The attached 1-line patch solves this problem. The patch is against
rpm2html-1.5. See the result at http://nogin.org/RPM/rpm2html.html

Alexey
- --------------------------------------------------------------
Home Page: http://nogin.org/
E-Mail: nogin@cs.cornell.edu (office), ayn2@cornell.edu (home)
Office: Upson 4139, tel: 1-607-255-4934
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iQEVAwUBOipW0ZXjz5AN18LFAQHRvQf+P03xKwR0wYC+24Z0i6nhlWxsxZhsl5oX
VVNChh/Z6vnOENoRqOz4hQk94hV+0ZL25tyNKDRXj6sUGJ5qbVyBj/2BiAak8AHr
UZQ3wjnhzUzuhPgIkElGnYZZD/0tzrRr3us71nFV3A5+wj4iogV4WpYPMsS2gVzH
oDILQy7njU1GPqYGuiER05+i5r0cl4dONOWzgBMkNkWeMuUQP4YIr48SuemZI8Q0
TsnY8ZmMlj9elXly4lnfflIePKb1nHnSPJxbOdKMUosXT8Lwq1H4U4hUl5svaikF
rqSleZ8/5h0VLtTsTHWwutTVB1BteQLz0C4RRacCE99bNPGvXlnIgA==
=DwPl
-----END PGP SIGNATURE-----



Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Thu May 10 2001 - 18:40:13 EDT