Accepting request 988655 from home:dimstar:Factory

- Rename libsnmp40 subpackage to libsnmp39: the libraries are all
  having soversion 39.

Fixes rpmlint errors:
[  460s] libsnmp40.x86_64: E: shlib-policy-name-error (Badness: 10000) SONAME: libnetsnmp.so.39 (/usr/lib64/libnetsnmp.so.39.2.0), expected package suffix: 39
[  460s] libsnmp40.x86_64: E: shlib-policy-name-error (Badness: 10000) SONAME: libnetsnmpagent.so.39 (/usr/lib64/libnetsnmpagent.so.39.2.0), expected package suffix: 39
[  460s] libsnmp40.x86_64: E: shlib-policy-name-error (Badness: 10000) SONAME: libnetsnmphelpers.so.39 (/usr/lib64/libnetsnmphelpers.so.39.2.0), expected package suffix: 39
[  460s] libsnmp40.x86_64: E: shlib-policy-name-error (Badness: 10000) SONAME: libnetsnmpmibs.so.39 (/usr/lib64/libnetsnmpmibs.so.39.2.0), expected package suffix: 39
[  460s] libsnmp40.x86_64: E: shlib-policy-name-error (Badness: 10000) SONAME: libnetsnmptrapd.so.39 (/usr/lib64/libnetsnmptrapd.so.39.2.0), expected package suffix: 39
[  460s] libsnmp40.x86_64: E: shlib-policy-name-error (Badness: 10000) SONAME: libsnmp.so.39 (/usr/lib64/libsnmp.so.39.2.0), expected package suffix: 39

OBS-URL: https://build.opensuse.org/request/show/988655
OBS-URL: https://build.opensuse.org/package/show/network:utilities/net-snmp?expand=0&rev=48
This commit is contained in:
Dominique Leuenberger 2022-07-13 10:16:05 +00:00 committed by Git OBS Bridge
parent ce2dd41ca5
commit f005ed495d
3 changed files with 11 additions and 3 deletions

View File

@ -1,4 +1,4 @@
libsnmp40
libsnmp39
net-snmp-devel
requires -net-snmp-<targettype>
requires "libsnmp40-<targettype> = <version>"
requires "libsnmp39-<targettype> = <version>"

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jul 12 14:18:13 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>
- Rename libsnmp40 subpackage to libsnmp39: the libraries are all
having soversion 39.
-------------------------------------------------------------------
Mon Jul 4 15:06:59 UTC 2022 - Alexander Bergmann <abergmann@suse.com>

View File

@ -27,7 +27,7 @@
%ifnarch s390 s390x
%define netsnmp_with_sensors 1
%endif
%define libname libsnmp40
%define libname libsnmp39
%bcond_without python2
Name: net-snmp
Version: 5.9.2
@ -116,6 +116,8 @@ License: BSD-3-Clause AND MIT
Group: System/Libraries
Requires: perl-base = %{perl_version}
Requires: snmp-mibs >= %{version}
# Version 5.9.2 was wrongly packaging .so.39 in libsnmp40
Conflicts: libsnmp40 <= 5.9.2
%description -n %{libname}
Net-SNMP is a suite of applications used to implement SNMP v1, SNMP v2c