Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ledmon for openSUSE:Factory checked 
in at 2024-05-16 17:15:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ledmon (Old)
 and      /work/SRC/openSUSE:Factory/.ledmon.new.1880 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ledmon"

Thu May 16 17:15:34 2024 rev:28 rq:1174388 version:1.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/ledmon/ledmon.changes    2024-04-02 
16:46:48.198454310 +0200
+++ /work/SRC/openSUSE:Factory/.ledmon.new.1880/ledmon.changes  2024-05-16 
17:17:50.113706543 +0200
@@ -1,0 +2,11 @@
+Thu May 16 07:01:36 UTC 2024 - Dominique Leuenberger <[email protected]>
+
+- Re-arrange spec files block to be in line with all other openSUSE
+  spec files.
+
+-------------------------------------------------------------------
+Tue May 14 10:09:04 UTC 2024 - Nicholas Yang <[email protected]>
+
+- Enable building libled.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ledmon.spec ++++++
--- /var/tmp/diff_new_pack.KXylOi/_old  2024-05-16 17:17:50.793731189 +0200
+++ /var/tmp/diff_new_pack.KXylOi/_new  2024-05-16 17:17:50.793731189 +0200
@@ -20,7 +20,7 @@
 Version:        1.0.0
 Release:        0
 Summary:        Enclosure LED Utilities
-License:        GPL-2.0-only AND LGPL-2.1-or-later
+License:        GPL-2.0-only
 Group:          Hardware/Other
 URL:            https://github.com/intel/ledmon/
 Source0:        
https://github.com/intel/ledmon/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
@@ -45,6 +45,24 @@
 ControlUtilities. They help to enable LED management for software RAID
 solutions.
 
+%package -n libled1
+Summary:        Enclosure LED Control Library
+License:        LGPL-2.1-or-later
+
+%description -n libled1
+libled enable enclosure LED control for applications.
+
+%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
+
+%description devel
+This package contains the files that are necessary for software development
+using libled.
+
 %prep
 %autosetup -p1
 
@@ -52,7 +70,8 @@
 %define _lto_cflags %{nil}
 autoreconf -fiv
 %configure \
-  --enable-systemd=yes
+  --enable-systemd=yes \
+  --enable-library=yes
 %make_build
 
 %install
@@ -60,6 +79,8 @@
 ln -sv %{_sbindir}/service \
   %{buildroot}%{_sbindir}/rc%{name}
 rm %{buildroot}%{_datarootdir}/doc/ledmon/README.md
+rm -f %{buildroot}%{_libdir}/*.a
+find %{buildroot} -type f -name "*.la" -delete -print
 
 %pre
 %service_add_pre %{name}.service
@@ -73,8 +94,10 @@
 %postun
 %service_del_postun %{name}.service
 
+%ldconfig_scriptlets -n libled1
+
 %files
-%license COPYING COPYING.LIB
+%license COPYING
 %doc README.md
 %{_sbindir}/ledmon
 %{_sbindir}/ledctl
@@ -84,3 +107,16 @@
 %{_mandir}/man8/ledctl.8%{?ext_man}
 %{_mandir}/man8/ledmon.8%{?ext_man}
 
+%files -n libled1
+%license COPYING.LIB
+%{_libdir}/libled.so.1
+%{_libdir}/libled.so.1.*
+
+%files devel
+%license COPYING.LIB
+%doc src/lib/LIBRARY.md
+%dir %{_includedir}/led/
+%{_includedir}/led/libled.h
+%{_libdir}/libled.so
+%{_libdir}/pkgconfig/ledmon.pc
+

Reply via email to