-Name: repa
-Summary: Release Engineering Process Assistant
-Version: 0.0.1
+Name: repa
+Version: 0.0.1
+Summary: Release Engineering Process Assistant
%if 0%{?opensuse_bs}
-Release: 0.dev.<CI_CNT>.<B_CNT>
+Release: 0.dev.<CI_CNT>.<B_CNT>
%else
-Release: 0
+Release: 0
%endif
-Group: Development/Tools/Building
-License: GPL-2.0
-BuildArch: noarch
-URL: https://otctools.jf.intel.com/pm/projects/repa
-Source0: %{name}_%{version}.tar.gz
+License: GPL-2.0
+URL: https://otctools.jf.intel.com/pm/projects/repa
+Group: Development/Tools/Building
+Source0: %{name}_%{version}.tar.gz
+BuildArch: noarch
BuildRequires: python-setuptools
+Requires: gbs-api
+Requires: osc
Requires: python >= 2.6
Requires: python-setuptools
-Requires: osc
-Requires: gbs-api
%description
This tool is to assist release engineers to operate with submissions
in easy and flexible manner
%prep
-%setup -q -n %{name}-%{version}
+%setup -q
%build
python ./setup.py build
%files
%defattr(-,root,root,-)
%config %{_sysconfdir}/%{name}.conf
-%{_prefix}/share/doc/packages/%{name}
+%{_datadir}/doc/packages/%{name}
%{python_sitelib}/%{name}-%{version}-*.egg-info
%{python_sitelib}/%{name}-%{version}-*-nspkg.pth
%{python_sitelib}/%{name}