View previous topic :: View next topic |
Author |
Message |
pcpa
Joined: 08 May 2012 Posts: 3
|
Posted: Tue May 08, 2012 1:31 am Post subject: Some problems when packaging miniupnpc |
|
|
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 |
|
 |
pcpa
Joined: 08 May 2012 Posts: 3
|
|
Back to top |
|
 |
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1589
|
Posted: Wed May 09, 2012 8:38 am Post subject: |
|
|
Indeed I dont maintain the CMakeLists.txt as I should do... _________________ Main miniUPnP author.
https://miniupnp.tuxfamily.org/ |
|
Back to top |
|
 |
pcpa
Joined: 08 May 2012 Posts: 3
|
Posted: Thu May 31, 2012 11:25 pm Post subject: |
|
|
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 |
|
 |
|