>>>>> "AP" == Alexander Ploumistos <alex.ploumis...@gmail.com> writes:

AP> /usr/bin/python: can't open file '/usr/lib/rpm/python-macro-helper':
AP> [Errno 2] No such file or directory

For the record, this happens because rpmlint does the equivalent of:

rpm -E %python_sitearch

by calling the expandMacro() function from the rpm python bindings.  If
you run that without rpm-build installed, rpm itself will produce that
message on stderr.  Basically any shell expansion in rpm (using %(...)
can produce stderr output and nothing seems to trap it.

I'm not sure what the best solution is; I did suggest some in the ticket
which was opened (https://bugzilla.redhat.com/show_bug.cgi?id=1577860).

 - J<
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Reply via email to