{"action":"opened","issue":{"url":"https://api.github.com/repos/corrad1nho/qomui/issues/20","repository_url":"https://api.github.com/repos/corrad1nho/qomui","labels_url":"https://api.github.com/repos/corrad1nho/qomui/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/corrad1nho/qomui/issues/20/comments","events_url":"https://api.github.com/repos/corrad1nho/qomui/issues/20/events","html_url":"https://github.com/corrad1nho/qomui/issues/20","id":350037793,"node_id":"MDU6SXNzdWUzNTAwMzc3OTM=","number":20,"title":"[Help wanted] Building rpm packages ","user":{"login":"corrad1nho","id":38220367,"node_id":"MDQ6VXNlcjM4MjIwMzY3","avatar_url":"https://avatars2.githubusercontent.com/u/38220367?v=4","gravatar_id":"","url":"https://api.github.com/users/corrad1nho","html_url":"https://github.com/corrad1nho","followers_url":"https://api.github.com/users/corrad1nho/followers","following_url":"https://api.github.com/users/corrad1nho/following{/other_user}","gists_url":"https://api.github.com/users/corrad1nho/gists{/gist_id}","starred_url":"https://api.github.com/users/corrad1nho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/corrad1nho/subscriptions","organizations_url":"https://api.github.com/users/corrad1nho/orgs","repos_url":"https://api.github.com/users/corrad1nho/repos","events_url":"https://api.github.com/users/corrad1nho/events{/privacy}","received_events_url":"https://api.github.com/users/corrad1nho/received_events","type":"User","site_admin":false},"labels":[{"id":898518689,"node_id":"MDU6TGFiZWw4OTg1MTg2ODk=","url":"https://api.github.com/repos/corrad1nho/qomui/labels/help%20wanted","name":"help wanted","color":"008672","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-13T13:48:53Z","updated_at":"2018-08-13T13:48:53Z","closed_at":null,"author_association":"OWNER","body":"Hey,\r\n\r\nI'm looking for someone that could possibly help me building better rpm-packages for qomui. Currently, I'm building these on Arch Linux. The problem I came across recently is that Arch updated Python to version 3.7. which resulted in all python files being moved to /usr/lib/python3.7/site-packages/qomui during the install stage on building the rpm package. On a Fedora installation with Python 3.6. starting Qomui hence fails as the automatically generated console scripts (e.g. /usr/bin/qomui-gui) assume files to be at  /usr/lib/python3.6/site-packages/qomui. This problem does not occur on Debian/Ubuntu as the python package can easily be moved to \"/usr/lib/python3/dist-packages\".\r\n\r\nIn short, is it necessary to build different rpms for each version of Python (and if so, can this be automated?)? Or is there are more flexible solution? As for now, Python 3.6 is standard on current Fedora releases but what happens if the next release includes Python 3.7? For the latest release I used a rather ugly hack to get around the problem by adding \"--install-purelib=/usr/lib/python3.6/site-packages\" to the setup.py install parameters. Have a look at my qomui-spec: \r\n[qomui.txt](https://github.com/corrad1nho/qomui/files/2283110/qomui.txt)"}}
{"actor":{"display_login":"corrad1nho"}}