javadoc scriptlets

Andrew Overholt overholt at redhat.com
Fri Nov 23 20:51:09 UTC 2007


* Jason L Tibbitts III <tibbs at math.uh.edu> [2007-11-22 00:19]:
> I'm having trouble understanding why many Java-using packages have the
> following scriptlets:
> 
> %post javadoc
> %__rm -f %{_javadocdir}/%{name}
> %__ln_s %{name}-%{version} %{_javadocdir}/%{name}
> 
> %postun javadoc
> if [ $1 -eq 0 ]; then
>   %__rm -f %{_javadocdir}/%{name}
> fi

This is/was a JPackage-ism IIRC.

Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20071123/fdb2ebf4/attachment.sig>


More information about the fedora-devel-list mailing list