#1 Fix Python dependencies from subpackages
Merged 6 years ago by jjames. Opened 6 years ago by ishcherb.
rpms/ ishcherb/tbb master  into  master

file modified
+5 -2
@@ -8,7 +8,7 @@ 

  Name:    tbb

  Summary: The Threading Building Blocks library abstracts low-level threading details

  Version: %{upver}%{?uprel:.%{uprel}}

- Release: 2%{?dist}

+ Release: 3%{?dist}

  License: ASL 2.0

  Group:   Development/Tools

  URL:     http://threadingbuildingblocks.org/
@@ -118,7 +118,7 @@ 

  # Prepare to build the python module for both python 2 and python 3

  cp -a python python3

  sed -i 's,python,python3,g' python3/Makefile python3/rml/Makefile

- sed -i 's,python2,python3,' python/TBB.py python/tbb/__*.py

+ sed -i 's,python2,python3,' python3/TBB.py python3/tbb/__*.py

  

  %build

  %ifarch %{ix86}
@@ -261,6 +261,9 @@ 

  %endif

  

  %changelog

+ * Mon Jan 29 2018 Iryna Shcherbina <ishcherb@redhat.com> - 2018.2-3

+ - Fix Python 2 dependency from python3-tbb

+ 

  * Fri Jan 26 2018 Jerry James <loganjerry@gmail.com> - 2018.2-2

  - Install libirml for the python interfaces

  

Current dependencies for python{2,3}-tbb-2018.2-2.fc28:

$ dnf repoquery --disablerepo=* --enablerepo=rawhide --requires python2-tbb | grep python
/usr/bin/python3
libpython2.7.so.1.0()(64bit)
python(abi) = 2.7

$ dnf repoquery --disablerepo=* --enablerepo=rawhide --requires python3-tbb | grep python
/usr/bin/python2
libpython3.6m.so.1.0()(64bit)
python(abi) = 3.6

This looks like a small copy-paste error, the shebangs for Python 3 should be fixed in python3 build directory.

Well, that's embarrassing. Thanks for the fix!

Pull-Request has been merged by jjames

6 years ago
Metadata