{"action":"closed","issue":{"url":"https://api.github.com/repos/fedora-python/pyp2rpm/issues/29","labels_url":"https://api.github.com/repos/fedora-python/pyp2rpm/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/fedora-python/pyp2rpm/issues/29/comments","events_url":"https://api.github.com/repos/fedora-python/pyp2rpm/issues/29/events","html_url":"https://github.com/fedora-python/pyp2rpm/issues/29","id":94738190,"number":29,"title":"Unable to build because try to use __python3 macro","user":{"login":"mcyprian","id":12859854,"avatar_url":"https://avatars.githubusercontent.com/u/12859854?v=3","gravatar_id":"","url":"https://api.github.com/users/mcyprian","html_url":"https://github.com/mcyprian","followers_url":"https://api.github.com/users/mcyprian/followers","following_url":"https://api.github.com/users/mcyprian/following{/other_user}","gists_url":"https://api.github.com/users/mcyprian/gists{/gist_id}","starred_url":"https://api.github.com/users/mcyprian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcyprian/subscriptions","organizations_url":"https://api.github.com/users/mcyprian/orgs","repos_url":"https://api.github.com/users/mcyprian/repos","events_url":"https://api.github.com/users/mcyprian/events{/privacy}","received_events_url":"https://api.github.com/users/mcyprian/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-13T14:46:49Z","updated_at":"2015-07-13T14:46:50Z","closed_at":"2015-07-13T14:46:50Z","body":"HI,\n  I'm trying to use the module to build some rpm in a machine with python2.7 installed vía software collections http://wiki.centos.org/AdditionalResources/Repositories/SCL with this command:\n\npyp2rpm -n Babel -b 27-python --srpm\n\nand then rebuild it with:\n\nrpmbuild --rebuild rpmbuild/SRPMS/python27-python-Babel-1.3-1.el6.src.rpm\n\nbut I get this error:\n\n+ cd Babel-1.3\n+ '%{__python3}' setup.py build\n/var/tmp/rpm-tmp.fdZaGH: line 28: fg: no job control\nerror: Bad exit status from /var/tmp/rpm-tmp.fdZaGH (%build)\n\n\nRPM build errors:\n    Bad exit status from /var/tmp/rpm-tmp.fdZaGH (%build)\n\nWhy is trying to use %{__python3} macro?\n\nthe complete output is in the file attached.\n\n----------------------------------------\n- Bitbucket: https://bitbucket.org/bkabrda/pyp2rpm/issue/28\n- Originally reported by: Kike Escorihuela Navarro\n- Originally created at: 2015-05-15T11:25:05.726\n"}}