On 03/09/2010 08:31 AM, Andrew Haley wrote:
%if %{gcj_support}
BuildRequires: java-gcj-compat-devel
-Requires(post): java-gcj-compat
-Requires(postun): java-gcj-compat
%endif
%description
and it's fine. There's no need AFAICS for a Requires: on java-gcj-compat.
We used this method in Mandriva. We also changed the %post/%postun to
if [ -x /usr/bin/rebuild-gcj-db ]; then /usr/bin/rebuild-gcj-db || true ; fi
--
Sincerely,
David Walluck
<david(a)zarb.org>