{"action":"closed","issue":{"url":"https://api.github.com/repos/fedora-python/python-rpm-porting/issues/16","repository_url":"https://api.github.com/repos/fedora-python/python-rpm-porting","labels_url":"https://api.github.com/repos/fedora-python/python-rpm-porting/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/fedora-python/python-rpm-porting/issues/16/comments","events_url":"https://api.github.com/repos/fedora-python/python-rpm-porting/issues/16/events","html_url":"https://github.com/fedora-python/python-rpm-porting/issues/16","id":152737286,"number":16,"title":"%py*_install sets shebangs automatically","user":{"login":"encukou","id":302922,"avatar_url":"https://avatars.githubusercontent.com/u/302922?v=3","gravatar_id":"","url":"https://api.github.com/users/encukou","html_url":"https://github.com/encukou","followers_url":"https://api.github.com/users/encukou/followers","following_url":"https://api.github.com/users/encukou/following{/other_user}","gists_url":"https://api.github.com/users/encukou/gists{/gist_id}","starred_url":"https://api.github.com/users/encukou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/encukou/subscriptions","organizations_url":"https://api.github.com/users/encukou/orgs","repos_url":"https://api.github.com/users/encukou/repos","events_url":"https://api.github.com/users/encukou/events{/privacy}","received_events_url":"https://api.github.com/users/encukou/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-03T09:51:26Z","updated_at":"2016-05-05T15:24:20Z","closed_at":"2016-05-05T15:24:20Z","body":"In many cases, it's not necessary to rewrite shebangs in %prep, because setuptools sets shebangs of scripts it installs. So the `find`/`sed` lines should only be necessary if [setuptools entry points](https://pythonhosted.org/setuptools/setuptools.html#automatic-script-creation) are not used, for example if executables are copied to `/usr/bin` directly using `cp` or `make`."}}