Skip to content
Snippets Groups Projects
Commit 5533a3a7 authored by Chandan Kumar's avatar Chandan Kumar
Browse files

Fixed typos in check macros

Change-Id: I9f13348e06ac65afbedcf5c0c839274fb63a171a
parent 441f3600
No related branches found
No related tags found
No related merge requests found
%global sname python-magnumclient
%global pname magnumclient
%if 0%{?fedora}
%global with_python3 1
%if 0%{?fedora} >= 24
%global with_python3 1
%global default_python 3
%else
%global default_python 2
%endif
%endif
Name: python-%{pname}
Version: XXX
Release: XXX
......@@ -171,9 +166,9 @@ mv magnum.py3 %{buildroot}%{_bindir}/magnum
%check
# tests are failing due to unicode not defined
# we are skipping the test
%{__python2} setup.py test ||:
%{__python2} setup.py test ||
%if 0%{?with_python3}
%{__python3} setup.py test ||:
%{__python3} setup.py test ||
%endif
%files -n python2-%{pname}
......@@ -211,4 +206,3 @@ mv magnum.py3 %{buildroot}%{_bindir}/magnum
%endif
%changelog
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