[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
  Web www.spinics.net

Re: Help needed - errors while building rpm from srpm

2010/9/17 Edmon Begoli <ebegoli@xxxxxxxxx>:
> Hi,
> I used commons-codec as well as previous version of the htmlunit to
> create a new .spec file.
> I did SRPM build on FC13.
> Here are the issues I encountered:
> 1. My package POM file requires maven-release-plugin. On F13 I could
> not find any maven plugin that has to do with
>    maven and release (sudo yum search maven | grep release)

Hello Edmon, i packaged maven-release but it's sitting only in F-14
(a pre-2.0 svn snapshot) and rawhide (release tagged 2.0) right now.
It contains both maven-release-manager and maven-release-plugin

> 2. When I build the srpm (rpmbuild -bs --clean htmlunit.spec) I get
> srpm built but when I try to build rpm or to install rpm
>   I get this:
> $ rpmbuild --ba --clean SPECS/htmlunit.spec

The logs doesnt tell that much, try invoking mvn-jpp with the -X flag to get
the exception.

Your specfile needs some work beside the failing build:
- URL should be the webpage of the project
- Source should point to the actual download url:
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
- you should Require: java
- groupId in %add_to_maven_depmap is net.sourceforge.htmlunit
- verrel in changelog is 2.7-1 not 1:2.7

Guido Grazioli <guido.grazioli@xxxxxxxxx>
Via Parri 11 48011 - Alfonsine (RA)
Mobile: +39 347 1017202 (10-18)
Key FP = 7040 F398 0DED A737 7337  DAE1 12DC A698 5E81 2278
Linked in: http://www.linkedin.com/in/guidograzioli
java-devel mailing list

[Home]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Red Hat 9 Bible]     [Fedora Bible]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

Powered by Linux

  Web www.spinics.net