代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/osc 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Name: osc
Version: 0.175.0
Release: 1
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-distro python3-rpm python3-setuptools diffstat
Requires: python3-distro python3-rpm python3-m2crypto python3-lxml vim
Recommends: obs-build
Recommends: obs-service-source_validator
Conflicts: obs-build < 20191205
%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
install -Dm0644 osc.fish %{buildroot}%{_datadir}/fish/vendor_completions.d/osc.fish
cat > %{buildroot}%{_rpmconfigdir}/macros.d/macros.osc <<EOF
%%obs_srcsvc_dir %{_prefix}/lib/obs/service
%%osc_plugin_dir %{_prefix}/lib/osc-plugins
EOF
%files
%doc AUTHORS README TODO NEWS
%license COPYING
%{_bindir}/osc*
%{python3_sitelib}/osc*
%{_sysconfdir}/profile.d/osc.csh
%{_datadir}/bash-completion/completions/osc
%{_datadir}/fish/vendor_completions.d/osc.fish
%dir %{_localstatedir}/lib/osc-plugins
%{_datadir}/osc
%{_rpmconfigdir}/macros.d/macros.osc
%dir %{_prefix}/lib/obs
%dir %{_prefix}/lib/obs/service
%dir %{_prefix}/lib/osc-plugins
%files help
%{_mandir}/man1/osc.*
%changelog
* Wed Apr 27 2022 xigaoxinyan <xigaoxinyan@h-partners.com> - 0.175.0-1
- Upgrade to 0.175.0
* Thu Sep 17 2020 maminjie <maminjie1@huawei.com> - 0.169.1-3
- Add vim to Requires list
* Fri Sep 11 2020 maminjie <maminjie1@huawei.com> - 0.169.1-2
- Rebuilt for Python 3.8.5
* Wed Aug 05 2020 yaokai <yaokai13@huawei.com> - 0.169.1-1
- Upgrade to 0.169.1 to fix CVE-2019-3681
* Wed Nov 27 2019 catastrowings <jianghuhao1994@163.com> - 0.163.0-237.1.2
- Update to 0.163.0
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。