packaging a jar file

Rahul Sundaram sundaram at fedoraproject.org
Mon Mar 23 16:37:19 UTC 2009


Subhodip Biswas wrote:
> hi !
> 
> 
> On Mon, Mar 23, 2009 at 9:06 PM, Kevin Kofler <kevin.kofler at chello.at> wrote:
>> Subhodip Biswas wrote:
>>> What is the proper way to package a single  jar file as rpm?
>> 1. You'll have to build it from the source code, you can't just ship the JAR
>> as is.
>> 2. Make sure there are no other binary JARs shipped as part of the "source
>> code". If there are any of those, they'll have to be packaged separately
>> from their respective source code, so back to step 1 for each of those.
> 
> One thing is : 1) The upstream project gives code only via svn (no
> archive as for now)
>                      2) can i run rpmbuild on that svn code

Yes.

http://fedoraproject.org/wiki/Packaging/NamingGuidelines#Snapshot_packages

Rahul




More information about the fedora-devel-list mailing list