Hello community, here is the log from the commit of package evemu for openSUSE:Factory checked in at 2020-05-04 18:42:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/evemu (Old) and /work/SRC/openSUSE:Factory/.evemu.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "evemu" Mon May 4 18:42:29 2020 rev:4 rq:800040 version:2.7.0 Changes: -------- --- /work/SRC/openSUSE:Factory/evemu/evemu.changes 2018-03-19 23:38:27.201190717 +0100 +++ /work/SRC/openSUSE:Factory/.evemu.new.2738/evemu.changes 2020-05-04 18:43:23.769407236 +0200 @@ -1,0 +2,6 @@ +Mon May 4 07:11:48 UTC 2020 - Luigi Baldoni <[email protected]> + +- Use explicit python2 references +- Spec cleanup + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ evemu.spec ++++++ --- /var/tmp/diff_new_pack.WFilll/_old 2020-05-04 18:43:26.225412301 +0200 +++ /var/tmp/diff_new_pack.WFilll/_new 2020-05-04 18:43:26.229412310 +0200 @@ -1,7 +1,7 @@ # # spec file for package evemu # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -24,7 +24,7 @@ Summary: Input Event Device Emulation Library License: GPL-3.0-only Group: Hardware/Other -Url: https://freedesktop.org/wiki/Evemu +URL: https://freedesktop.org/wiki/Evemu Source: https://freedesktop.org/software/%{name}/%{name}-%{version}.tar.xz Source1: https://freedesktop.org/software/%{name}/%{name}-%{version}.tar.xz.sig Source2: %{name}.keyring @@ -32,7 +32,7 @@ BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: pkgconfig -BuildRequires: python-devel +BuildRequires: python2-devel BuildRequires: python3-devel BuildRequires: xmlto BuildRequires: pkgconfig(libevdev) >= 1.2.99.902 @@ -53,24 +53,15 @@ data, create emulation devices and replay data from kernel evdev (input event) devices. -%if 0%{?suse_version} >= 1500 %package -n python2-%{name} -%else -%package -n python-%{name} -%endif Summary: Python2 bindings for evemu Group: Development/Languages/Python Requires: %{soname}%{sover} = %{version} -%if 0%{?suse_version} >= 1500 # python-evemu was last used in openSUSE Leap 42.3. Provides: python-%{name} = %{version}-%{release} Obsoletes: python-%{name} < %{version}-%{release} %description -n python2-%{name} -%else - -%description -n python-%{name} -%endif The evemu library and tools are used to describe devices, record data, create emulation devices and replay data from kernel evdev (input event) devices. @@ -103,7 +94,7 @@ This package provides the development files. %prep -%setup -q +%autosetup evdev_sover="$(basename "$(readlink -f %{_libdir}/libevdev.so)")" sed -i \ -e 's|\"%{soname}.so\"|\"%{soname}.so.%{sover}\"|' \ @@ -136,43 +127,27 @@ %fdupes %{buildroot}%{_bindir}/ %fdupes %{buildroot}%{_mandir}/ +%fdupes %{buildroot}%{python2_sitelib} %post -n %{soname}%{sover} -p /sbin/ldconfig %postun -n %{soname}%{sover} -p /sbin/ldconfig %files -%if 0%{?suse_version} >= 1500 %license COPYING -%else -%doc COPYING -%endif %{_bindir}/%{name}-* %{_mandir}/man?/%{name}-*?%{?ext_man} %files -n %{soname}%{sover} -%if 0%{?suse_version} >= 1500 %license COPYING -%else -%doc COPYING -%endif %{_libdir}/%{soname}.so.%{sover}* -%if 0%{?suse_version} >= 1500 %files -n python2-%{name} %license COPYING -%else -%files -n python-%{name} -%doc COPYING -%endif -%{python_sitelib}/%{name}/ +%{python2_sitelib}/%{name}/ %files -n python3-%{name} -%if 0%{?suse_version} >= 1500 %license COPYING -%else -%doc COPYING -%endif %{python3_sitelib}/%{name}/ %files devel
