[python-jsonpatch] The previous patch didn't contain the pushd/popd call
Alan Pevec
apevec at fedoraproject.org
Fri Aug 29 09:42:30 UTC 2014
commit bf4865f45548e9a85d2fc2c68ca099e5bec6633c
Author: Alan Pevec <alan.pevec at redhat.com>
Date: Fri Aug 29 11:40:42 2014 +0200
The previous patch didn't contain the pushd/popd call
which could cause some problems
from Bohuslav Kabrda
python-jsonpatch.spec | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
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
More information about the scm-commits
mailing list