Move unnecessary modules out of common package
authorLin Yang <lin.a.yang@intel.com>
Wed, 28 Aug 2013 07:52:40 +0000 (15:52 +0800)
committerEduard Bartosh <eduard.bartosh@intel.com>
Thu, 29 Aug 2013 12:32:34 +0000 (05:32 -0700)
Several modules under common directory, like repomaker and builddata, are not
used by sync package, so remove them out of common package.

Fixes: #1129

Change-Id: I37aabcb5b17c696fe56d4cb350651c1809bf5c58
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
Reviewed-on: https://otctools.jf.intel.com/review/6176
Tested-by: OTC Tools Tester <ed.bartosh@linux.intel.com>
Reviewed-by: Hasan Wan <hasan.wan@intel.com>
Reviewed-by: Eduard Bartosh <eduard.bartosh@intel.com>
packaging/jenkins-scripts.spec

index a7a90bc..21d99ee 100644 (file)
@@ -73,9 +73,25 @@ cp -r job_*.py common requests %{buildroot}%{destdir}/
 %{destdir}/job_pre_release_obs.py
 %{destdir}/job_request.py
 %{destdir}/requests
+%{destdir}/common/backenddb.py
+%{destdir}/common/imagedata.py
+%{destdir}/common/prerelease.py
+%{destdir}/common/tempbuildpkg.py
+%{destdir}/common/builddata.py
+%{destdir}/common/buildtrigger.py
+%{destdir}/common/repomaker.py
 
 %files common
-%{destdir}/common
+%dir %{destdir}/common
+%{destdir}/common/buildservice.py
+%{destdir}/common/gerrit.py
+%{destdir}/common/mapping.py
+%{destdir}/common/runner.py
+%{destdir}/common/git.py
+%{destdir}/common/__init__.py
+%{destdir}/common/obspkg.py
+%{destdir}/common/send_mail.py
+%{destdir}/common/utils.py
 %{destdir}/job_submitobs.py
 %{destdir}/job_update_local_git.py
 %{destdir}/job_mail_sender.py