Accepting request 1174327 from home:nicholasyang:branches:Base:System

fix the naming of the shared lib package

* should not have a ${NUM} suffix
* follow the name used in pkgconfig for better discoverability

OBS-URL: https://build.opensuse.org/request/show/1174327
OBS-URL: https://build.opensuse.org/package/show/Base:System/ledmon?expand=0&rev=54
This commit is contained in:
Nicholas Yang 2024-05-16 03:13:35 +00:00 committed by Git OBS Bridge
parent 2c987ae1ca
commit 053a069b74

View File

@ -102,19 +102,18 @@ libled enable enclosure LED control for applications.
%post -n libled1 -p /sbin/ldconfig
%postun -n libled1 -p /sbin/ldconfig
%package -n libled1-devel
%package devel
Summary: Document and Include Files for Enclosure LED Control Library
License: LGPL-2.1-or-later
Group: Development/Libraries/C and C++
Requires: libled1 = %{version}-%{release}
Requires: pkgconfig
Provides: ledmon-devel = %{version}
%description -n libled1-devel
%description devel
This package contains the files that are necessary for software development
using libled.
%files -n libled1-devel
%files devel
%license COPYING.LIB
%doc src/lib/LIBRARY.md
%dir %{_includedir}/led/