On Mon, May 20, 2019 at 8:10 AM Peter Pentchev <r...@ringlet.net> wrote:
> On Mon, May 20, 2019 at 07:58:09AM -0500, Richard Shaw wrote: > > > > I cobbled this together for the spec file but it may need work: > > > > %define py_suffix %(%{__python3} -c 'import sysconfig; > > sysconfig.get_config_var("SOABI")') > > Erm, I think you'd get better results with a "print" thrown in there; > the interactive REPL interpreter shows you the value, but if you run > this through python3 -c, it will not actually output it to the standard > output unless you tell it to. Maybe try: > > ... -c 'import sysconfig; print(sysconfig.get_config_var("SOABI"))' > Ok, I added that and it appears to be working (running a scratch build now) but I do seem to inconsistently get a fg: no job control error but it doesn't seem to hurt anything. Thanks, Richard
_______________________________________________ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org 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/devel@lists.fedoraproject.org