Re: Broken %post scriptlets in recent java packages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

Missing backward-compatibility will not be a problem on FC so it could
be used there.



Enrico


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux