We might be able to incorporate the maven rpm plugin into our build. If
that can be done in an elegant way it would be nice to have that
distribution target for people who wanted to try this with arbitrary Spark
versions...

Personally I have no familiarity with that plug-in, so curious if anyone in
the community has feedback from trying this.

- Patrick


On Fri, Apr 4, 2014 at 12:43 PM, Rahul Singhal <rahul.sing...@guavus.com>wrote:

>   Hi Christophe,
>
>  Thanks for your reply and the spec file. I have solved my issue for now.
> I didn't want to rely building spark using the spec file (%build section)
> as I don't want to be maintaining the list of files that need to be
> packaged. I ended up adding maven build support to make-distribution.sh.
> This script produces a tar ball which I can then use to create a RPM
> package.
>
>   Thanks,
> Rahul Singhal
>
>   From: Christophe Préaud <christophe.pre...@kelkoo.com>
> Reply-To: "user@spark.apache.org" <user@spark.apache.org>
> Date: Friday 4 April 2014 7:55 PM
> To: "user@spark.apache.org" <user@spark.apache.org>
> Subject: Re: How to create a RPM package
>
>   Hi Rahul,
>
> Spark will be available in Fedora 21 (see:
> https://fedoraproject.org/wiki/SIGs/bigdata/packaging/Spark), currently
> scheduled on 2014-10-14 but they already have produced spec files and
> source RPMs.
> If you are stuck with EL6 like me, you can have a look at the attached
> spec file, which you can probably adapt to your need.
>
> Christophe.
>
> On 04/04/2014 09:10, Rahul Singhal wrote:
>
>  Hello Community,
>
>  This is my first mail to the list and I have a small question. The maven
> build 
> page<http://spark.apache.org/docs/latest/building-with-maven.html#building-spark-debian-packages>
>  mentions
> a way to create a debian package but I was wondering if there is a simple
> way (preferably through maven) to create a RPM package. Is there a script
> (which is probably used for spark releases) that I can get my hands on? Or
> should I write one on my own?
>
>  P.S. I don't want to use the "alien" software to convert a debian
> package to a RPM.
>
>   Thanks,
>  Rahul Singhal
>
>
>
> ------------------------------
> Kelkoo SAS
> Société par Actions Simplifiée
> Au capital de EURO 4.168.964,30
> Siège social : 8, rue du Sentier 75002 Paris
> 425 093 069 RCS Paris
>
> Ce message et les pièces jointes sont confidentiels et établis à
> l'attention exclusive de leurs destinataires. Si vous n'êtes pas le
> destinataire de ce message, merci de le détruire et d'en avertir
> l'expéditeur.
>

Reply via email to