On Mon, Jan 14, 2019 at 5:02 PM Neal Gompa <ngompa13@xxxxxxxxx> wrote: > > On Mon, Jan 14, 2019 at 4:57 PM Rex Dieter <rdieter@xxxxxxxxx> wrote: > > > > Troy Dawson wrote: > > > > > But I've hit a package I'm having issues with, due to python vs > > > python2/python3. qt5-qtwebengine > > > For starters, it has a buildrequires for /usr/bin/python and is > > > running "python <command>" in the %prep section. > > > > Are you saying nothing in rhel8 provides /usr/bin/python ? > > > > Nothing provides it. The reason given: nobody could agree what to do here[1]. > > The easy trick that I use for this is make a symlink to a custom path > and add it to the PATH in the package build. > > Something like this: > mkdir -p .test-bin > ln -sf /usr/bin/python2 .link-bin/python > export PATH=$PWD/.link-bin:$PATH > > This trick works if it's only a build-time requirement. > > Alternatively, you can try to fix the shebangs everywhere... > > [1]: https://developers.redhat.com/blog/2018/11/27/what-no-python-in-rhel-8-beta/ > Sorry, I mean "mkdir -p .link-bin" for the first command. -- 真実はいつも一つ!/ Always, there's only one truth! _______________________________________________ kde mailing list -- kde@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to kde-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kde@xxxxxxxxxxxxxxxxxxxxxxx