Accepting request 866426 from Base:System
OBS-URL: https://build.opensuse.org/request/show/866426 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/targetcli-fb?expand=0&rev=21
This commit is contained in:
commit
2c43b1ac19
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 24 22:48:23 UTC 2021 - Lee Duncan <lduncan@suse.com>
|
||||
|
||||
- Updated SPEC file to support multiple python3 versions at
|
||||
the same time, and replaced deprecated %ifpython3 macro,
|
||||
as suggested by build service. Also updated "common" sub-
|
||||
package description.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 30 20:54:28 UTC 2020 - lduncan@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package targetcli-fb
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -31,6 +31,7 @@ BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module pyparsing}
|
||||
BuildRequires: %{python_module rtslib-fb}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{pythons}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: pkgconfig(systemd)
|
||||
@ -41,7 +42,7 @@ Requires: python-six
|
||||
Requires: targetcli-fb-common
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
%ifpython3
|
||||
%if "%{python_flavor}" == "python3" || "%{?python_provides}" == "python3"
|
||||
Provides: targetcli = %{version}-%{release}
|
||||
Provides: targetcli-fb = %{version}-%{release}
|
||||
%endif
|
||||
@ -78,8 +79,8 @@ Group: System/Management
|
||||
Provides: %{python_module targetcli-fb-common}
|
||||
|
||||
%description -n %{name}-common
|
||||
targetcli-fb-common is the invariant base package needed by both
|
||||
python2-targetcli-fb and python3-targetcli-fb.
|
||||
targetcli-fb-common is the invariant base package needed by
|
||||
all python-version-dependant packages, such as python3-*-targetcli-fb.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
Loading…
Reference in New Issue
Block a user