On Thu, 4 Feb 2016 18:31:12 +0000
Neale Ferguson <[email protected]> wrote:
> I am building an RPM that uses python. For some reason the rpm build
> process determines that python3 is required by the package, despite no
> reference being made to python3 and everything being built by python2.7.
> Here’s the line from the build that rpm build prints:
>
> Requires: /bin/bash /bin/sh /usr/bin/env /usr/bin/python /usr/bin/python3
> python(abi) = 2.7
IIRC such Requires: are added automagically by rpmbuild after
inspecting the shebang lines in executable scripts.
Dan
>
> I have built several python packages using rpmbuild but this is the only
> one coming up with this dependency.
>
> Does anyone have ideas?
>
> Neale
>
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO LINUX-390 or visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
> ----------------------------------------------------------------------
> For more information on Linux on System z, visit
> http://wiki.linuxvm.org/
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/