Name: osc Version: 0.163.0 Release: 237.1.2 Summary: The Command Line Interface to work with an Open Build Service License: GPLv2+ Url: https://github.com/openSUSE/osc Source: %{url}/archive/%{version}/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python2-devel python2-rpm python2-urlgrabber Requires: python2-rpm m2crypto python2-lxml python2-urlgrabber Requires: m2crypto Requires: python2-lxml Requires: python2-urlgrabber Conflicts: obs-build < 20180816 %description The osc is an opensuse-commander with svn like handling. It's a command line interface to work with an Open Build Service. %package help Summary: Help package for %{name} BuildArch: noarch Requires: %{name} = %{version}-%{release} %description help This package contains some man help files for %{name}. %prep %autosetup -p1 iconv -f ISO8859-1 -t UTF-8 -o TODO.new TODO mv TODO.new TODO %build %py2_build %install %py2_install ln -s osc-wrapper.py %{buildroot}%{_bindir}/osc install -d %{buildroot}%{_localstatedir}/lib/osc-plugins install -d %{buildroot}%{_prefix}/lib/obs/service install -d %{buildroot}%{_prefix}/lib/osc-plugins install -d %{buildroot}%{_rpmconfigdir}/macros.d/ install -Dm644 dist/complete.csh %{buildroot}%{_sysconfdir}/profile.d/osc.csh install -Dm644 dist/complete.sh %{buildroot}%{_datadir}/bash-completion/completions/osc install -Dm755 dist/osc.complete %{buildroot}%{_datadir}/osc/complete cat > %{buildroot}%{_rpmconfigdir}/macros.d/macros.osc < - 0.163.0-237.1.2 - Update to 0.163.0