Le mercredi 08 dÃcembre 2004 Ã 03:05 +0100, Enrico Scholz a Ãcrit : > Nicolas.Mailhot@xxxxxxxxxxx (Nicolas Mailhot) writes: > > >> recent java-packages (ant*, xerces*, ...) have scriptlets like > >> > >> | $ rpm -q --scripts servletapi5-javadoc > >> | postinstall scriptlet (using /bin/sh): > >> | rm -f /usr/share/javadoc/servletapi5 > >> | rm -f /usr/share/javadoc/jsp-api > >> | ln -s servletapi5-5.0.18 /usr/share/javadoc/servletapi5 > >> | ln -s jsp-api-5.0.18 /usr/share/javadoc/jsp-api > >> > >> > >> This is really bad code because it does not make sense in an rpm-world > >> and causes problems in combination with the %_netsharedpath feature. > > ... > > If you're interested by the problem feel free to review specs and > > propose solutions on jpackage-discuss@xxxxxxxxx > > I fear that my preferred solution (%macro magic) will conflict with > policies of jpackage. The feature that every /etc/rpm/macros.* file will > be read by rpm is relatively new and might not exist on all jpackage > platforms. Good excuse but... we've been depending on our own sets of macros forever. So we already have a macro file + all the plumbing to get it deployed on every platform we target;) Regards, -- Nicolas Mailhot
Attachment:
signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=