{"action":"created","issue":{"url":"https://api.github.com/repos/juhp/cabal-rpm/issues/28","repository_url":"https://api.github.com/repos/juhp/cabal-rpm","labels_url":"https://api.github.com/repos/juhp/cabal-rpm/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/juhp/cabal-rpm/issues/28/comments","events_url":"https://api.github.com/repos/juhp/cabal-rpm/issues/28/events","html_url":"https://github.com/juhp/cabal-rpm/issues/28","id":132639933,"number":28,"title":"missing BuildRequires: pkg-config in packages using BuildRequires : pkgconfig(lib)","user":{"login":"mimi1vx","id":931039,"avatar_url":"https://avatars.githubusercontent.com/u/931039?v=3","gravatar_id":"","url":"https://api.github.com/users/mimi1vx","html_url":"https://github.com/mimi1vx","followers_url":"https://api.github.com/users/mimi1vx/followers","following_url":"https://api.github.com/users/mimi1vx/following{/other_user}","gists_url":"https://api.github.com/users/mimi1vx/gists{/gist_id}","starred_url":"https://api.github.com/users/mimi1vx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mimi1vx/subscriptions","organizations_url":"https://api.github.com/users/mimi1vx/orgs","repos_url":"https://api.github.com/users/mimi1vx/repos","events_url":"https://api.github.com/users/mimi1vx/events{/privacy}","received_events_url":"https://api.github.com/users/mimi1vx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-10T08:58:25Z","updated_at":"2016-02-10T09:55:31Z","closed_at":null,"body":"for example \r\n\r\n```\r\n%global pkg_name Xauth\r\n\r\nName:           ghc-%{pkg_name}\r\nVersion:        0.1\r\nRelease:        0\r\nSummary:        A binding to the X11 authentication library\r\nGroup:          System/Libraries\r\n\r\nLicense:        BSD-3-Clause\r\nUrl:            https://hackage.haskell.org/package/%{pkg_name}\r\nSource0:        https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz\r\nBuildRoot:      %{_tmppath}/%{name}-%{version}-build\r\n\r\nBuildRequires:  ghc-Cabal-devel\r\nBuildRequires:  ghc-rpm-macros\r\n# Begin cabal-rpm deps:\r\nBuildRequires:  pkgconfig(xau)\r\n# End cabal-rpm deps\r\n\r\n%description\r\nA Haskell binding to the X11 authentication library.\r\n\r\n\r\n%package devel\r\nSummary:        Haskell %{pkg_name} library development files\r\nGroup:          Development/Libraries/Other\r\nRequires:       ghc-compiler = %{ghc_version}\r\nRequires(post): ghc-compiler = %{ghc_version}\r\nRequires(postun): ghc-compiler = %{ghc_version}\r\nRequires:       %{name} = %{version}-%{release}\r\n# Begin cabal-rpm deps:\r\nRequires:       pkgconfig(xau)\r\n# End cabal-rpm deps\r\n```"},"comment":{"url":"https://api.github.com/repos/juhp/cabal-rpm/issues/comments/182284830","html_url":"https://github.com/juhp/cabal-rpm/issues/28#issuecomment-182284830","issue_url":"https://api.github.com/repos/juhp/cabal-rpm/issues/28","id":182284830,"user":{"login":"juhp","id":82731,"avatar_url":"https://avatars.githubusercontent.com/u/82731?v=3","gravatar_id":"","url":"https://api.github.com/users/juhp","html_url":"https://github.com/juhp","followers_url":"https://api.github.com/users/juhp/followers","following_url":"https://api.github.com/users/juhp/following{/other_user}","gists_url":"https://api.github.com/users/juhp/gists{/gist_id}","starred_url":"https://api.github.com/users/juhp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juhp/subscriptions","organizations_url":"https://api.github.com/users/juhp/orgs","repos_url":"https://api.github.com/users/juhp/repos","events_url":"https://api.github.com/users/juhp/events{/privacy}","received_events_url":"https://api.github.com/users/juhp/received_events","type":"User","site_admin":false},"created_at":"2016-02-10T09:55:31Z","updated_at":"2016-02-10T09:55:31Z","body":"Could you check if the above change helps?"}}