Hello community, here is the log from the commit of package lirc for openSUSE:Factory checked in at 2018-03-14 19:21:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lirc (Old) and /work/SRC/openSUSE:Factory/.lirc.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lirc" Wed Mar 14 19:21:46 2018 rev:66 rq:586326 version:0.9.4c Changes: -------- --- /work/SRC/openSUSE:Factory/lirc/lirc.changes 2016-11-09 11:37:31.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.lirc.new/lirc.changes 2018-03-14 19:21:47.657943242 +0100 @@ -1,0 +2,11 @@ +Sat Mar 10 12:54:00 UTC 2018 - [email protected] + +- Drop lircd-Remove-use-of-functions-killed-in-kernel-4.8.0.patch: + the guarding zypper call was wrong (-qf vs --qf) and resulted in + the patch never being applied. So it is obviously not used. +- Remove dependency on zypper: libzypp just gets a new dependency + on libgpgme, which happens to result in a cycle: since the sole + usage of zypper was to 'detect if the patch was needed' is no + longer given, we have no feature loss. + +------------------------------------------------------------------- Old: ---- lircd-Remove-use-of-functions-killed-in-kernel-4.8.0.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lirc.spec ++++++ --- /var/tmp/diff_new_pack.3nOXNl/_old 2018-03-14 19:21:49.229887434 +0100 +++ /var/tmp/diff_new_pack.3nOXNl/_new 2018-03-14 19:21:49.237887150 +0100 @@ -1,7 +1,7 @@ # # spec file for package lirc # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,12 +25,11 @@ Version: 0.9.4c Release: 0 Summary: Tools for Infrared Receivers -License: GPL-2.0+ +License: GPL-2.0-or-later Group: Hardware/Other -Url: http://www.lirc.org/ +URL: http://www.lirc.org/ Source0: http://downloads.sourceforge.net/project/lirc/LIRC/%{version}/lirc-%{version}.tar.bz2 Source1: baselibs.conf -Patch0: lircd-Remove-use-of-functions-killed-in-kernel-4.8.0.patch Patch1: lirc-lib-curl_poll.h-Ensure-build-on-unconfiguredclients.patch Patch2: lirc-configure-libudev.patch BuildRequires: autoconf @@ -43,15 +42,9 @@ BuildRequires: libxslt-tools # for hw_atilibusb driver BuildRequires: pkgconfig -BuildRequires: pkgconfig(alsa) -%if 0%{?suse_version} > 1320 -BuildRequires: pkgconfig(libftdi1) -BuildRequires: pkgconfig(libirman) -BuildRequires: pkgconfig(libudev) -%endif BuildRequires: python3 BuildRequires: python3-PyYAML -BuildRequires: zypper +BuildRequires: pkgconfig(alsa) BuildRequires: pkgconfig(libusb) BuildRequires: pkgconfig(portaudio-2.0) BuildRequires: pkgconfig(sm) @@ -62,6 +55,11 @@ Recommends: lirc-remotes Suggests: lirc-kmp Supplements: lirc-kmp +%if 0%{?suse_version} > 1320 +BuildRequires: pkgconfig(libftdi1) +BuildRequires: pkgconfig(libirman) +BuildRequires: pkgconfig(libudev) +%endif %ifnarch s390 s390x # i2c-dev.h now moved to that package BuildRequires: i2c-tools @@ -78,11 +76,11 @@ %package core Summary: LIRC core, always needed to run LIRC -License: GPL-2.0+ +License: GPL-2.0-or-later Group: Hardware/Other +Requires(pre): shadow Provides: %{name} = %{version} Obsoletes: %{name} < %{version} -Requires(pre): shadow %{?systemd_requires} %description core @@ -91,13 +89,13 @@ %package config Summary: LIRC Configuration Tools and Data -License: GPL-2.0+ +License: GPL-2.0-or-later Group: Hardware/Other Requires: lirc-core = %{version} -Provides: %{name}-remotes = %{version} -Obsoletes: %{name}-remotes < %{version} Requires: python3-PyYAML Requires: python3-gobject +Provides: %{name}-remotes = %{version} +Obsoletes: %{name}-remotes < %{version} BuildArch: noarch %description config @@ -106,7 +104,7 @@ %package devel Summary: LIRC development files -License: GPL-2.0+ +License: GPL-2.0-or-later Group: Development/Libraries/C and C++ Requires: libirrecord0 = %{version} Requires: liblirc0 = %{version} @@ -122,7 +120,7 @@ %package -n liblirc_client0 Summary: LIRC client library -License: GPL-2.0+ +License: GPL-2.0-or-later Group: Hardware/Other %description -n liblirc_client0 @@ -131,7 +129,7 @@ %package -n liblirc_driver0 Summary: LIRC driver library -License: GPL-2.0+ +License: GPL-2.0-or-later Group: Hardware/Other %description -n liblirc_driver0 @@ -139,7 +137,7 @@ %package -n libirrecord0 Summary: LIRC record library -License: GPL-2.0+ +License: GPL-2.0-or-later Group: Hardware/Other %description -n libirrecord0 @@ -147,7 +145,7 @@ %package -n liblirc0 Summary: LIRC driver library -License: GPL-2.0+ +License: GPL-2.0-or-later Group: Hardware/Other %description -n liblirc0 @@ -156,7 +154,7 @@ %package disable-kernel-rc Summary: Disable kernel ir device handling in favor of lirc -License: GPL-2.0+ +License: GPL-2.0-or-later Group: Hardware/Other Requires: %{name}-core = %{version}-%{release} Recommends: lirc-core = %{version} @@ -168,7 +166,7 @@ %if 0%{?suse_version} > 1320 %package drv-ftdi Summary: Ftdi LIRC User-Space Driver -License: GPL-2.0+ +License: GPL-2.0-or-later Group: Hardware/Other Requires: lirc-core = %{version} @@ -179,7 +177,7 @@ %package drv-portaudio Summary: Portaudio LIRC User-Space Driver -License: LGPL-2.0 +License: LGPL-2.0-only Group: Hardware/Other Requires: lirc-core = %{version} @@ -189,7 +187,7 @@ %package tools-gui Summary: LIRC GUI tools -License: GPL-2.0+ +License: GPL-2.0-or-later Group: Hardware/Other Requires: lirc-core = %{version} Requires: xorg-x11-fonts-core @@ -203,13 +201,9 @@ %global __provides_exclude_from ^%{_docdir}/.*$ %global __requires_exclude_from ^%{_docdir}/.*$ -sed -i -e 's|/usr/local/etc/|/etc/|' contrib/irman2lirc +sed -i -e 's|%{_prefix}/local%{_sysconfdir}/|%{_sysconfdir}/|' contrib/irman2lirc sed -i -e 's/#effective-user/effective-user /' lirc_options.conf sed -i -e '/^effective-user/s/=$/= lirc/' lirc_options.conf -if zypper vcmp $(rpm -qf "%%{version}" linux-glibc-devel) 4.8~ | grep -"is newer"; then -%patch0 -p1 -fi %patch1 -p1 %patch2 -p1 @@ -269,7 +263,7 @@ %pre core getent group lirc >/dev/null || groupadd -r lirc getent passwd lirc >/dev/null || \ - useradd -r -g lirc -d /var/log/lirc -s /sbin/nologin \ + useradd -r -g lirc -d %{_localstatedir}/log/lirc -s /sbin/nologin \ -c "LIRC daemon user, runs lircd." lirc usermod -a -G dialout lirc &> /dev/null || : usermod -a -G lock lirc &> /dev/null || : @@ -292,7 +286,8 @@ %files core %defattr (-,root,root) -%doc AUTHORS COPYING ChangeLog NEWS README +%license COPYING +%doc AUTHORS ChangeLog NEWS README %doc doc/html doc/lirc.hwdb doc/irxevent.keys %doc contrib %dir %{_datadir}/%{name}
