{"action":"closed","number":195,"pull_request":{"url":"https://api.github.com/repos/avocado-framework/avocado-vt/pulls/195","id":47788590,"html_url":"https://github.com/avocado-framework/avocado-vt/pull/195","diff_url":"https://github.com/avocado-framework/avocado-vt/pull/195.diff","patch_url":"https://github.com/avocado-framework/avocado-vt/pull/195.patch","issue_url":"https://api.github.com/repos/avocado-framework/avocado-vt/issues/195","number":195,"state":"closed","locked":false,"title":"Makefile: Use mock to build RPMs","user":{"login":"clebergnu","id":447178,"avatar_url":"https://avatars.githubusercontent.com/u/447178?v=3","gravatar_id":"","url":"https://api.github.com/users/clebergnu","html_url":"https://github.com/clebergnu","followers_url":"https://api.github.com/users/clebergnu/followers","following_url":"https://api.github.com/users/clebergnu/following{/other_user}","gists_url":"https://api.github.com/users/clebergnu/gists{/gist_id}","starred_url":"https://api.github.com/users/clebergnu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clebergnu/subscriptions","organizations_url":"https://api.github.com/users/clebergnu/orgs","repos_url":"https://api.github.com/users/clebergnu/repos","events_url":"https://api.github.com/users/clebergnu/events{/privacy}","received_events_url":"https://api.github.com/users/clebergnu/received_events","type":"User","site_admin":false},"body":"Instead of trusting in rpmbuild to do the rpm builds,\r\nuse mock - a program that builds the rpms from fresh\r\nchroots. This ensures that BuildRequires are correct\r\nand that the binary rpms build cleanly.\r\n\r\nThis requires a few changes to the Makefile targets\r\nand the avocado spec file, laid out in this patch.\r\n\r\nAlso, add instructions on how to fulfill deps to build\r\nRPM packages.\r\n\r\nSigned-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>\r\nSigned-off-by: Cleber Rosa <crosa@redhat.com>","created_at":"2015-10-15T13:50:41Z","updated_at":"2015-10-15T13:51:47Z","closed_at":"2015-10-15T13:51:47Z","merged_at":"2015-10-15T13:51:47Z","merge_commit_sha":"e3596a40e88b2d09b728ad9585fc7a783efa9790","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/avocado-framework/avocado-vt/pulls/195/commits","review_comments_url":"https://api.github.com/repos/avocado-framework/avocado-vt/pulls/195/comments","review_comment_url":"https://api.github.com/repos/avocado-framework/avocado-vt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/avocado-framework/avocado-vt/issues/195/comments","statuses_url":"https://api.github.com/repos/avocado-framework/avocado-vt/statuses/2d0586e15ce8a38ac0fa2749853a1ced4d7e7d89","head":{"label":"clebergnu:build-rpm-mock","ref":"build-rpm-mock","sha":"2d0586e15ce8a38ac0fa2749853a1ced4d7e7d89","user":{"login":"clebergnu","id":447178,"avatar_url":"https://avatars.githubusercontent.com/u/447178?v=3","gravatar_id":"","url":"https://api.github.com/users/clebergnu","html_url":"https://github.com/clebergnu","followers_url":"https://api.github.com/users/clebergnu/followers","following_url":"https://api.github.com/users/clebergnu/following{/other_user}","gists_url":"https://api.github.com/users/clebergnu/gists{/gist_id}","starred_url":"https://api.github.com/users/clebergnu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clebergnu/subscriptions","organizations_url":"https://api.github.com/users/clebergnu/orgs","repos_url":"https://api.github.com/users/clebergnu/repos","events_url":"https://api.github.com/users/clebergnu/events{/privacy}","received_events_url":"https://api.github.com/users/clebergnu/received_events","type":"User","site_admin":false},"repo":{"id":39959083,"name":"avocado-vt","full_name":"clebergnu/avocado-vt","owner":{"login":"clebergnu","id":447178,"avatar_url":"https://avatars.githubusercontent.com/u/447178?v=3","gravatar_id":"","url":"https://api.github.com/users/clebergnu","html_url":"https://github.com/clebergnu","followers_url":"https://api.github.com/users/clebergnu/followers","following_url":"https://api.github.com/users/clebergnu/following{/other_user}","gists_url":"https://api.github.com/users/clebergnu/gists{/gist_id}","starred_url":"https://api.github.com/users/clebergnu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clebergnu/subscriptions","organizations_url":"https://api.github.com/users/clebergnu/orgs","repos_url":"https://api.github.com/users/clebergnu/repos","events_url":"https://api.github.com/users/clebergnu/events{/privacy}","received_events_url":"https://api.github.com/users/clebergnu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/clebergnu/avocado-vt","description":"Avocado Compatibility Layer for Legacy Virt Tests (autotest based)","fork":true,"url":"https://api.github.com/repos/clebergnu/avocado-vt","forks_url":"https://api.github.com/repos/clebergnu/avocado-vt/forks","keys_url":"https://api.github.com/repos/clebergnu/avocado-vt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/clebergnu/avocado-vt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/clebergnu/avocado-vt/teams","hooks_url":"https://api.github.com/repos/clebergnu/avocado-vt/hooks","issue_events_url":"https://api.github.com/repos/clebergnu/avocado-vt/issues/events{/number}","events_url":"https://api.github.com/repos/clebergnu/avocado-vt/events","assignees_url":"https://api.github.com/repos/clebergnu/avocado-vt/assignees{/user}","branches_url":"https://api.github.com/repos/clebergnu/avocado-vt/branches{/branch}","tags_url":"https://api.github.com/repos/clebergnu/avocado-vt/tags","blobs_url":"https://api.github.com/repos/clebergnu/avocado-vt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/clebergnu/avocado-vt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/clebergnu/avocado-vt/git/refs{/sha}","trees_url":"https://api.github.com/repos/clebergnu/avocado-vt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/clebergnu/avocado-vt/statuses/{sha}","languages_url":"https://api.github.com/repos/clebergnu/avocado-vt/languages","stargazers_url":"https://api.github.com/repos/clebergnu/avocado-vt/stargazers","contributors_url":"https://api.github.com/repos/clebergnu/avocado-vt/contributors","subscribers_url":"https://api.github.com/repos/clebergnu/avocado-vt/subscribers","subscription_url":"https://api.github.com/repos/clebergnu/avocado-vt/subscription","commits_url":"https://api.github.com/repos/clebergnu/avocado-vt/commits{/sha}","git_commits_url":"https://api.github.com/repos/clebergnu/avocado-vt/git/commits{/sha}","comments_url":"https://api.github.com/repos/clebergnu/avocado-vt/comments{/number}","issue_comment_url":"https://api.github.com/repos/clebergnu/avocado-vt/issues/comments{/number}","contents_url":"https://api.github.com/repos/clebergnu/avocado-vt/contents/{+path}","compare_url":"https://api.github.com/repos/clebergnu/avocado-vt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/clebergnu/avocado-vt/merges","archive_url":"https://api.github.com/repos/clebergnu/avocado-vt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/clebergnu/avocado-vt/downloads","issues_url":"https://api.github.com/repos/clebergnu/avocado-vt/issues{/number}","pulls_url":"https://api.github.com/repos/clebergnu/avocado-vt/pulls{/number}","milestones_url":"https://api.github.com/repos/clebergnu/avocado-vt/milestones{/number}","notifications_url":"https://api.github.com/repos/clebergnu/avocado-vt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/clebergnu/avocado-vt/labels{/name}","releases_url":"https://api.github.com/repos/clebergnu/avocado-vt/releases{/id}","created_at":"2015-07-30T15:54:28Z","updated_at":"2015-07-30T15:54:28Z","pushed_at":"2015-10-15T13:50:07Z","git_url":"git://github.com/clebergnu/avocado-vt.git","ssh_url":"git@github.com:clebergnu/avocado-vt.git","clone_url":"https://github.com/clebergnu/avocado-vt.git","svn_url":"https://github.com/clebergnu/avocado-vt","homepage":"http://avocado-vt.readthedocs.org/","size":18532,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"avocado-framework:master","ref":"master","sha":"78e4ced3b66e622ba691f0a0aa3daa9c0db73b36","user":{"login":"avocado-framework","id":7245719,"avatar_url":"https://avatars.githubusercontent.com/u/7245719?v=3","gravatar_id":"","url":"https://api.github.com/users/avocado-framework","html_url":"https://github.com/avocado-framework","followers_url":"https://api.github.com/users/avocado-framework/followers","following_url":"https://api.github.com/users/avocado-framework/following{/other_user}","gists_url":"https://api.github.com/users/avocado-framework/gists{/gist_id}","starred_url":"https://api.github.com/users/avocado-framework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avocado-framework/subscriptions","organizations_url":"https://api.github.com/users/avocado-framework/orgs","repos_url":"https://api.github.com/users/avocado-framework/repos","events_url":"https://api.github.com/users/avocado-framework/events{/privacy}","received_events_url":"https://api.github.com/users/avocado-framework/received_events","type":"Organization","site_admin":false},"repo":{"id":36371959,"name":"avocado-vt","full_name":"avocado-framework/avocado-vt","owner":{"login":"avocado-framework","id":7245719,"avatar_url":"https://avatars.githubusercontent.com/u/7245719?v=3","gravatar_id":"","url":"https://api.github.com/users/avocado-framework","html_url":"https://github.com/avocado-framework","followers_url":"https://api.github.com/users/avocado-framework/followers","following_url":"https://api.github.com/users/avocado-framework/following{/other_user}","gists_url":"https://api.github.com/users/avocado-framework/gists{/gist_id}","starred_url":"https://api.github.com/users/avocado-framework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avocado-framework/subscriptions","organizations_url":"https://api.github.com/users/avocado-framework/orgs","repos_url":"https://api.github.com/users/avocado-framework/repos","events_url":"https://api.github.com/users/avocado-framework/events{/privacy}","received_events_url":"https://api.github.com/users/avocado-framework/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/avocado-framework/avocado-vt","description":"Avocado VT Plugin","fork":false,"url":"https://api.github.com/repos/avocado-framework/avocado-vt","forks_url":"https://api.github.com/repos/avocado-framework/avocado-vt/forks","keys_url":"https://api.github.com/repos/avocado-framework/avocado-vt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/avocado-framework/avocado-vt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/avocado-framework/avocado-vt/teams","hooks_url":"https://api.github.com/repos/avocado-framework/avocado-vt/hooks","issue_events_url":"https://api.github.com/repos/avocado-framework/avocado-vt/issues/events{/number}","events_url":"https://api.github.com/repos/avocado-framework/avocado-vt/events","assignees_url":"https://api.github.com/repos/avocado-framework/avocado-vt/assignees{/user}","branches_url":"https://api.github.com/repos/avocado-framework/avocado-vt/branches{/branch}","tags_url":"https://api.github.com/repos/avocado-framework/avocado-vt/tags","blobs_url":"https://api.github.com/repos/avocado-framework/avocado-vt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/avocado-framework/avocado-vt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/avocado-framework/avocado-vt/git/refs{/sha}","trees_url":"https://api.github.com/repos/avocado-framework/avocado-vt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/avocado-framework/avocado-vt/statuses/{sha}","languages_url":"https://api.github.com/repos/avocado-framework/avocado-vt/languages","stargazers_url":"https://api.github.com/repos/avocado-framework/avocado-vt/stargazers","contributors_url":"https://api.github.com/repos/avocado-framework/avocado-vt/contributors","subscribers_url":"https://api.github.com/repos/avocado-framework/avocado-vt/subscribers","subscription_url":"https://api.github.com/repos/avocado-framework/avocado-vt/subscription","commits_url":"https://api.github.com/repos/avocado-framework/avocado-vt/commits{/sha}","git_commits_url":"https://api.github.com/repos/avocado-framework/avocado-vt/git/commits{/sha}","comments_url":"https://api.github.com/repos/avocado-framework/avocado-vt/comments{/number}","issue_comment_url":"https://api.github.com/repos/avocado-framework/avocado-vt/issues/comments{/number}","contents_url":"https://api.github.com/repos/avocado-framework/avocado-vt/contents/{+path}","compare_url":"https://api.github.com/repos/avocado-framework/avocado-vt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/avocado-framework/avocado-vt/merges","archive_url":"https://api.github.com/repos/avocado-framework/avocado-vt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/avocado-framework/avocado-vt/downloads","issues_url":"https://api.github.com/repos/avocado-framework/avocado-vt/issues{/number}","pulls_url":"https://api.github.com/repos/avocado-framework/avocado-vt/pulls{/number}","milestones_url":"https://api.github.com/repos/avocado-framework/avocado-vt/milestones{/number}","notifications_url":"https://api.github.com/repos/avocado-framework/avocado-vt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/avocado-framework/avocado-vt/labels{/name}","releases_url":"https://api.github.com/repos/avocado-framework/avocado-vt/releases{/id}","created_at":"2015-05-27T14:22:13Z","updated_at":"2015-09-24T09:48:06Z","pushed_at":"2015-10-15T13:51:46Z","git_url":"git://github.com/avocado-framework/avocado-vt.git","ssh_url":"git@github.com:avocado-framework/avocado-vt.git","clone_url":"https://github.com/avocado-framework/avocado-vt.git","svn_url":"https://github.com/avocado-framework/avocado-vt","homepage":"http://avocado-vt.readthedocs.org/","size":19933,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":17,"forks":19,"open_issues":17,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/avocado-framework/avocado-vt/pulls/195"},"html":{"href":"https://github.com/avocado-framework/avocado-vt/pull/195"},"issue":{"href":"https://api.github.com/repos/avocado-framework/avocado-vt/issues/195"},"comments":{"href":"https://api.github.com/repos/avocado-framework/avocado-vt/issues/195/comments"},"review_comments":{"href":"https://api.github.com/repos/avocado-framework/avocado-vt/pulls/195/comments"},"review_comment":{"href":"https://api.github.com/repos/avocado-framework/avocado-vt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/avocado-framework/avocado-vt/pulls/195/commits"},"statuses":{"href":"https://api.github.com/repos/avocado-framework/avocado-vt/statuses/2d0586e15ce8a38ac0fa2749853a1ced4d7e7d89"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"lmr","id":296807,"avatar_url":"https://avatars.githubusercontent.com/u/296807?v=3","gravatar_id":"","url":"https://api.github.com/users/lmr","html_url":"https://github.com/lmr","followers_url":"https://api.github.com/users/lmr/followers","following_url":"https://api.github.com/users/lmr/following{/other_user}","gists_url":"https://api.github.com/users/lmr/gists{/gist_id}","starred_url":"https://api.github.com/users/lmr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmr/subscriptions","organizations_url":"https://api.github.com/users/lmr/orgs","repos_url":"https://api.github.com/users/lmr/repos","events_url":"https://api.github.com/users/lmr/events{/privacy}","received_events_url":"https://api.github.com/users/lmr/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":47,"deletions":8,"changed_files":2}}