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

rpms/jakarta-commons-lang/devel jakarta-commons-lang.spec, 1.19, 1.20



Author: dbhole

Update of /cvs/dist/rpms/jakarta-commons-lang/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv7636

Modified Files:
	jakarta-commons-lang.spec 
Log Message:

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




Index: jakarta-commons-lang.spec
===================================================================
RCS file: /cvs/dist/rpms/jakarta-commons-lang/devel/jakarta-commons-lang.spec,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- jakarta-commons-lang.spec	10 Aug 2006 09:52:24 -0000	1.19
+++ jakarta-commons-lang.spec	10 Aug 2006 21:45:44 -0000	1.20
@@ -38,7 +38,7 @@
 
 Name:           jakarta-%{short_name}
 Version:        2.1
-Release:        4jpp_3fc
+Release:        5jpp.1
 Epoch:          0
 Summary:        Jakarta Commons Lang Package
 License:        Apache Software License
@@ -76,7 +76,8 @@
 Summary:        Javadoc for %{name}
 Group:          Development/Documentation
 BuildRequires:  java-javadoc
-Requires(post):   coreutils
+Requires(post):   /bin/rm,/bin/ln
+Requires(postun): /bin/rm
 
 %description    javadoc
 Javadoc for %{name}.
@@ -126,11 +127,14 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-
 %post javadoc
 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}
@@ -163,7 +167,11 @@
 %ghost %doc %{_javadocdir}/%{name}
 
 %changelog
-* Thu Aug 10 2006 Karsten Hopp <karsten redhat de> 2.1-4jpp_3fc
+* Thu Aug 10 2006 Deepak Bhole <dbhole redhat com> - 0:2.1-5jpp.1
+- Added missing requirements.
+- Added missing postun section for javadoc.
+
+* Thu Aug 10 2006 Karsten Hopp <karsten redhat de> - 0:2.1-4jpp_3fc
 - Requires(post): coreutils
 
 * Sat Jul 22 2006 Jakub Jelinek <jakub redhat com> - 0:2.1-4jpp_2fc


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