bootchart packager?

Ziga Mahkovec ziga.mahkovec at klika.si
Tue May 24 15:59:02 UTC 2005


On Mon, 2005-05-23 at 22:39 -0400, Ignacio Vazquez-Abrams wrote:
> On Mon, 2005-05-23 at 22:29 -0400, Bill Nottingham wrote:
> > It requires jakarta-commons-somethingorother to build,
> 
> Really? While I did see some "extension missing" errors from ant and a
> buttload of warnings when compiling it I did get a jar at the end of
> compiling it. Now I need to figure out what to put in %install...

Did you start from the SRPM that's available at the download page?  It's
jpackage compliant, so it shouldn't require many changes.

Bill is right about the jakarta-commons-cli requirement though.  The
library sources are bundled, but they are removed prior to %build (and I
forgot to add the necessary BuildRequires).  So unless jakarta-commons-
cli is imported from jpackage, the following change is needed in the
spec file:

=====
@@ -48,9 +48,7 @@
 %setup -q

 %build
-# Remove the bundled commons-cli
-rm -rf lib/org/apache/commons/cli lib/org/apache/commons/lang
-CLASSPATH=%{_javadir}/commons-cli.jar ant
+ant

 %install
 rm -rf $RPM_BUILD_ROOT
=====


I'll see what I can do about the warnings -- ecj is very noisy by
default.

-- 
Ziga




More information about the fedora-extras-list mailing list