{"action":"created","issue":{"url":"https://api.github.com/repos/openSUSE/open-build-service/issues/987","labels_url":"https://api.github.com/repos/openSUSE/open-build-service/issues/987/labels{/name}","comments_url":"https://api.github.com/repos/openSUSE/open-build-service/issues/987/comments","events_url":"https://api.github.com/repos/openSUSE/open-build-service/issues/987/events","html_url":"https://github.com/openSUSE/open-build-service/issues/987","id":96040433,"number":987,"title":"Incorrect expansion of some macros","user":{"login":"jengelh","id":8861948,"avatar_url":"https://avatars.githubusercontent.com/u/8861948?v=3","gravatar_id":"","url":"https://api.github.com/users/jengelh","html_url":"https://github.com/jengelh","followers_url":"https://api.github.com/users/jengelh/followers","following_url":"https://api.github.com/users/jengelh/following{/other_user}","gists_url":"https://api.github.com/users/jengelh/gists{/gist_id}","starred_url":"https://api.github.com/users/jengelh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jengelh/subscriptions","organizations_url":"https://api.github.com/users/jengelh/orgs","repos_url":"https://api.github.com/users/jengelh/repos","events_url":"https://api.github.com/users/jengelh/events{/privacy}","received_events_url":"https://api.github.com/users/jengelh/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openSUSE/open-build-service/labels/backend","name":"backend","color":"66FFcc"},{"url":"https://api.github.com/repos/openSUSE/open-build-service/labels/Bug","name":"Bug","color":"e11d21"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-20T11:03:31Z","updated_at":"2015-07-20T13:37:10Z","closed_at":"2015-07-20T13:37:10Z","body":"prjconf of home:jengelh:dev contains\r\n```\r\n%if 0%{?rhel_version} > 0 || 0%{?centos_version} > 0\r\n%define FOO 1\r\n%endif\r\n\r\nMacros:\r\n%if 0%{?rhel_version} > 0 || 0%{?centos_version} > 0\r\n%BOO 1\r\n%endif\r\n:Macros\r\n```\r\nthese lines cause the package `home:jengelh:dev/anotherbug` to enter the state: `unresolved: nothing provides gcc5-c++` for the RHEL/centos6 targets, which I think is an error."},"comment":{"url":"https://api.github.com/repos/openSUSE/open-build-service/issues/comments/122886483","html_url":"https://github.com/openSUSE/open-build-service/issues/987#issuecomment-122886483","issue_url":"https://api.github.com/repos/openSUSE/open-build-service/issues/987","id":122886483,"user":{"login":"mlschroe","id":946612,"avatar_url":"https://avatars.githubusercontent.com/u/946612?v=3","gravatar_id":"","url":"https://api.github.com/users/mlschroe","html_url":"https://github.com/mlschroe","followers_url":"https://api.github.com/users/mlschroe/followers","following_url":"https://api.github.com/users/mlschroe/following{/other_user}","gists_url":"https://api.github.com/users/mlschroe/gists{/gist_id}","starred_url":"https://api.github.com/users/mlschroe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlschroe/subscriptions","organizations_url":"https://api.github.com/users/mlschroe/orgs","repos_url":"https://api.github.com/users/mlschroe/repos","events_url":"https://api.github.com/users/mlschroe/events{/privacy}","received_events_url":"https://api.github.com/users/mlschroe/received_events","type":"User","site_admin":false},"created_at":"2015-07-20T13:37:10Z","updated_at":"2015-07-20T13:37:10Z","body":"Not a bug. Your Macros: section defines a %if macro. This is probably not what you want. ;-)\r\n\r\nTry:\r\n```\r\n%if 0%{?rhel_version} > 0 || 0%{?centos_version} > 0\r\nMacros:\r\n%BOO 1\r\n:Macros\r\n%endif\r\n```"}}