Added missing requirements.

This commit is contained in:
Deepak Bhole 2006-08-05 00:06:54 +00:00
parent fa6c416b21
commit 29faa072da

View File

@ -36,7 +36,7 @@
Name: bsh
Version: 1.3.0
Release: 8jpp_3fc
Release: 9jpp.1
Epoch: 0
Summary: Lightweight Scripting for Java
License: LGPL
@ -89,6 +89,8 @@ Documentation for %{name}.
%package javadoc
Summary: Javadoc for %{name}
Group: Development/Java
Requires(post): /bin/rm,/bin/ln
Requires(postun): /bin/rm
%description javadoc
Javadoc for %{name}.
@ -209,6 +211,15 @@ cat scripts/bshdoc.bsh >> $RPM_BUILD_ROOT%{_bindir}/%{name}doc
%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}
if [ -x %{_bindir}/rebuild-gcj-db ]
@ -250,6 +261,9 @@ fi
%{_datadir}/%{name}/*
%changelog
* Fri Aug 04 2006 Deepak Bhole <dbhole@redhat.com> 0:1.3.0-9jpp.1
- Added missing requirements
* Sat Jul 22 2006 Jakub Jelinek <jakub@redhat.com> 0:1.3.0-8jpp_3fc
- Rebuilt