Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libstroke for openSUSE:Factory checked in at 2022-05-28 22:17:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libstroke (Old) and /work/SRC/openSUSE:Factory/.libstroke.new.2254 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libstroke" Sat May 28 22:17:02 2022 rev:20 rq:979597 version:0.5.1 Changes: -------- --- /work/SRC/openSUSE:Factory/libstroke/libstroke.changes 2014-10-05 20:31:35.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libstroke.new.2254/libstroke.changes 2022-05-28 22:17:38.413060772 +0200 @@ -1,0 +2,8 @@ +Wed May 25 11:21:14 UTC 2022 - Jan Engelhardt <jeng...@inai.de> + +- Implement Shared Library Packaging Policy and resolve rpmlint + error "libstroke.x86_64: E: shlib-policy-name-error SONAME: + libstroke.so.0, expected package suffix: 0" +- Move documentation out of the shlib package. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libstroke.spec ++++++ --- /var/tmp/diff_new_pack.9wgtWy/_old 2022-05-28 22:17:38.797061248 +0200 +++ /var/tmp/diff_new_pack.9wgtWy/_new 2022-05-28 22:17:38.801061253 +0200 @@ -1,7 +1,7 @@ # # spec file for package libstroke # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,45 +12,55 @@ # 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/ # Name: libstroke -BuildRequires: libtool -BuildRequires: pkgconfig(ice) -BuildRequires: pkgconfig(x11) Version: 0.5.1 Release: 0 -Url: http://www.etla.net/libstroke/ +Summary: A Stroke Translation Library +License: GPL-2.0-or-later +Group: Development/Libraries/C and C++ +URL: http://www.etla.net/libstroke/ Source0: http://www.etla.net/libstroke/libstroke-%{version}.tar.bz2 Patch: libstroke-0.4.dif Patch1: no-gtk1.patch Patch2: fix-implicit-declarations.patch # PATCH-FIX-UPSTREAM Fix quoting of AC_DEFUN args (bnc#794807) (2013-01-07) Patch3: libstroke-quote_m4_definitions.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: libtool +BuildRequires: pkgconfig(ice) +BuildRequires: pkgconfig(x11) + +%description +LibStroke is a stroke interface library. Strokes are motions of the +mouse that can be interpreted by a program as a command. Strokes are +used extensively in CAD programs. + +%package -n libstroke0 Summary: A Stroke Translation Library -License: GPL-2.0+ Group: System/Libraries +Obsoletes: libstroke +Provides: libstroke = %{version}-%{release} -%description +%description -n libstroke0 LibStroke is a stroke interface library. Strokes are motions of the mouse that can be interpreted by a program as a command. Strokes are used extensively in CAD programs. -%package -n libstroke-devel +%package devel Summary: Development package for libstroke Group: Development/Libraries/C and C++ -Requires: %{name} = %{version} +Requires: libstroke0 = %{version}-%{release} Requires: pkgconfig(x11) -%description -n libstroke-devel +%description devel This package is needed if you want to program or compile applications that use libstroke. %prep -%setup0 -q +%setup -q %patch %patch1 -p1 %patch2 -p1 @@ -61,23 +71,21 @@ # update config.{guess,sub} autoreconf --force --install %configure --disable-static --with-pic -%{__make} %{?jobs:-j%jobs} +%make_build %install %make_install rm -f %{buildroot}%{_libdir}/*.la -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig +%post -n libstroke0 -p /sbin/ldconfig +%postun -n libstroke0 -p /sbin/ldconfig -%files -%defattr(-, root, root) -%doc AUTHORS COPY* CREDITS ChangeLog INSTALL NEWS README* TODO +%files -n libstroke0 %{_libdir}/libstroke.so.* +%license COPY* %files -n libstroke-devel -%defattr(-, root, root) +%doc AUTHORS CREDITS ChangeLog INSTALL NEWS README* TODO %{_libdir}/libstroke.so /usr/include/*.h /usr/share/aclocal/*.m4