From cc79e4b4ee20e865a820407257b34c026b104af0 Mon Sep 17 00:00:00 2001 From: Deepak Bhole Date: Fri, 4 Aug 2006 23:56:46 +0000 Subject: [PATCH] Add missing postun for javadoc --- antlr.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/antlr.spec b/antlr.spec index 3c86310..8dd7a27 100644 --- a/antlr.spec +++ b/antlr.spec @@ -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 = 0:2.7.6-4jpp.2 +- Add missing postun for javadoc. + * Thu Aug 03 2006 Deepak Bhole = 0:2.7.6-4jpp.1 - Add missing requirements.