{"action":"created","comment":{"url":"https://api.github.com/repos/Tendrl/bridge_common/pulls/comments/86720978","pull_request_review_id":7363912,"id":86720978,"diff_hunk":"@@ -0,0 +1,76 @@\n+%define pkg_name tendrl-bridge-common\n+%define pkg_version 0.0.1\n+%define pkg_release 1\n+\n+Name: %{pkg_name}\n+Version: %{pkg_version}\n+Release: %{pkg_release}%{?dist}\n+BuildArch: noarch\n+Summary: Common Module for All Bridges\n+Source0: %{pkg_name}-%{pkg_version}.tar.gz\n+Group:   Applications/System\n+License: GPLv2+\n+Url: https://github.com/Tendrl/bridge_common\n+\n+BuildRequires: python-devel\n+BuildRequires: python-setuptools\n+BuildRequires: python-pbr\n+\n+Requires: python-pip\n+Requires: python-pbr\n+Requires: python-etcd\n+Requires: python-dateutil\n+Requires: python-gevent\n+Requires: python-greenlet\n+Requires: pytz\n+Requires: python-oslo-log\n+\n+%description\n+Common python module usable by all Tendrl SDS Bridges\n+\n+%prep\n+%setup -n %{pkg_name}-%{pkg_version}\n+# Remove the requirements file to avoid adding into\n+# distutils requiers_dist config\n+rm -rf {test-,}requirements.txt\n+\n+# Remove bundled egg-info\n+rm -rf %{pkg_name}.egg-info\n+\n+%build\n+%{__python} setup.py build\n+\n+# generate html docs\n+%if 0%{?rhel}==6\n+sphinx-1.0-build doc/source html\n+%else\n+sphinx-build doc/source html\n+%endif\n+# remove the sphinx-build leftovers\n+rm -rf html/.{doctrees,buildinfo}\n+\n+%install\n+rm -rf $RPM_BUILD_ROOT\n+%{__python} setup.py install --single-version-externally-managed -O1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES\n+install -Dm 755 etc/tendrl/tendrl.conf.sample $RPM_BUILD_ROOT/etc/tendrl/tendrl.conf\n+\n+%post\n+mkdir /var/log/tendrl >/dev/null 2>&1 || :\n+\n+%clean\n+rm -rf $RPM_BUILD_ROOT\n+\n+%if 0%{?do_test}\n+%check\n+%{__python} setup.py test\n+%endif\n+\n+%files -f INSTALLED_FILES\n+%defattr(-,root,root)\n+%doc html README.rst LICENSE\n+%{_sysconfdir}/tendrl/tendrl.conf","path":"bridge_common.spec","position":71,"original_position":71,"commit_id":"e9d3190157e7768285b231afba953cc1ce607db3","original_commit_id":"e9d3190157e7768285b231afba953cc1ce607db3","user":{"login":"TimothyAsir","id":714997,"avatar_url":"https://avatars.githubusercontent.com/u/714997?v=3","gravatar_id":"","url":"https://api.github.com/users/TimothyAsir","html_url":"https://github.com/TimothyAsir","followers_url":"https://api.github.com/users/TimothyAsir/followers","following_url":"https://api.github.com/users/TimothyAsir/following{/other_user}","gists_url":"https://api.github.com/users/TimothyAsir/gists{/gist_id}","starred_url":"https://api.github.com/users/TimothyAsir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TimothyAsir/subscriptions","organizations_url":"https://api.github.com/users/TimothyAsir/orgs","repos_url":"https://api.github.com/users/TimothyAsir/repos","events_url":"https://api.github.com/users/TimothyAsir/events{/privacy}","received_events_url":"https://api.github.com/users/TimothyAsir/received_events","type":"User","site_admin":false},"body":"Sure","created_at":"2016-11-07T06:59:56Z","updated_at":"2016-11-07T06:59:56Z","html_url":"https://github.com/Tendrl/bridge_common/pull/32#discussion_r86720978","pull_request_url":"https://api.github.com/repos/Tendrl/bridge_common/pulls/32","_links":{"self":{"href":"https://api.github.com/repos/Tendrl/bridge_common/pulls/comments/86720978"},"html":{"href":"https://github.com/Tendrl/bridge_common/pull/32#discussion_r86720978"},"pull_request":{"href":"https://api.github.com/repos/Tendrl/bridge_common/pulls/32"}}},"pull_request":{"url":"https://api.github.com/repos/Tendrl/bridge_common/pulls/32","id":89544070,"html_url":"https://github.com/Tendrl/bridge_common/pull/32","diff_url":"https://github.com/Tendrl/bridge_common/pull/32.diff","patch_url":"https://github.com/Tendrl/bridge_common/pull/32.patch","issue_url":"https://api.github.com/repos/Tendrl/bridge_common/issues/32","number":32,"state":"open","locked":false,"title":"Add spec file for rpm build","user":{"login":"TimothyAsir","id":714997,"avatar_url":"https://avatars.githubusercontent.com/u/714997?v=3","gravatar_id":"","url":"https://api.github.com/users/TimothyAsir","html_url":"https://github.com/TimothyAsir","followers_url":"https://api.github.com/users/TimothyAsir/followers","following_url":"https://api.github.com/users/TimothyAsir/following{/other_user}","gists_url":"https://api.github.com/users/TimothyAsir/gists{/gist_id}","starred_url":"https://api.github.com/users/TimothyAsir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TimothyAsir/subscriptions","organizations_url":"https://api.github.com/users/TimothyAsir/orgs","repos_url":"https://api.github.com/users/TimothyAsir/repos","events_url":"https://api.github.com/users/TimothyAsir/events{/privacy}","received_events_url":"https://api.github.com/users/TimothyAsir/received_events","type":"User","site_admin":false},"body":"Signed-off-by: Timothy Asir J tjeyasin@redhat.com\n","created_at":"2016-10-16T23:06:32Z","updated_at":"2016-11-07T06:59:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b588eab78f560f98d96fa69e94c8ca9ff90b81fb","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Tendrl/bridge_common/pulls/32/commits","review_comments_url":"https://api.github.com/repos/Tendrl/bridge_common/pulls/32/comments","review_comment_url":"https://api.github.com/repos/Tendrl/bridge_common/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Tendrl/bridge_common/issues/32/comments","statuses_url":"https://api.github.com/repos/Tendrl/bridge_common/statuses/e9d3190157e7768285b231afba953cc1ce607db3","head":{"label":"TimothyAsir:packaging","ref":"packaging","sha":"e9d3190157e7768285b231afba953cc1ce607db3","user":{"login":"TimothyAsir","id":714997,"avatar_url":"https://avatars.githubusercontent.com/u/714997?v=3","gravatar_id":"","url":"https://api.github.com/users/TimothyAsir","html_url":"https://github.com/TimothyAsir","followers_url":"https://api.github.com/users/TimothyAsir/followers","following_url":"https://api.github.com/users/TimothyAsir/following{/other_user}","gists_url":"https://api.github.com/users/TimothyAsir/gists{/gist_id}","starred_url":"https://api.github.com/users/TimothyAsir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TimothyAsir/subscriptions","organizations_url":"https://api.github.com/users/TimothyAsir/orgs","repos_url":"https://api.github.com/users/TimothyAsir/repos","events_url":"https://api.github.com/users/TimothyAsir/events{/privacy}","received_events_url":"https://api.github.com/users/TimothyAsir/received_events","type":"User","site_admin":false},"repo":{"id":68904942,"name":"bridge_common","full_name":"TimothyAsir/bridge_common","owner":{"login":"TimothyAsir","id":714997,"avatar_url":"https://avatars.githubusercontent.com/u/714997?v=3","gravatar_id":"","url":"https://api.github.com/users/TimothyAsir","html_url":"https://github.com/TimothyAsir","followers_url":"https://api.github.com/users/TimothyAsir/followers","following_url":"https://api.github.com/users/TimothyAsir/following{/other_user}","gists_url":"https://api.github.com/users/TimothyAsir/gists{/gist_id}","starred_url":"https://api.github.com/users/TimothyAsir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TimothyAsir/subscriptions","organizations_url":"https://api.github.com/users/TimothyAsir/orgs","repos_url":"https://api.github.com/users/TimothyAsir/repos","events_url":"https://api.github.com/users/TimothyAsir/events{/privacy}","received_events_url":"https://api.github.com/users/TimothyAsir/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TimothyAsir/bridge_common","description":"Common code usable by all Tendrl bridges","fork":true,"url":"https://api.github.com/repos/TimothyAsir/bridge_common","forks_url":"https://api.github.com/repos/TimothyAsir/bridge_common/forks","keys_url":"https://api.github.com/repos/TimothyAsir/bridge_common/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TimothyAsir/bridge_common/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TimothyAsir/bridge_common/teams","hooks_url":"https://api.github.com/repos/TimothyAsir/bridge_common/hooks","issue_events_url":"https://api.github.com/repos/TimothyAsir/bridge_common/issues/events{/number}","events_url":"https://api.github.com/repos/TimothyAsir/bridge_common/events","assignees_url":"https://api.github.com/repos/TimothyAsir/bridge_common/assignees{/user}","branches_url":"https://api.github.com/repos/TimothyAsir/bridge_common/branches{/branch}","tags_url":"https://api.github.com/repos/TimothyAsir/bridge_common/tags","blobs_url":"https://api.github.com/repos/TimothyAsir/bridge_common/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TimothyAsir/bridge_common/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TimothyAsir/bridge_common/git/refs{/sha}","trees_url":"https://api.github.com/repos/TimothyAsir/bridge_common/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TimothyAsir/bridge_common/statuses/{sha}","languages_url":"https://api.github.com/repos/TimothyAsir/bridge_common/languages","stargazers_url":"https://api.github.com/repos/TimothyAsir/bridge_common/stargazers","contributors_url":"https://api.github.com/repos/TimothyAsir/bridge_common/contributors","subscribers_url":"https://api.github.com/repos/TimothyAsir/bridge_common/subscribers","subscription_url":"https://api.github.com/repos/TimothyAsir/bridge_common/subscription","commits_url":"https://api.github.com/repos/TimothyAsir/bridge_common/commits{/sha}","git_commits_url":"https://api.github.com/repos/TimothyAsir/bridge_common/git/commits{/sha}","comments_url":"https://api.github.com/repos/TimothyAsir/bridge_common/comments{/number}","issue_comment_url":"https://api.github.com/repos/TimothyAsir/bridge_common/issues/comments{/number}","contents_url":"https://api.github.com/repos/TimothyAsir/bridge_common/contents/{+path}","compare_url":"https://api.github.com/repos/TimothyAsir/bridge_common/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TimothyAsir/bridge_common/merges","archive_url":"https://api.github.com/repos/TimothyAsir/bridge_common/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TimothyAsir/bridge_common/downloads","issues_url":"https://api.github.com/repos/TimothyAsir/bridge_common/issues{/number}","pulls_url":"https://api.github.com/repos/TimothyAsir/bridge_common/pulls{/number}","milestones_url":"https://api.github.com/repos/TimothyAsir/bridge_common/milestones{/number}","notifications_url":"https://api.github.com/repos/TimothyAsir/bridge_common/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TimothyAsir/bridge_common/labels{/name}","releases_url":"https://api.github.com/repos/TimothyAsir/bridge_common/releases{/id}","deployments_url":"https://api.github.com/repos/TimothyAsir/bridge_common/deployments","created_at":"2016-09-22T09:15:35Z","updated_at":"2016-09-22T09:15:36Z","pushed_at":"2016-11-07T05:35:40Z","git_url":"git://github.com/TimothyAsir/bridge_common.git","ssh_url":"git@github.com:TimothyAsir/bridge_common.git","clone_url":"https://github.com/TimothyAsir/bridge_common.git","svn_url":"https://github.com/TimothyAsir/bridge_common","homepage":null,"size":117,"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":"Tendrl:master","ref":"master","sha":"1d8beb54ab644206626eb4bbb37e581bbb5bd0da","user":{"login":"Tendrl","id":19151627,"avatar_url":"https://avatars.githubusercontent.com/u/19151627?v=3","gravatar_id":"","url":"https://api.github.com/users/Tendrl","html_url":"https://github.com/Tendrl","followers_url":"https://api.github.com/users/Tendrl/followers","following_url":"https://api.github.com/users/Tendrl/following{/other_user}","gists_url":"https://api.github.com/users/Tendrl/gists{/gist_id}","starred_url":"https://api.github.com/users/Tendrl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tendrl/subscriptions","organizations_url":"https://api.github.com/users/Tendrl/orgs","repos_url":"https://api.github.com/users/Tendrl/repos","events_url":"https://api.github.com/users/Tendrl/events{/privacy}","received_events_url":"https://api.github.com/users/Tendrl/received_events","type":"Organization","site_admin":false},"repo":{"id":64727947,"name":"bridge_common","full_name":"Tendrl/bridge_common","owner":{"login":"Tendrl","id":19151627,"avatar_url":"https://avatars.githubusercontent.com/u/19151627?v=3","gravatar_id":"","url":"https://api.github.com/users/Tendrl","html_url":"https://github.com/Tendrl","followers_url":"https://api.github.com/users/Tendrl/followers","following_url":"https://api.github.com/users/Tendrl/following{/other_user}","gists_url":"https://api.github.com/users/Tendrl/gists{/gist_id}","starred_url":"https://api.github.com/users/Tendrl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tendrl/subscriptions","organizations_url":"https://api.github.com/users/Tendrl/orgs","repos_url":"https://api.github.com/users/Tendrl/repos","events_url":"https://api.github.com/users/Tendrl/events{/privacy}","received_events_url":"https://api.github.com/users/Tendrl/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Tendrl/bridge_common","description":"Common code usable by all Tendrl bridges","fork":false,"url":"https://api.github.com/repos/Tendrl/bridge_common","forks_url":"https://api.github.com/repos/Tendrl/bridge_common/forks","keys_url":"https://api.github.com/repos/Tendrl/bridge_common/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Tendrl/bridge_common/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Tendrl/bridge_common/teams","hooks_url":"https://api.github.com/repos/Tendrl/bridge_common/hooks","issue_events_url":"https://api.github.com/repos/Tendrl/bridge_common/issues/events{/number}","events_url":"https://api.github.com/repos/Tendrl/bridge_common/events","assignees_url":"https://api.github.com/repos/Tendrl/bridge_common/assignees{/user}","branches_url":"https://api.github.com/repos/Tendrl/bridge_common/branches{/branch}","tags_url":"https://api.github.com/repos/Tendrl/bridge_common/tags","blobs_url":"https://api.github.com/repos/Tendrl/bridge_common/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Tendrl/bridge_common/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Tendrl/bridge_common/git/refs{/sha}","trees_url":"https://api.github.com/repos/Tendrl/bridge_common/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Tendrl/bridge_common/statuses/{sha}","languages_url":"https://api.github.com/repos/Tendrl/bridge_common/languages","stargazers_url":"https://api.github.com/repos/Tendrl/bridge_common/stargazers","contributors_url":"https://api.github.com/repos/Tendrl/bridge_common/contributors","subscribers_url":"https://api.github.com/repos/Tendrl/bridge_common/subscribers","subscription_url":"https://api.github.com/repos/Tendrl/bridge_common/subscription","commits_url":"https://api.github.com/repos/Tendrl/bridge_common/commits{/sha}","git_commits_url":"https://api.github.com/repos/Tendrl/bridge_common/git/commits{/sha}","comments_url":"https://api.github.com/repos/Tendrl/bridge_common/comments{/number}","issue_comment_url":"https://api.github.com/repos/Tendrl/bridge_common/issues/comments{/number}","contents_url":"https://api.github.com/repos/Tendrl/bridge_common/contents/{+path}","compare_url":"https://api.github.com/repos/Tendrl/bridge_common/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Tendrl/bridge_common/merges","archive_url":"https://api.github.com/repos/Tendrl/bridge_common/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Tendrl/bridge_common/downloads","issues_url":"https://api.github.com/repos/Tendrl/bridge_common/issues{/number}","pulls_url":"https://api.github.com/repos/Tendrl/bridge_common/pulls{/number}","milestones_url":"https://api.github.com/repos/Tendrl/bridge_common/milestones{/number}","notifications_url":"https://api.github.com/repos/Tendrl/bridge_common/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Tendrl/bridge_common/labels{/name}","releases_url":"https://api.github.com/repos/Tendrl/bridge_common/releases{/id}","deployments_url":"https://api.github.com/repos/Tendrl/bridge_common/deployments","created_at":"2016-08-02T05:49:44Z","updated_at":"2016-10-26T09:55:36Z","pushed_at":"2016-11-07T05:35:40Z","git_url":"git://github.com/Tendrl/bridge_common.git","ssh_url":"git@github.com:Tendrl/bridge_common.git","clone_url":"https://github.com/Tendrl/bridge_common.git","svn_url":"https://github.com/Tendrl/bridge_common","homepage":null,"size":128,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":5,"forks":10,"open_issues":5,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Tendrl/bridge_common/pulls/32"},"html":{"href":"https://github.com/Tendrl/bridge_common/pull/32"},"issue":{"href":"https://api.github.com/repos/Tendrl/bridge_common/issues/32"},"comments":{"href":"https://api.github.com/repos/Tendrl/bridge_common/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/Tendrl/bridge_common/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/Tendrl/bridge_common/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Tendrl/bridge_common/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/Tendrl/bridge_common/statuses/e9d3190157e7768285b231afba953cc1ce607db3"}}}}
{"actor":{"display_login":"TimothyAsir"}}