[Fedora-packaging] packaging python applications

Kamal Ahmed kamal2222ahmed at yahoo.com
Thu May 3 22:01:09 UTC 2012


I apologize for the context. Here is what i am trying to do:

I have a Custom Application, that i managed to build RPM for.
Now this application has some dependencies, like ZSI ( a Python Soap Framework ) 

what i am trying to do , is to package ZSI as part of the RPM.
hence:

Source0: core-0.2.tar.gz
Source1: ZSI-2.1-a1.tar.gz


%prep
%setup -qn core
%setup -q -n ZSI-2.1-a1



%build
#make core hnb_oct
%{__make} core hnb_oct
#%{__python} setup.py build
%{__python} ZSI-2.1-a1/setup.py build


But i get error:

+ cd ZSI-2.1-a1
/var/tmp/rpm-tmp.63811: line 47: cd: ZSI-2.1-a1: No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.63811 (%prep)


1. is it possible to to build ZSI as part of this RPM ? I see that openssh does it by packaging client and server in one RPM.
2. I could not find any example that is close to what i am trying to do.

Thanks,
-Kamal.


>________________________________
> From: Michael Schwendt <mschwendt at gmail.com>
>To: packaging at lists.fedoraproject.org 
>Sent: Thursday, May 3, 2012 5:46 PM
>Subject: Re: [Fedora-packaging] packaging python applications
> 
>On Thu, 3 May 2012 14:40:42 -0700 (PDT), KA (Kamal) wrote:
>
>> Could it be that RPM Does not support building multiple applications ?
>> 
>> I have a custom binary package, and since ZSI is a pre-requisite, i am trying to make XSI part of this RPM, so when the rpm is installed the dependency gets installed as well
>> 
>
>Try to give more context rather than less, please. Take your time when
>submitting questions.
>
>There are a lot of knowledgable packagers on this list, but so far it's
>very difficult to understand what you're trying to do and how and why.
>Related to what you've written above, I have no idea what you refer to.
>
>-- 
>Fedora release 17 (Beefy Miracle) - Linux 3.3.4-1.fc17.x86_64
>loadavg: 0.00 0.01 0.07
>--
>packaging mailing list
>packaging at lists.fedoraproject.org
>https://admin.fedoraproject.org/mailman/listinfo/packaging
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/packaging/attachments/20120503/234cf35b/attachment.html>


More information about the packaging mailing list