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

[fedora-java] aot-compile-rpm HOWTO



A quick update on the aot-compile-rpm instructions...

Gary Benson wrote:
>     1. Remove "BuildArch: noarch"
>     2. Add "BuildRequires: java-1.4.2-gcj-compat >= 1.4.2.0-Xjpp"
>        and "Requires(post,postun)" on same.

The actual lines required for this step are:

  BuildRequires:    java-gcj-compat-devel >= 1.0.31
  Requires(post):   java-gcj-compat >= 1.0.31
  Requires(postun): java-gcj-compat >= 1.0.31

If your package is jonas or eclipse then the first line should say
1.0.33 instead of 1.0.31.

>     3. Add "aot-compile-rpm" to the very end of %install.
>     4. Add "/usr/bin/rebuild-gcj-db %{_libdir}" to %post and %postun.

This should be:

 Add "%{_bindir}/rebuild-gcj-db" to %post and %postun.

Note the lack of %{_libdir}!

>     5. Add "%attr(-,root,root) %{_libdir}/gcj/%{name}" to %files.


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