diff --git a/python-jsonpatch.spec b/python-jsonpatch.spec index b0f0442..82fd2a4 100644 --- a/python-jsonpatch.spec +++ b/python-jsonpatch.spec @@ -49,21 +49,27 @@ cp -a . %{py3dir} %{__python} setup.py build %if 0%{?with_python3} +pushd %{py3dir} LANG=en_US.utf8 %{__python3} setup.py build +popd %endif %install %{__python} setup.py install --skip-build --root %{buildroot} %if 0%{?with_python3} +pushd %{py3dir} LANG=en_US.utf8 %{__python3} setup.py install --skip-build --root %{buildroot} +popd %endif %check %{__python} tests.py %if 0%{?with_python3} +pushd %{py3dir} %{__python3} tests.py +popd %endif %files