!15 更新master工程的osc到0.175.0版本

From: @xigaoxinyan 
Reviewed-by: @small_leek 
Signed-off-by: @small_leek
This commit is contained in:
openeuler-ci-bot 2022-04-27 08:15:48 +00:00 committed by Gitee
commit 73fadd976a
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 12 additions and 8 deletions

Binary file not shown.

BIN
0.175.0.tar.gz Normal file

Binary file not shown.

View File

@ -1,17 +1,16 @@
Name: osc
Version: 0.169.1
Release: 3
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-rpm python3-urlgrabber
Requires: python3-rpm python3-m2crypto python3-lxml python3-urlgrabber
Requires: vim
Conflicts: obs-build < 20180816
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.
@ -48,6 +47,7 @@ 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
@ -61,6 +61,7 @@ EOF
%{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
@ -72,6 +73,9 @@ EOF
%{_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