Skip to content
Snippets Groups Projects
Commit 441f3600 authored by Frederic Lepied's avatar Frederic Lepied
Browse files

fix typos in conditions preventing build

Change-Id: I67838d1f8bdc9d7bca38206fd25f372e5e247266
parent a3d6c497
No related branches found
No related tags found
No related merge requests found
...@@ -155,7 +155,7 @@ rm -rf html/.{doctrees,buildinfo} ...@@ -155,7 +155,7 @@ rm -rf html/.{doctrees,buildinfo}
%install %install
%if 0%{with_python3} %if 0%{?with_python3}
%py3_install %py3_install
%if %{default_python} >= 3 %if %{default_python} >= 3
mv %{buildroot}%{_bindir}/magnum ./magnum.py3 mv %{buildroot}%{_bindir}/magnum ./magnum.py3
...@@ -164,7 +164,7 @@ mv %{buildroot}%{_bindir}/magnum ./magnum.py3 ...@@ -164,7 +164,7 @@ mv %{buildroot}%{_bindir}/magnum ./magnum.py3
%py2_install %py2_install
%if %{default_python} >= 3 %if 0%{?default_python} >= 3
mv magnum.py3 %{buildroot}%{_bindir}/magnum mv magnum.py3 %{buildroot}%{_bindir}/magnum
%endif %endif
...@@ -180,7 +180,7 @@ mv magnum.py3 %{buildroot}%{_bindir}/magnum ...@@ -180,7 +180,7 @@ mv magnum.py3 %{buildroot}%{_bindir}/magnum
%doc README.rst %doc README.rst
%license LICENSE %license LICENSE
%{python2_sitelib}/%{pname} %{python2_sitelib}/%{pname}
%if %{default_python} <= 2 %if 0%{?default_python} <= 2
%{_bindir}/magnum %{_bindir}/magnum
%endif %endif
%{python2_sitelib}/*.egg-info %{python2_sitelib}/*.egg-info
...@@ -190,7 +190,7 @@ mv magnum.py3 %{buildroot}%{_bindir}/magnum ...@@ -190,7 +190,7 @@ mv magnum.py3 %{buildroot}%{_bindir}/magnum
%files -n python3-%{pname} %files -n python3-%{pname}
%doc README.rst %doc README.rst
%license LICENSE %license LICENSE
%if %{default_python} >= 3 %if 0%{?default_python} >= 3
%{_bindir}/magnum %{_bindir}/magnum
%endif %endif
%{python3_sitelib}/magnumclient %{python3_sitelib}/magnumclient
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment