[packagers] Packaging a Python application (Wine-doors)

Joe Harnish bigjoe1008 at gmail.com
Tue Jul 24 01:10:01 CEST 2007


I know you guy's aren't rpm.org but I know you guys package some of
the harder things to build and package.  So here is my question.

I am building an rpm for wine-doors.  Which is a python based
application.  when I build it with
--prefix=/var/tmp/%{name}-%{version}-root/ it hard codes that into the
pyc files.  So when it references prefix it is always set to that.  I
found that there is normally a --temp in the setup.py file to tell it
that it is a temporary prefix.

I also would like it if could tell me if there is a better way to do
symlinks in rpm packages.   I have fixed up the spec file from what
they had and it works, sort of, it installs ( but can't find any
configs because of the previous prefix issue), it doesn't upgrade at
all.  Complains about the symlinks and I think it leaves the symlinks
upon an rpm -e.

Thanks for any help.

--Joe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wine-doors.spec
Type: application/octet-stream
Size: 6349 bytes
Desc: not available
Url : http://lists.rpmforge.net/pipermail/packagers/attachments/20070723/0869c4ec/wine-doors.obj


More information about the packagers mailing list