Added missing requirements.
This commit is contained in:
parent
fa6c416b21
commit
29faa072da
16
bsh.spec
16
bsh.spec
@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
Name: bsh
|
Name: bsh
|
||||||
Version: 1.3.0
|
Version: 1.3.0
|
||||||
Release: 8jpp_3fc
|
Release: 9jpp.1
|
||||||
Epoch: 0
|
Epoch: 0
|
||||||
Summary: Lightweight Scripting for Java
|
Summary: Lightweight Scripting for Java
|
||||||
License: LGPL
|
License: LGPL
|
||||||
@ -89,6 +89,8 @@ Documentation for %{name}.
|
|||||||
%package javadoc
|
%package javadoc
|
||||||
Summary: Javadoc for %{name}
|
Summary: Javadoc for %{name}
|
||||||
Group: Development/Java
|
Group: Development/Java
|
||||||
|
Requires(post): /bin/rm,/bin/ln
|
||||||
|
Requires(postun): /bin/rm
|
||||||
|
|
||||||
%description javadoc
|
%description javadoc
|
||||||
Javadoc for %{name}.
|
Javadoc for %{name}.
|
||||||
@ -209,6 +211,15 @@ cat scripts/bshdoc.bsh >> $RPM_BUILD_ROOT%{_bindir}/%{name}doc
|
|||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
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
|
%post
|
||||||
%if %{gcj_support}
|
%if %{gcj_support}
|
||||||
if [ -x %{_bindir}/rebuild-gcj-db ]
|
if [ -x %{_bindir}/rebuild-gcj-db ]
|
||||||
@ -250,6 +261,9 @@ fi
|
|||||||
%{_datadir}/%{name}/*
|
%{_datadir}/%{name}/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Sat Jul 22 2006 Jakub Jelinek <jakub@redhat.com> 0:1.3.0-8jpp_3fc
|
||||||
- Rebuilt
|
- Rebuilt
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user