Added missing requirements.
This commit is contained in:
parent
fa6c416b21
commit
29faa072da
16
bsh.spec
16
bsh.spec
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user