fix python -> python3 sed replacement
This commit is contained in:
parent
8cd467d620
commit
20a0a53595
@ -358,7 +358,7 @@ popd
|
|||||||
%if 0%{?with_python3}
|
%if 0%{?with_python3}
|
||||||
rm -rf %{py3dir}
|
rm -rf %{py3dir}
|
||||||
cp -a . %{py3dir}
|
cp -a . %{py3dir}
|
||||||
find %{py3dir} -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|'
|
find %{py3dir} -name '*.py' -print0 | xargs -0 sed -i '1s|^#!python|#!%{__python3}|'
|
||||||
%endif # with_python3
|
%endif # with_python3
|
||||||
|
|
||||||
|
|
||||||
@ -633,6 +633,7 @@ PYTHONPATH=%{buildroot}%{python_sitelib} \
|
|||||||
%changelog
|
%changelog
|
||||||
* Tue Apr 22 2014 Thomas Spura <tomspur@fedoraproject.org> - 2.0.0-2
|
* Tue Apr 22 2014 Thomas Spura <tomspur@fedoraproject.org> - 2.0.0-2
|
||||||
- add BR/R python-path
|
- add BR/R python-path
|
||||||
|
- fix python -> python3 sed replacement
|
||||||
|
|
||||||
* Thu Apr 3 2014 Thomas Spura <tomspur@fedoraproject.org> - 2.0.0-1
|
* Thu Apr 3 2014 Thomas Spura <tomspur@fedoraproject.org> - 2.0.0-1
|
||||||
- update to 2.0.0
|
- update to 2.0.0
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user