Hello community,

here is the log from the commit of package libcec for openSUSE:Factory checked 
in at 2018-03-09 10:46:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libcec (Old)
 and      /work/SRC/openSUSE:Factory/.libcec.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libcec"

Fri Mar  9 10:46:09 2018 rev:9 rq:584412 version:4.0.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/libcec/libcec.changes    2017-02-24 
02:54:57.867670352 +0100
+++ /work/SRC/openSUSE:Factory/.libcec.new/libcec.changes       2018-03-09 
10:46:17.583332879 +0100
@@ -1,0 +2,6 @@
+Thu Mar  8 12:39:58 UTC 2018 - [email protected]
+
+- Cleanup spec file
+- Switch to python3
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ libcec.spec ++++++
--- /var/tmp/diff_new_pack.m4hJlf/_old  2018-03-09 10:46:19.063279572 +0100
+++ /var/tmp/diff_new_pack.m4hJlf/_new  2018-03-09 10:46:19.067279427 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libcec
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2012 Guillaume GARDET <[email protected]>
 #
 # All modifications and additions to the file contributed by third parties
@@ -24,9 +24,9 @@
 Version:        4.0.2
 Release:        0
 Summary:        Control your device with your TV remote control via HDMI
-License:        GPL-2.0+
+License:        GPL-2.0-or-later
 Group:          Hardware/TV
-Url:            https://github.com/Pulse-Eight/libcec
+URL:            https://github.com/Pulse-Eight/libcec
 Source:         
https://github.com/Pulse-Eight/libcec/archive/libcec-%{version}.tar.gz
 Patch1:         libcec-cmake_install_lib_dir.patch
 Patch123:       libcec-build-compare.patch
@@ -38,7 +38,7 @@
 BuildRequires:  pkgconfig(libudev)
 BuildRequires:  pkgconfig(lockdev)
 BuildRequires:  pkgconfig(p8-platform)
-BuildRequires:  pkgconfig(python)
+BuildRequires:  pkgconfig(python3)
 BuildRequires:  pkgconfig(udev)
 BuildRequires:  pkgconfig(xrandr)
 %ifarch armv6l armv6hl
@@ -74,12 +74,11 @@
 
 This package contains client applications
 
-%package -n python-%{name}
+%package -n python3-%{name}
 Summary:        Python bindings for %{name}
 Group:          Hardware/TV
-%py_requires
 
-%description -n python-%{name}
+%description -n python3-%{name}
 libCEC allows you, in combination with the right hardware, to control
 your device with your TV remote control utilizing your existing HDMI
 cabling.
@@ -117,10 +116,11 @@
 %setup -q -n %{name}-%{name}-%{version}
 %patch1
 %patch123 -p1
+sed -i "s|bin/python|bin/python3|g" src/pyCecClient/pyCecClient.py
 
 %build
 %cmake
-make %{?_smp_mflags}
+%make_jobs
 
 %install
 %cmake_install
@@ -135,17 +135,14 @@
 %{_bindir}/cecc-client
 %{_bindir}/cecc-client-%{version}
 
-%files -n python-%{name}
-%defattr(-,root,root)
+%files -n python3-%{name}
 %{_bindir}/pyCecClient
-%{python_sitearch}/*
+%{python3_sitearch}/*
 
 %files -n %{libname}
-%defattr(-,root,root)
 %{_libdir}/libcec.so.%{sover}*
 
 %files devel
-%defattr(-,root,root)
 %{_includedir}/libcec
 %{_libdir}/pkgconfig/libcec.pc
 %{_libdir}/libcec.so


Reply via email to