From 8de5760952410357c42c44193c440e8d183d318c76be3ebaf90130a5b03ff246 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Tue, 26 Apr 2022 16:07:24 +0000 Subject: [PATCH] Accepting request 972925 from home:cgiboudeaux:branches:X11:LXQt - Fix a rpmlint error: * libqtermwidget5-0.x86_64: E: shlib-policy-name-error SONAME: libqtermwidget5.so.1, expected package suffix: 1 OBS-URL: https://build.opensuse.org/request/show/972925 OBS-URL: https://build.opensuse.org/package/show/X11:LXQt/qtermwidget-qt5?expand=0&rev=21 --- qtermwidget-qt5.changes | 7 +++++++ qtermwidget-qt5.spec | 16 +++++++++------- 2 files changed, 16 insertions(+), 7 deletions(-) diff --git a/qtermwidget-qt5.changes b/qtermwidget-qt5.changes index fd54e58..54674d5 100644 --- a/qtermwidget-qt5.changes +++ b/qtermwidget-qt5.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Apr 26 14:58:28 UTC 2022 - Christophe Giboudeaux + +- Fix a rpmlint error: + * libqtermwidget5-0.x86_64: E: shlib-policy-name-error + SONAME: libqtermwidget5.so.1, expected package suffix: 1 + ------------------------------------------------------------------- Mon Nov 8 10:08:12 UTC 2021 - Michael Vetter diff --git a/qtermwidget-qt5.spec b/qtermwidget-qt5.spec index 61f5132..c8c8c8b 100644 --- a/qtermwidget-qt5.spec +++ b/qtermwidget-qt5.spec @@ -46,18 +46,20 @@ BuildRequires: pkgconfig(Qt5Widgets) >= 5.15 %description %{pack_desc} -%package -n libqtermwidget%{qt_ver}-0 +%package -n libqtermwidget%{qt_ver}-1 Summary: %{pack_summ} Group: Development/Libraries/C and C++ Requires: %{name}-data >= %{version} +# Renamed to fix a rpmlint error +Conflicts: libqtermwidget%{qt_ver}-0 = 1.0.0 -%description -n libqtermwidget%{qt_ver}-0 +%description -n libqtermwidget%{qt_ver}-1 %{pack_desc} %package data Summary: QTermWidget data package Group: Development/Libraries/C and C++ -Requires: libqtermwidget%{qt_ver}-0 = %{version} +Requires: libqtermwidget%{qt_ver}-1 = %{version} BuildArch: noarch %description data @@ -66,7 +68,7 @@ Data files for qtermwidget library. %package devel Summary: QTermWidget devel package Group: Development/Libraries/C and C++ -Requires: libqtermwidget%{qt_ver}-0 = %{version} +Requires: libqtermwidget%{qt_ver}-1 = %{version} %description devel Development environment for qtermwidget library. @@ -82,10 +84,10 @@ make V=1 %{?_smp_mflags} %install %cmake_install -%post -n libqtermwidget%{qt_ver}-0 -p /sbin/ldconfig -%postun -n libqtermwidget%{qt_ver}-0 -p /sbin/ldconfig +%post -n libqtermwidget%{qt_ver}-1 -p /sbin/ldconfig +%postun -n libqtermwidget%{qt_ver}-1 -p /sbin/ldconfig -%files -n libqtermwidget%{qt_ver}-0 +%files -n libqtermwidget%{qt_ver}-1 %license LICENSE %doc AUTHORS CHANGELOG README.md %{_libdir}/libqtermwidget*.so.*