From f005ed495df8045cb9105b7cfd77793b5c137c68a99c9ef3ecd35e700ec2f3fa Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 13 Jul 2022 10:16:05 +0000 Subject: [PATCH] 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 --- baselibs.conf | 4 ++-- net-snmp.changes | 6 ++++++ net-snmp.spec | 4 +++- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/baselibs.conf b/baselibs.conf index 92c6ebb..c57675e 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1,4 +1,4 @@ -libsnmp40 +libsnmp39 net-snmp-devel requires -net-snmp- - requires "libsnmp40- = " + requires "libsnmp39- = " diff --git a/net-snmp.changes b/net-snmp.changes index 85f9674..b7c4ec6 100644 --- a/net-snmp.changes +++ b/net-snmp.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Jul 12 14:18:13 UTC 2022 - Dominique Leuenberger + +- Rename libsnmp40 subpackage to libsnmp39: the libraries are all + having soversion 39. + ------------------------------------------------------------------- Mon Jul 4 15:06:59 UTC 2022 - Alexander Bergmann diff --git a/net-snmp.spec b/net-snmp.spec index 6596336..ceeffd7 100644 --- a/net-snmp.spec +++ b/net-snmp.spec @@ -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