On 24.5.2018 04:30, Chris Adams wrote:
Once upon a time, Adam Williamson <adamwill(a)fedoraproject.org>
said:
> The
> packager could always just add BuildRequires python-unversioned-command
> to "fix" the problem, which is probably the fix we don't want them to
> do, but at least then we have a handy way to identify recalcitrant
> packages
So, I have no stake in this, just trying to understand this part (since
I've seen it a couple of times in this thread): how is this different
than "dnf repoquery --whatrequires /usr/bin/python"?
This will give you only packages with this shebang (we change those, so
it will not be plenty). And packages where maintainers explicitly
require this. They usually don't.
Our change makes them to explicitly (build)require it. So we then can
actually run:
dnf repoquery --disablerepo='*' --enablerepo='rawhide-source'
--whatrequires /usr/bin/python
(Also, probably with python-unversioned-command, because we want the
packagers to require the executable, not the package, however,t hey will
do both.)
--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok