Add missing postun for javadoc

This commit is contained in:
Deepak Bhole 2006-08-04 23:56:46 +00:00
parent 2a363af237
commit cc79e4b4ee

View File

@ -39,7 +39,7 @@
Summary: ANother Tool for Language Recognition
Name: antlr
Version: 2.7.6
Release: 4jpp.1
Release: 4jpp.2
Epoch: 0
License: Public Domain
URL: http://www.antlr.org/
@ -241,6 +241,10 @@ fi
rm -f %{_javadocdir}/%{name}
ln -s %{name}-%{version} %{_javadocdir}/%{name}
%postun javadoc
if [ $1 -eq 0 ]; then
%{__rm} -f %{_javadocdir}/%{name}
fi
%if %{native}
%files native
@ -281,6 +285,9 @@ ln -s %{name}-%{version} %{_javadocdir}/%{name}
%changelog
* Thu Aug 03 2006 Deepak Bhole <dbhole@redhat.com> = 0:2.7.6-4jpp.2
- Add missing postun for javadoc.
* Thu Aug 03 2006 Deepak Bhole <dbhole@redhat.com> = 0:2.7.6-4jpp.1
- Add missing requirements.