{"action":"created","issue":{"url":"https://api.github.com/repos/freeorion/freeorion/issues/333","repository_url":"https://api.github.com/repos/freeorion/freeorion","labels_url":"https://api.github.com/repos/freeorion/freeorion/issues/333/labels{/name}","comments_url":"https://api.github.com/repos/freeorion/freeorion/issues/333/comments","events_url":"https://api.github.com/repos/freeorion/freeorion/issues/333/events","html_url":"https://github.com/freeorion/freeorion/issues/333","id":105814066,"number":333,"title":"CMake:  Wrong libdir when installing on some systems/archs","user":{"login":"raptor","id":6452412,"avatar_url":"https://avatars.githubusercontent.com/u/6452412?v=3","gravatar_id":"","url":"https://api.github.com/users/raptor","html_url":"https://github.com/raptor","followers_url":"https://api.github.com/users/raptor/followers","following_url":"https://api.github.com/users/raptor/following{/other_user}","gists_url":"https://api.github.com/users/raptor/gists{/gist_id}","starred_url":"https://api.github.com/users/raptor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raptor/subscriptions","organizations_url":"https://api.github.com/users/raptor/orgs","repos_url":"https://api.github.com/users/raptor/repos","events_url":"https://api.github.com/users/raptor/events{/privacy}","received_events_url":"https://api.github.com/users/raptor/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/freeorion/freeorion/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"adrianbroher","id":84891,"avatar_url":"https://avatars.githubusercontent.com/u/84891?v=3","gravatar_id":"","url":"https://api.github.com/users/adrianbroher","html_url":"https://github.com/adrianbroher","followers_url":"https://api.github.com/users/adrianbroher/followers","following_url":"https://api.github.com/users/adrianbroher/following{/other_user}","gists_url":"https://api.github.com/users/adrianbroher/gists{/gist_id}","starred_url":"https://api.github.com/users/adrianbroher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrianbroher/subscriptions","organizations_url":"https://api.github.com/users/adrianbroher/orgs","repos_url":"https://api.github.com/users/adrianbroher/repos","events_url":"https://api.github.com/users/adrianbroher/events{/privacy}","received_events_url":"https://api.github.com/users/adrianbroher/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/freeorion/freeorion/milestones/15","html_url":"https://github.com/freeorion/freeorion/milestones/Next%20release","labels_url":"https://api.github.com/repos/freeorion/freeorion/milestones/15/labels","id":1226316,"number":15,"title":"Next release","description":"Bugs, features and pull requests that should be fixed until next release.","creator":{"login":"adrianbroher","id":84891,"avatar_url":"https://avatars.githubusercontent.com/u/84891?v=3","gravatar_id":"","url":"https://api.github.com/users/adrianbroher","html_url":"https://github.com/adrianbroher","followers_url":"https://api.github.com/users/adrianbroher/followers","following_url":"https://api.github.com/users/adrianbroher/following{/other_user}","gists_url":"https://api.github.com/users/adrianbroher/gists{/gist_id}","starred_url":"https://api.github.com/users/adrianbroher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrianbroher/subscriptions","organizations_url":"https://api.github.com/users/adrianbroher/orgs","repos_url":"https://api.github.com/users/adrianbroher/repos","events_url":"https://api.github.com/users/adrianbroher/events{/privacy}","received_events_url":"https://api.github.com/users/adrianbroher/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":190,"state":"open","created_at":"2015-07-26T16:21:09Z","updated_at":"2016-03-14T14:57:02Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2015-09-10T14:09:22Z","updated_at":"2016-03-14T22:18:09Z","closed_at":"2016-03-10T20:13:00Z","body":"Running `make install` on some systems (e.g. openSUSE x86_64) will use the libdir of `lib` instead of `lib64` like it should.  \r\nI can currently work around this by running a CMake command with the `LIBSUFFIX` variable like this:\r\n```\r\ncmake -DLIB_SUFFIX=64 ..\r\n```\r\nI think the proper way to fix this is to use the interal CMake variable `%{CMAKE_INSTALL_LIBDIR}` in the install portion of the game instead.  This variable properly picks up the system libdir, whether it be `lib32`, `lib`, or `lib64`, etc."},"comment":{"url":"https://api.github.com/repos/freeorion/freeorion/issues/comments/196545214","html_url":"https://github.com/freeorion/freeorion/issues/333#issuecomment-196545214","issue_url":"https://api.github.com/repos/freeorion/freeorion/issues/333","id":196545214,"user":{"login":"raptor","id":6452412,"avatar_url":"https://avatars.githubusercontent.com/u/6452412?v=3","gravatar_id":"","url":"https://api.github.com/users/raptor","html_url":"https://github.com/raptor","followers_url":"https://api.github.com/users/raptor/followers","following_url":"https://api.github.com/users/raptor/following{/other_user}","gists_url":"https://api.github.com/users/raptor/gists{/gist_id}","starred_url":"https://api.github.com/users/raptor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raptor/subscriptions","organizations_url":"https://api.github.com/users/raptor/orgs","repos_url":"https://api.github.com/users/raptor/repos","events_url":"https://api.github.com/users/raptor/events{/privacy}","received_events_url":"https://api.github.com/users/raptor/received_events","type":"User","site_admin":false},"created_at":"2016-03-14T22:18:09Z","updated_at":"2016-03-14T22:18:09Z","body":"Hi, thanks for supporting this.  That comment in my SPEC file regarding RPATH was made a long time ago (probably with freeorion 0.4.3) and I don't remember the reasoning at the time - packaging rules may have been slightly different.  Thanks for investigating and finding that it doesn't apply anymore.  I'm actually surprised fedora still doesn't seem to have a freeorion package built from someone in their community.\r\n\r\nI'll update the package and test your changes when I can, hopefully soon.  "}}