Resolves: #1907561
- Apply patches from (BZ #1907561) * Sun Dec 20 2020 Owen Taylor <otaylor@redhat.com> - 2018.2-9 - Fix build directory referenced in python2 build - Move some python3 code that escaped back into a conditional (BZ #1907561) - Bump release
This commit is contained in:
parent
a3457919a0
commit
a098a2117f
15
tbb.spec
15
tbb.spec
@ -4,7 +4,7 @@
|
|||||||
Name: tbb
|
Name: tbb
|
||||||
Summary: The Threading Building Blocks library abstracts low-level threading details
|
Summary: The Threading Building Blocks library abstracts low-level threading details
|
||||||
Version: %{upver}%{?uprel:.%{uprel}}
|
Version: %{upver}%{?uprel:.%{uprel}}
|
||||||
Release: 9%{?dist}
|
Release: 10%{?dist}
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
URL: http://threadingbuildingblocks.org/
|
URL: http://threadingbuildingblocks.org/
|
||||||
@ -150,11 +150,11 @@ cp -a python python2
|
|||||||
cp -a python python3
|
cp -a python python3
|
||||||
sed -i 's,python,python3,g' python3/Makefile python3/rml/Makefile
|
sed -i 's,python,python3,g' python3/Makefile python3/rml/Makefile
|
||||||
sed -i 's,python2,python3,' python3/TBB.py python3/tbb/__*.py
|
sed -i 's,python2,python3,' python3/TBB.py python3/tbb/__*.py
|
||||||
%endif
|
|
||||||
|
|
||||||
# Invoke Python with the %%{__python3} executable instead of hardcoded python3
|
# Invoke Python with the %%{__python3} executable instead of hardcoded python3
|
||||||
sed -i 's,PY_SETUP=python3,PY_SETUP=%{__python3},g' python3/Makefile
|
sed -i 's,PY_SETUP=python3,PY_SETUP=%{__python3},g' python3/Makefile
|
||||||
sed -i 's,python3 -m tbb test,%{__python3} -m tbb test,g' python3/Makefile
|
sed -i 's,python3 -m tbb test,%{__python3} -m tbb test,g' python3/Makefile
|
||||||
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ifarch %{ix86}
|
%ifarch %{ix86}
|
||||||
@ -246,7 +246,7 @@ cp -p src/rml/include/*.h $RPM_BUILD_ROOT%{_includedir}/rml
|
|||||||
# Python 2 install
|
# Python 2 install
|
||||||
%if %{with python2}
|
%if %{with python2}
|
||||||
. build/obj_release/tbbvars.sh
|
. build/obj_release/tbbvars.sh
|
||||||
pushd python
|
pushd python2
|
||||||
%py2_install
|
%py2_install
|
||||||
chmod a+x $RPM_BUILD_ROOT%{python2_sitearch}/TBB.py
|
chmod a+x $RPM_BUILD_ROOT%{python2_sitearch}/TBB.py
|
||||||
chmod a+x $RPM_BUILD_ROOT%{python2_sitearch}/tbb/__*.py
|
chmod a+x $RPM_BUILD_ROOT%{python2_sitearch}/tbb/__*.py
|
||||||
@ -312,6 +312,15 @@ rm $RPM_BUILD_ROOT%{_libdir}/cmake/%{name}/README.rst
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Feb 03 2021 Thomas Rodgers <trodgers@redhat.com> - 2018.2-10
|
||||||
|
- Apply patches from (BZ #1907561)
|
||||||
|
- Bump release
|
||||||
|
|
||||||
|
* Sun Dec 20 2020 Owen Taylor <otaylor@redhat.com> - 2018.2-9
|
||||||
|
- Fix build directory referenced in python2 build
|
||||||
|
- Move some python3 code that escaped back into a conditional
|
||||||
|
(BZ #1907561)
|
||||||
|
|
||||||
* Tue Nov 13 2018 Patsy Griffin Franklin <pfrankli@redhat.com> - 2018.2-9
|
* Tue Nov 13 2018 Patsy Griffin Franklin <pfrankli@redhat.com> - 2018.2-9
|
||||||
- Require the correct version of tbb for python2-tbb and python3-tbb.
|
- Require the correct version of tbb for python2-tbb and python3-tbb.
|
||||||
(BZ #1638041)
|
(BZ #1638041)
|
||||||
|
Loading…
Reference in New Issue
Block a user