Name: osc Version: 0.169.1 Release: 2 Summary: The Command Line Interface to work with an Open Build Service License: GPLv2+ Url: https://github.com/openSUSE/osc Source: https://github.com/openSUSE/osc/archive/%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel python3-rpm python3-urlgrabber Requires: python3-rpm python3-m2crypto python3-lxml python3-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 -n osc-%{version} iconv -f ISO8859-1 -t UTF-8 -o TODO.new TODO mv TODO.new TODO %build %py3_build %install %py3_install ln -s osc-wrapper.py %{buildroot}%{_bindir}/osc mkdir -p %{buildroot}%{_localstatedir}/lib/osc-plugins mkdir -p %{buildroot}%{_prefix}/lib/obs/service mkdir -p %{buildroot}%{_prefix}/lib/osc-plugins mkdir -p %{buildroot}%{_rpmconfigdir}/macros.d/ mkdir -p %{buildroot}%{_datadir}/bash-completion/completions/ 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.169.1-2 - Rebuilt for Python 3.8.5 * Wed Aug 05 2020 yaokai - 0.169.1-1 - Upgrade to 0.169.1 to fix CVE-2019-3681 * Wed Nov 27 2019 catastrowings - 0.163.0-237.1.2 - Update to 0.163.0