commit python-libevdev for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-libevdev for openSUSE:Factory checked in at 2021-12-01 20:46:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-libevdev (Old) and /work/SRC/openSUSE:Factory/.python-libevdev.new.31177 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-libevdev" Wed Dec 1 20:46:55 2021 rev:2 rq:934578 version:0.9 Changes: -------- --- /work/SRC/openSUSE:Factory/python-libevdev/python-libevdev.changes 2021-11-23 22:12:29.362497133 +0100 +++ /work/SRC/openSUSE:Factory/.python-libevdev.new.31177/python-libevdev.changes 2021-12-02 02:23:30.288973788 +0100 @@ -1,0 +2,6 @@ +Mon Nov 22 14:59:29 UTC 2021 - Matej Cepl <mcepl@suse.com> + +- BuildRequires on a binary library package is a bad idea as well + as the required SOVER needs to be calculated. + +------------------------------------------------------------------- @@ -5 +10,0 @@ - ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-libevdev.spec ++++++ --- /var/tmp/diff_new_pack.pdz3Zm/_old 2021-12-02 02:23:30.656972504 +0100 +++ /var/tmp/diff_new_pack.pdz3Zm/_new 2021-12-02 02:23:30.660972490 +0100 @@ -1,5 +1,5 @@ # -# spec file for package python-libevdev +# spec file # # Copyright (c) 2021 SUSE LLC # @@ -19,7 +19,6 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 %global modname libevdev -%define libevdev_sover 2 %define libevdev_reqver 1.6.0 Name: python-%{modname} Version: 0.9 @@ -29,13 +28,14 @@ Group: Development/Libraries/Python URL: https://python-libevdev.readthedocs.io/ Source0: https://gitlab.freedesktop.org/libevdev/%{name}/-/archive/%{version}/%{name}-%{version}.tar.bz2 -BuildArch: noarch -BuildRequires: %{python_module setuptools} BuildRequires: %{python_module pytest} -BuildRequires: python-rpm-macros +BuildRequires: %{python_module setuptools} BuildRequires: fdupes -BuildRequires: libevdev%{libevdev_sover} >= %{libevdev_reqver} -Requires: libevdev%{libevdev_sover} >= %{libevdev_reqver} +BuildRequires: libevdev-devel >= %{libevdev_reqver} +BuildRequires: python-rpm-macros +%define libmodule %(rpm -q --qf "%%{name}" -f $(readlink -f %{_libdir}/libevdev.so)) +Requires: %{libmodule} >= %{libevdev_reqver} +BuildArch: noarch %python_subpackages %description
participants (1)
-
Source-Sync