- 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
|
Provides: azure-cli-vm = 2.2.23
|
||||||
Obsoletes: azure-cli-vm < 2.2.23
|
Obsoletes: azure-cli-vm < 2.2.23
|
||||||
Conflicts: azure-cli < 2.0.0
|
Conflicts: azure-cli < 2.0.0
|
||||||
|
%endif
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%endif
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Microsoft Azure CLI 2.0 Command Line Utilities
|
Microsoft Azure CLI 2.0 Command Line Utilities
|
||||||
@ -278,9 +278,10 @@ Microsoft Azure CLI 2.0 Command Line Utilities
|
|||||||
%if !%{with test}
|
%if !%{with test}
|
||||||
%build
|
%build
|
||||||
%pyproject_wheel
|
%pyproject_wheel
|
||||||
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%if 0%{?_test}
|
%if %{with test}
|
||||||
# disable debug packages in package test to prevent error about missing files
|
# disable debug packages in package test to prevent error about missing files
|
||||||
%define debug_package %{nil}
|
%define debug_package %{nil}
|
||||||
%else
|
%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
|
install -DTm644 %{buildroot}%{_bindir}/az.completion.sh %{buildroot}%{_datadir}/bash-completion/completions/az
|
||||||
%fdupes %{buildroot}%{_sitelibdir}
|
%fdupes %{buildroot}%{_sitelibdir}
|
||||||
%endif
|
%endif
|
||||||
%endif
|
|
||||||
|
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
%check
|
%check
|
||||||
|
Loading…
x
Reference in New Issue
Block a user