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
This commit is contained in:
Michael Vetter 2022-04-26 16:07:24 +00:00 committed by Git OBS Bridge
parent 644b6e42f5
commit 8de5760952
2 changed files with 16 additions and 7 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Apr 26 14:58:28 UTC 2022 - Christophe Giboudeaux <christophe@krop.fr>
- 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 <mvetter@suse.com>

View File

@ -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.*