Name: osc Version: 0.169.1 Release: 4 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 Patch0: CVE-2024-22034.patch BuildArch: noarch BuildRequires: python2-devel python2-rpm python2-urlgrabber Requires: python2-rpm m2crypto python2-lxml python2-urlgrabber Requires: vim Requires: %{name}-help = %{version}-%{release} 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 %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.169.1-4 - Fix CVE-2024-22034 * Fri Nov 06 2020 caodongxia - 0.169.1-3 - Add install requires help package into main package * Thu Sep 17 2020 maminjie - 0.169.1-2 - Add vim to Requires list * 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