new packager asks for help - packaging my first Python package

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I have some basics of RPM packaging, but I have not created a package from scratch yet. I would like to package one Python package called Tesserwrap. I used the pyp2rpm program to create a spec file. The file is here:

https://fedorapeople.org/~vpolasek/tesserwrap.spec

Unfortunately the build fails because there are some installed and unpackaged files. One of them is some debug file which I would probably discard, one of them is a shared library.

/usr/lib/debug/usr/lib64/python3.8/site-packages/libtesserwrap.cpython-38-x86_64-linux-gnu.so-0.1.6-1.fc32.x86_64.debug
/usr/lib64/python3.8/site-packages/libtesserwrap.cpython-38-x86_64-linux-gnu.so

I have some questions:

1. How to ignore that installed file, e.g. do not package it? This goes for the debug file.

2. Where is some list of macros which I could use for my paths and file names? The file name of the library contains python version (cpython38). Can this be somehow expressed with macro or do I have to put there the file name manually?

Thank you very much,

Vojta
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux