Replace unversioned %{__python} macro with %{__python3}

This commit is contained in:
Eike Rathke 2020-07-21 22:13:17 +02:00
parent 66fd711d1d
commit 7dbf8b8bee

View File

@ -2,7 +2,7 @@
Name: icu Name: icu
Version: 67.1 Version: 67.1
Release: 1%{?dist} Release: 2%{?dist}
Summary: International Components for Unicode Summary: International Components for Unicode
License: MIT and UCD and Public Domain License: MIT and UCD and Public Domain
@ -51,7 +51,7 @@ BuildArch: noarch
%description -n lib%{name}-doc %description -n lib%{name}-doc
%{summary}. %{summary}.
%{!?endian: %global endian %(%{__python} -c "import sys;print (0 if sys.byteorder=='big' else 1)")} %{!?endian: %global endian %(%{__python3} -c "import sys;print (0 if sys.byteorder=='big' else 1)")}
# " this line just fixes syntax highlighting for vim that is confused by the above and continues literal # " this line just fixes syntax highlighting for vim that is confused by the above and continues literal
@ -179,6 +179,9 @@ LD_LIBRARY_PATH=lib:stubdata:tools/ctestfw:$LD_LIBRARY_PATH bin/uconv -l
%changelog %changelog
* Tue Jul 21 2020 Eike Rathke <erack@redhat.com> - 67.1-2
- Replace unversioned %%{__python} macro with %%{__python3}
* Fri May 15 2020 Pete Walter <pwalter@fedoraproject.org> - 67.1-1 * Fri May 15 2020 Pete Walter <pwalter@fedoraproject.org> - 67.1-1
- Update to 67.1 - Update to 67.1