Hi Rahul,

As Christophe pointed out, Spark has been in Fedora Rawhide (which will become 
Fedora 21) for a little while now.  (I haven't announced it here because 
Rawhide is a little too bleeding-edge for most end-users.)  With native 
packages of any kind, there are a couple of considerations:

1.  do we have a particular sort of container for executable artifacts and 
dependency metadata?
2.  do we have a package that meets certain criteria for system integration and 
repeatable builds?

Many users (and installations) are only concerned about issue #1:  they would 
like a package that they can install and remove easily (perhaps automatically). 
 Most downstream operating system distributions (like Fedora and Debian) are 
also concerned with issue #2, which is really the hard part in a lot of cases.  
(There are good reasons to care about both, of course!)

If *you're* only worried about issue #1, then you have a couple of options:

1.  The Apache Bigtop project does a great job of producing produces Spark 
binaries (as well as many Hadoop ecosystem projects) in RPM containers, or
2.  I'm happy to give you some guidance for how to modify the Fedora Spark spec 
file to produce Spark binaries in an RPM container that doesn't meet Fedora 
packaging guidelines.  (Note that you don't have to maintain explicit file 
lists in a spec file in general, and certainly not in this case.)



best,
wb


----- Original Message -----
> From: "Rahul Singhal" <[email protected]>
> To: [email protected]
> Sent: Friday, April 4, 2014 2:43:48 PM
> Subject: Re: How to create a RPM package
> 
> 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
> <[email protected]<mailto:[email protected]>>
> Reply-To: "[email protected]<mailto:[email protected]>"
> <[email protected]<mailto:[email protected]>>
> Date: Friday 4 April 2014 7:55 PM
> To: "[email protected]<mailto:[email protected]>"
> <[email protected]<mailto:[email protected]>>
> 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 € 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