openSUSE / obs-service-set_version

An OBS source service: Update spec file version
GNU General Public License v2.0
5 stars 38 forks source link

set python interpreter properly #73

Open olafhering opened 3 years ago

olafhering commented 3 years ago

As reported here RHEL_8

[   50s] + /usr/lib/rpm/brp-python-hardlink
[   50s] + PYTHON3=/usr/libexec/platform-python
[   50s] + /usr/lib/rpm/redhat/brp-mangle-shebangs
[   50s] *** ERROR: ambiguous python shebang in /usr/lib/obs/service/set_version: #!/usr/bin/python. Change it to python3 (or python2) explicitly.
[   50s] error: Bad exit status from /var/tmp/rpm-tmp.hypdis (%install)

Not sure if there are ways to skip such checks...