miniupnp.tuxfamily.org Forum Index miniupnp.tuxfamily.org
The forum about miniupnp and libnatpmp
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Some problems when packaging miniupnpc

 
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpc Bugs
View previous topic :: View next topic  
Author Message
pcpa



Joined: 08 May 2012
Posts: 3

PostPosted: Tue May 08, 2012 1:31 am    Post subject: Some problems when packaging miniupnpc Reply with quote

I am making a miniupnpc package available for review in Fedora, and would
like to report the patches I did need to add, as well attend as any suggestions
for the way the packaging is done. The fedora review request is at
(cannot add link to first post...)

The patches should be trivial, but of special attentation should be the patch
to create
/usr/lib64/libminiupnpc.so.8
and not make it a symlink to
/usr/lib64/libminiupnpc.so.1.5

also, CMakeLists.txt sets MINIUPNPC_VERSION to 1.5 what I am not sure
if is on purpose, given that the tarball is named miniupnpc-1.6, as well as
the VERSION file.
Back to top
View user's profile Send private message
pcpa



Joined: 08 May 2012
Posts: 3

PostPosted: Tue May 08, 2012 1:32 am    Post subject: Reply with quote

The package review request is at
https://bugzilla.redhat.com/show_bug.cgi?id=817311
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1469

PostPosted: Wed May 09, 2012 8:38 am    Post subject: Reply with quote

Indeed I dont maintain the CMakeLists.txt as I should do...
_________________
Main miniUPnP author.
http://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
pcpa



Joined: 08 May 2012
Posts: 3

PostPosted: Thu May 31, 2012 11:25 pm    Post subject: Reply with quote

I am now finally making a request for the package to
be added to Fedora. The only other issues I noticed,
after a request to build the python module was the
need of this in the %prep section of spec:

sed -i "s|\(\tpython setup.py install\)$|\1 --root=\$(DESTDIR)/|" Makefile
sed -i 's/"1\.5"/"%{version}"/' setup.py

so that it creates a python module with the proper
version, and also allows using DESTDIR for the
installpythonmodule target.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpc Bugs All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP
© 2007 Thomas Bernard, author of MiniUPNP.