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

rpms/xjavadoc/devel xjavadoc.spec,1.14,1.15



Author: dbhole

Update of /cvs/dist/rpms/xjavadoc/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv29829

Modified Files:
	xjavadoc.spec 
Log Message:

- Added missing postun section for javadoc.
- Added missing requirements.




Index: xjavadoc.spec
===================================================================
RCS file: /cvs/dist/rpms/xjavadoc/devel/xjavadoc.spec,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- xjavadoc.spec	24 Jul 2006 05:26:39 -0000	1.14
+++ xjavadoc.spec	10 Aug 2006 23:31:29 -0000	1.15
@@ -36,7 +36,7 @@
 
 Name:		xjavadoc
 Version:	1.1
-Release:	3jpp_1fc
+Release:	4jpp.1
 Epoch:		0
 Summary:	The XJavaDoc engine
 License:	BSD Style
@@ -91,6 +91,8 @@
 %package        javadoc
 Summary:        Javadoc for %{name}
 Group:          Development/Documentation
+Requires(post):   /bin/rm,/bin/ln
+Requires(postun): /bin/rm
 
 %description    javadoc
 %{summary}.
@@ -150,6 +152,11 @@
 rm -f %{_javadocdir}/%{name}
 ln -s %{name}-%{version} %{_javadocdir}/%{name}
 
+%postun javadoc
+if [ "$1" = "0" ]; then
+    rm -f %{_javadocdir}/%{name}
+fi
+
 %post
 %if %{gcj_support}
 if [ -x %{_bindir}/rebuild-gcj-db ]
@@ -181,6 +188,10 @@
 %ghost %doc %{_javadocdir}/%{name}
 
 %changelog
+* Thu Aug 10 2006 Deepak Bhole <dbhole redhat com> 1.1-4jpp.1
+- Added missing postun section for javadoc.
+- Added missing requirements.
+
 * Mon Jul 24 2006 Deepak Bhole <dbhole redhat com> 1.1-3jpp_1fc
 - Added conditional native compilation.
 - BR fixes.


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