Accepting request 973192 from home:jengelh:branches:hardware
- Resolve rpmlit reports * libupsclient1.x86_64: E: shlib-policy-name-error SONAME: libnutclient.so.0, expected package suffix: 0 * libupsclient1.x86_64: E: shlib-policy-name-error SONAME: libupsclient.so.4, expected package suffix: 4 OBS-URL: https://build.opensuse.org/request/show/973192 OBS-URL: https://build.opensuse.org/package/show/hardware/nut?expand=0&rev=98
This commit is contained in:
@@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 27 12:54:07 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Resolve rpmlit reports
|
||||||
|
* libupsclient1.x86_64: E: shlib-policy-name-error SONAME:
|
||||||
|
libnutclient.so.0, expected package suffix: 0
|
||||||
|
* libupsclient1.x86_64: E: shlib-policy-name-error SONAME:
|
||||||
|
libupsclient.so.4, expected package suffix: 4
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 24 08:09:40 UTC 2021 - Antonio Larrosa <alarrosa@suse.com>
|
Fri Dec 24 08:09:40 UTC 2021 - Antonio Larrosa <alarrosa@suse.com>
|
||||||
|
|
||||||
|
51
nut.spec
51
nut.spec
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package nut
|
# spec file for package nut
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 SUSE LLC
|
# Copyright (c) 2022 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -133,11 +133,34 @@ together with nut to provide UPS networking support.
|
|||||||
Network UPS Tools is a collection of programs which provide a common
|
Network UPS Tools is a collection of programs which provide a common
|
||||||
interface for monitoring and administering UPS hardware.
|
interface for monitoring and administering UPS hardware.
|
||||||
|
|
||||||
%package -n libupsclient1
|
%package -n libnutclient0
|
||||||
Summary: Network UPS Tools Library (Uninterruptible Power Supply Monitoring)
|
Summary: Network UPS Tools Library (Uninterruptible Power Supply Monitoring)
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
Conflicts: libupsclient1
|
||||||
|
|
||||||
%description -n libupsclient1
|
%description -n libnutclient0
|
||||||
|
Shared library for the Network UPS Tools.
|
||||||
|
|
||||||
|
Network UPS Tools is a collection of programs which provide a common
|
||||||
|
interface for monitoring and administering UPS hardware.
|
||||||
|
|
||||||
|
%package -n libnutscan1
|
||||||
|
Summary: Network UPS Tools Library (Uninterruptible Power Supply Monitoring)
|
||||||
|
Group: System/Libraries
|
||||||
|
Conflicts: libupsclient1
|
||||||
|
|
||||||
|
%description -n libnutscan1
|
||||||
|
Shared library for the Network UPS Tools.
|
||||||
|
|
||||||
|
Network UPS Tools is a collection of programs which provide a common
|
||||||
|
interface for monitoring and administering UPS hardware.
|
||||||
|
|
||||||
|
%package -n libupsclient4
|
||||||
|
Summary: Network UPS Tools Library (Uninterruptible Power Supply Monitoring)
|
||||||
|
Group: System/Libraries
|
||||||
|
Conflicts: libupsclient1
|
||||||
|
|
||||||
|
%description -n libupsclient4
|
||||||
Shared library for the Network UPS Tools.
|
Shared library for the Network UPS Tools.
|
||||||
|
|
||||||
Network UPS Tools is a collection of programs which provide a common
|
Network UPS Tools is a collection of programs which provide a common
|
||||||
@@ -161,7 +184,9 @@ interface for monitoring and administering UPS hardware.
|
|||||||
%package devel
|
%package devel
|
||||||
Summary: Network UPS Tools (Uninterruptible Power Supply Monitoring)
|
Summary: Network UPS Tools (Uninterruptible Power Supply Monitoring)
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %{name} = %{version}
|
Requires: libnutclient0 = %{version}-%{release}
|
||||||
|
Requires: libnutscan1 = %{version}-%{release}
|
||||||
|
Requires: libupsclient4 = %{version}-%{release}
|
||||||
Requires: openssl-devel
|
Requires: openssl-devel
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
@@ -285,8 +310,12 @@ udevadm trigger --subsystem-match=usb --property-match=DEVTYPE=usb_device
|
|||||||
%postun
|
%postun
|
||||||
%service_del_postun nut-driver.service nut-server.service nut-monitor.service
|
%service_del_postun nut-driver.service nut-server.service nut-monitor.service
|
||||||
|
|
||||||
%post -n libupsclient1 -p /sbin/ldconfig
|
%post -n libnutclient0 -p /sbin/ldconfig
|
||||||
%postun -n libupsclient1 -p /sbin/ldconfig
|
%postun -n libnutclient0 -p /sbin/ldconfig
|
||||||
|
%post -n libnutscan1 -p /sbin/ldconfig
|
||||||
|
%postun -n libnutscan1 -p /sbin/ldconfig
|
||||||
|
%post -n libupsclient4 -p /sbin/ldconfig
|
||||||
|
%postun -n libupsclient4 -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc AUTHORS ChangeLog MAINTAINERS NEWS README README.SUSE UPGRADING
|
%doc AUTHORS ChangeLog MAINTAINERS NEWS README README.SUSE UPGRADING
|
||||||
@@ -326,8 +355,14 @@ udevadm trigger --subsystem-match=usb --property-match=DEVTYPE=usb_device
|
|||||||
%{_mandir}/man8/netxml-ups*%{ext_man}
|
%{_mandir}/man8/netxml-ups*%{ext_man}
|
||||||
%{_mandir}/man8/snmp-ups*%{ext_man}
|
%{_mandir}/man8/snmp-ups*%{ext_man}
|
||||||
|
|
||||||
%files -n libupsclient1
|
%files -n libnutclient0
|
||||||
%{_libdir}/*.so.*
|
%{_libdir}/libnutclient.so.*
|
||||||
|
|
||||||
|
%files -n libnutscan1
|
||||||
|
%{_libdir}/libnutscan.so.*
|
||||||
|
|
||||||
|
%files -n libupsclient4
|
||||||
|
%{_libdir}/libupsclient.so.*
|
||||||
|
|
||||||
%files cgi
|
%files cgi
|
||||||
%{CGIPATH}/nut
|
%{CGIPATH}/nut
|
||||||
|
Reference in New Issue
Block a user