Le mercredi 08 décembre 2004 à 03:05 +0100, Enrico Scholz a écrit :
Nicolas.Mailhot(a)laPoste.net (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(a)zarb.org.
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