Fedora 30 - RPM Build
When creating the rpm package for Fedora 30, the following errors are displayed.mangling shebang in /usr/bin/tvhmeta from /usr/bin/env python2.7 to #!/usr/bin/python2.7
- ERROR: ambiguous python shebang in /usr/bin/tv_meta_tmdb.py: #!/usr/bin/env python. Change it to python3 (or python2) explicitly.
- ERROR: ambiguous python shebang in /usr/bin/tv_meta_tvdb.py: #!/usr/bin/env python. Change it to python3 (or python2) explicitly.
- WARNING: ./usr/share/tvheadend/data/dvb-scan/dvb-t/au-Adelaide is executable but has empty or no shebang, removing executable bit
Fehler: Fehler-Status beim Beenden von /var/tmp/rpm-tmp.Hil9Fc (%install)
I was able to fix the bug based on this patch I created. For me it goes so far very well, but I have too little knowledge of building Python -> Tvheadend so I ask you to check the patch.
Updated by André Weiler almost 2 years ago
Hmm should not the software be adapted to the system? Or is it better to adapt the system to the software.
Fedora 30 wants to finally switch to Python 3 and cut off old braids !!!
As I said my knowledge only modest. I made the suggestion of the rpm-builder consequence.