Group: Development/Tools/Building
Source: %{name}-%{version}.tar.gz
Requires: %{name}-common = %{version}-%{release}
+Requires: %{name}-submitobs = %{version}-%{release}
+Requires: gbs >= 0.17
BuildArch: noarch
%define destdir /var/lib/jenkins/%{name}
Requires: python-cheetah
Requires: python-redis
Requires: python-yaml
-Requires: gbs >= 0.17
Requires: gbs-api
%description common
%package sync
Summary: Scripts for tizendev/tizen.org Jenkins instance
Group: Development/Tools/Building
-Requires: %{name}-common = %{version}
+Requires: %{name}-common = %{version}-%{release}
+Requires: %{name}-submitobs = %{version}-%{release}
%description sync
Jenkins scripts for tizendev/tizen.org Jenkins instance
%description tzs
Jenkins scripts for tzs customer appliance instance
+%package submitobs
+Summary: Temporary package to isolate job_submitobs
+Group: Development/Tools/Building
+Requires: gbs >= 0.17
+Requires: %{name}-common = %{version}-%{release}
+
+%description submitobs
+Isolated job_submitobs to avoid package installation conflicts
+
%prep
%setup -q
%{destdir}/job_imager.py
%{destdir}/job_mail_sender.py
%{destdir}/job_load_repos.yaml.py
-%{destdir}/job_submitobs.py
%{destdir}/job_update_local_git.py
%files sync
%defattr(-,jenkins,jenkins)
%{destdir}/job_submit.py
+%files submitobs
+%defattr(-,jenkins,jenkins)
+%{destdir}/job_submitobs.py
+
%changelog