{"action":"created","issue":{"url":"https://api.github.com/repos/rpm-software-management/rpm/issues/401","repository_url":"https://api.github.com/repos/rpm-software-management/rpm","labels_url":"https://api.github.com/repos/rpm-software-management/rpm/issues/401/labels{/name}","comments_url":"https://api.github.com/repos/rpm-software-management/rpm/issues/401/comments","events_url":"https://api.github.com/repos/rpm-software-management/rpm/issues/401/events","html_url":"https://github.com/rpm-software-management/rpm/issues/401","id":300001523,"number":401,"title":"macros: closing macro on newline breaks expansion of all later macros","user":{"login":"ignatenkobrain","id":2866862,"avatar_url":"https://avatars1.githubusercontent.com/u/2866862?v=4","gravatar_id":"","url":"https://api.github.com/users/ignatenkobrain","html_url":"https://github.com/ignatenkobrain","followers_url":"https://api.github.com/users/ignatenkobrain/followers","following_url":"https://api.github.com/users/ignatenkobrain/following{/other_user}","gists_url":"https://api.github.com/users/ignatenkobrain/gists{/gist_id}","starred_url":"https://api.github.com/users/ignatenkobrain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ignatenkobrain/subscriptions","organizations_url":"https://api.github.com/users/ignatenkobrain/orgs","repos_url":"https://api.github.com/users/ignatenkobrain/repos","events_url":"https://api.github.com/users/ignatenkobrain/events{/privacy}","received_events_url":"https://api.github.com/users/ignatenkobrain/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-02-25T05:59:08Z","updated_at":"2018-02-27T07:50:58Z","closed_at":null,"author_association":"MEMBER","body":"Imagine something like this:\r\n\r\n```\r\n%ldconfig /sbin/ldconfig\r\n%ldconfig_post(n:) %{?ldconfig:%post -p %ldconfig %{?*} %{-n:-n %{-n*}}\\\r\n%end\\\r\n}\r\n%ldconfig_postun(n:) %{?ldconfig:%postun -p %ldconfig %{?*} %{-n:-n %{-n*}}\\\r\n%end\\\r\n}\r\n```\r\n\r\n```\r\n%ldconfig_post foo\r\n%ldconfig_postun foo\r\n```\r\n\r\nwill expand into\r\n\r\n```\r\n%post -p /sbin/ldconfig foo\r\n%end\r\n%ldconfig_postun foo\r\n```\r\n\r\nI have feeling once RPM encounters %end in macros file, it stops processing that file... Which is wrong"},"comment":{"url":"https://api.github.com/repos/rpm-software-management/rpm/issues/comments/368776942","html_url":"https://github.com/rpm-software-management/rpm/issues/401#issuecomment-368776942","issue_url":"https://api.github.com/repos/rpm-software-management/rpm/issues/401","id":368776942,"user":{"login":"pmatilai","id":3882389,"avatar_url":"https://avatars2.githubusercontent.com/u/3882389?v=4","gravatar_id":"","url":"https://api.github.com/users/pmatilai","html_url":"https://github.com/pmatilai","followers_url":"https://api.github.com/users/pmatilai/followers","following_url":"https://api.github.com/users/pmatilai/following{/other_user}","gists_url":"https://api.github.com/users/pmatilai/gists{/gist_id}","starred_url":"https://api.github.com/users/pmatilai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmatilai/subscriptions","organizations_url":"https://api.github.com/users/pmatilai/orgs","repos_url":"https://api.github.com/users/pmatilai/repos","events_url":"https://api.github.com/users/pmatilai/events{/privacy}","received_events_url":"https://api.github.com/users/pmatilai/received_events","type":"User","site_admin":false},"created_at":"2018-02-27T07:50:58Z","updated_at":"2018-02-27T07:50:58Z","author_association":"CONTRIBUTOR","body":"Inserting an empty line between } and %bbb also works around it."}}
{"actor":{"display_login":"pmatilai"}}