Accepting request 834508 from home:wanghaisu:branches:Base:System

bsc#1176448, Add clibs requirement to python-libstoragemgmt.

OBS-URL: https://build.opensuse.org/request/show/834508
OBS-URL: https://build.opensuse.org/package/show/Base:System/libstoragemgmt?expand=0&rev=67
This commit is contained in:
Martin Pluskal 2020-09-15 07:00:48 +00:00 committed by Git OBS Bridge
parent 26a7baa0dc
commit 1a1b5a9cbb
2 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Sep 15 02:41:46 UTC 2020 - nick wang <nwang@suse.com>
- bsc#1176448, Add clibs requirement to python-libstoragemgmt.
-------------------------------------------------------------------
Wed Aug 12 06:56:45 UTC 2020 - Michael Vetter <mvetter@suse.com>

View File

@ -106,11 +106,15 @@ developing applications that use %{name}.
%{?python_provide:%python_provide python3-%{name}}
Summary: Python client libraries and plug-in support for %{name}
Group: Development/Languages/Python
Requires: %{name} = %{version}
BuildArch: noarch
Requires: %{name} = %{version}
%if 0%{python3}
Requires: python3-%{name}-clibs
%description -n python3-%{name}
%else
Requires: python2-%{name}-clibs
%description -n python2-%{name}
%endif
The python-%{name} package contains python client libraries as
@ -504,7 +508,8 @@ fi
%{_udevrulesdir}/90-scsi-ua.rules
%files -n %{libname}
%doc README COPYING.LIB
%license COPYING.LIB
%doc README
%{_libdir}/libstoragemgmt.so.*
%files devel