- Fix incorrect conditionals
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/azure-cli?expand=0&rev=156
This commit is contained in:
parent
f1c8202632
commit
b3965c9e5e
@ -264,9 +264,9 @@ Obsoletes: azure-cli-storage < 2.4.3
|
||||
Provides: azure-cli-vm = 2.2.23
|
||||
Obsoletes: azure-cli-vm < 2.2.23
|
||||
Conflicts: azure-cli < 2.0.0
|
||||
%endif
|
||||
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
%description
|
||||
Microsoft Azure CLI 2.0 Command Line Utilities
|
||||
@ -278,9 +278,10 @@ Microsoft Azure CLI 2.0 Command Line Utilities
|
||||
%if !%{with test}
|
||||
%build
|
||||
%pyproject_wheel
|
||||
%endif
|
||||
|
||||
%install
|
||||
%if 0%{?_test}
|
||||
%if %{with test}
|
||||
# disable debug packages in package test to prevent error about missing files
|
||||
%define debug_package %{nil}
|
||||
%else
|
||||
@ -288,7 +289,6 @@ Microsoft Azure CLI 2.0 Command Line Utilities
|
||||
install -DTm644 %{buildroot}%{_bindir}/az.completion.sh %{buildroot}%{_datadir}/bash-completion/completions/az
|
||||
%fdupes %{buildroot}%{_sitelibdir}
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if %{with test}
|
||||
%check
|
||||
|
Loading…
x
Reference in New Issue
Block a user