Hello community,

here is the log from the commit of package opencv for openSUSE:Factory checked 
in at 2016-03-26 15:20:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/opencv (Old)
 and      /work/SRC/openSUSE:Factory/.opencv.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "opencv"

Changes:
--------
--- /work/SRC/openSUSE:Factory/opencv/opencv-qt5.changes        2016-03-05 
11:21:26.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.opencv.new/opencv-qt5.changes   2016-03-26 
15:20:55.000000000 +0100
@@ -1,0 +2,11 @@
+Mon Mar 21 17:05:19 UTC 2016 - [email protected]
+
+- Test for python versions greater than or equal to the current
+  version.
+  
+-------------------------------------------------------------------
+Wed Mar  9 18:15:57 UTC 2016 - [email protected]
+
+- Add python 3 support
+
+-------------------------------------------------------------------
--- /work/SRC/openSUSE:Factory/opencv/opencv.changes    2016-03-05 
11:21:26.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.opencv.new/opencv.changes       2016-03-26 
15:20:55.000000000 +0100
@@ -1,0 +2,11 @@
+Mon Mar 21 17:05:19 UTC 2016 - [email protected]
+
+- Test for python versions greater than or equal to the current
+  version.
+
+-------------------------------------------------------------------
+Wed Mar  9 18:15:57 UTC 2016 - [email protected]
+
+- Add python 3 support
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ opencv-qt5.spec ++++++
--- /var/tmp/diff_new_pack.mHgwfq/_old  2016-03-26 15:20:57.000000000 +0100
+++ /var/tmp/diff_new_pack.mHgwfq/_new  2016-03-26 15:20:57.000000000 +0100
@@ -82,6 +82,8 @@
 BuildRequires:  libpng16-devel
 BuildRequires:  python-devel
 BuildRequires:  python-numpy-devel
+BuildRequires:  python3-devel
+BuildRequires:  python3-numpy-devel
 %if 0%{?suse_version} != 1315 || 0%{?is_opensuse}
 BuildRequires:  python-sphinx
 %endif
@@ -124,15 +126,23 @@
 documentation. It should be installed if you want to develop programs that will
 use the OpenCV library.
 
-%package -n python-%name
-Summary:        Python bindings for apps which use OpenCV
+%package -n python-%{name}
+Summary:        Python 2 bindings for apps which use OpenCV
 Group:          Development/Libraries/Python
-Requires:       python-base = %{py_ver}
-%py_requires
+Requires:       python-base >= %{py_ver}
 Conflicts:      python-opencv
 
-%description -n python-%name
-This package contains Python bindings for the OpenCV library.
+%description -n python-%{name}
+This package contains Python 2 bindings for the OpenCV library.
+
+%package -n python3-%{name}
+Summary:        Python 3 bindings for apps which use OpenCV
+Group:          Development/Libraries/Python
+Requires:       python3-base >= %{py3_ver}
+Conflicts:      python3-opencv
+
+%description -n python3-%name
+This package contains Python 3 bindings for the OpenCV library.
 
 %package doc
 Summary:        Documentation and examples for OpenCV
@@ -219,10 +229,14 @@
 %{_libdir}/pkgconfig/opencv.pc
 %{_datadir}/OpenCV/OpenCVConfig*.cmake
 
-%files -n python-%name
+%files -n python-%{name}
 %defattr(-,root,root,-)
 %{python_sitearch}/cv2.so
 
+%files -n python3-%{name}
+%defattr(-,root,root,-)
+%{python3_sitearch}/cv2.%{py3_soflags}.so
+
 %files doc
 %defattr(-,root,root,-)
 %{_docdir}/%{name}-doc/

++++++ opencv.spec ++++++
--- /var/tmp/diff_new_pack.mHgwfq/_old  2016-03-26 15:20:57.000000000 +0100
+++ /var/tmp/diff_new_pack.mHgwfq/_new  2016-03-26 15:20:57.000000000 +0100
@@ -74,6 +74,8 @@
 BuildRequires:  libpng16-devel
 BuildRequires:  python-devel
 BuildRequires:  python-numpy-devel
+BuildRequires:  python3-devel
+BuildRequires:  python3-numpy-devel
 %if 0%{?suse_version} != 1315 || 0%{?is_opensuse}
 BuildRequires:  python-sphinx
 %endif
@@ -114,14 +116,21 @@
 documentation. It should be installed if you want to develop programs that will
 use the OpenCV library.
 
-%package -n python-%name
-Summary:        Python bindings for apps which use OpenCV
+%package -n python-%{name}
+Summary:        Python 2 bindings for apps which use OpenCV
 Group:          Development/Libraries/Python
-Requires:       python-base = %{py_ver}
-%py_requires
+Requires:       python-base >= %{py_ver}
 
-%description -n python-%name
-This package contains Python bindings for the OpenCV library.
+%description -n python-%{name}
+This package contains Python 2 bindings for the OpenCV library.
+
+%package -n python3-%{name}
+Summary:        Python 3 bindings for apps which use OpenCV
+Group:          Development/Libraries/Python
+Requires:       python3-base >= %{py3_ver}
+
+%description -n python3-%{name}
+This package contains Python 3 bindings for the OpenCV library.
 
 %package doc
 Summary:        Documentation and examples for OpenCV
@@ -207,10 +216,18 @@
 %{_libdir}/pkgconfig/opencv.pc
 %{_datadir}/OpenCV/OpenCVConfig*.cmake
 
-%files -n python-%name
+%files -n python-%{name}
 %defattr(-,root,root,-)
 %{python_sitearch}/cv2.so
 
+%files -n python3-%{name}
+%defattr(-,root,root,-)
+%if 0%{?suse_version} > 1310
+%{python3_sitearch}/cv2.%{py3_soflags}.so
+%else
+%{python3_sitearch}/cv2.so
+%endif
+
 %files doc
 %defattr(-,root,root,-)
 %{_docdir}/%{name}-doc/



Reply via email to