Barry Scott wrote:
> On 13 Mar 2020, at 17:33, Todd Zullinger <tmz(a)pobox.com>
wrote:
>
> I would guess it's from a shebang in one of the scripts
> within the package. But I don't know what's in the
> ods-python-pylint package so I can only guess.
I fixed up all the shebangs to be #!/usr/bin/python2.7 and
that did not fix it.
Then I rm'ed all the files with a '#!' in the first line.
Then I rm'ed the egg stuff (I think the find_requires
logic can dig something out of it)
What I expected to use is rpm -q -R would print the
/usr/bin/python requirement, but it does not.
Perhaps it's somehow a weak dep, i.e. Recommends or
Suggests? That doesn't seem too likely, but might be worth
checking (rpm -qp --recommends --requires --suggests <rpm>).
Is it possible that the package you're getting from
dnf install -y ods-python-pylint
isn't the one you're querying with rpm? You could try using
the path to the ods-python-pylint rpm rather than pulling it
from a repo.
If you have the package spec files and/or srpms online,
maybe someone will spot the issue, if it's in the packaging.
--
Todd