Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package oniguruma for openSUSE:Factory 
checked in at 2025-05-12 16:45:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/oniguruma (Old)
 and      /work/SRC/openSUSE:Factory/.oniguruma.new.30101 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "oniguruma"

Mon May 12 16:45:52 2025 rev:29 rq:1276270 version:6.9.10

Changes:
--------
--- /work/SRC/openSUSE:Factory/oniguruma/oniguruma.changes      2025-01-02 
19:20:15.161565124 +0100
+++ /work/SRC/openSUSE:Factory/.oniguruma.new.30101/oniguruma.changes   
2025-05-12 16:49:02.697086754 +0200
@@ -1,0 +2,8 @@
+Thu May  8 13:10:31 UTC 2025 - Atri Bhattacharya <badshah...@gmail.com>
+
+- Build using cmake (needed to support apps which depend on this
+  and use cmake find_package to find the library).
+- Use %ldconfig_scriptlets macro for post(un) ldconfig update.
+- Use %license to package COPYING file.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ oniguruma.spec ++++++
--- /var/tmp/diff_new_pack.hV4Kco/_old  2025-05-12 16:49:03.121104537 +0200
+++ /var/tmp/diff_new_pack.hV4Kco/_new  2025-05-12 16:49:03.125104705 +0200
@@ -26,6 +26,7 @@
 Group:          Development/Languages/C and C++
 URL:            https://github.com/kkos/oniguruma
 Source:         
https://github.com/kkos/oniguruma/releases/download/v%{version}/onig-%{version}.tar.gz
+BuildRequires:  cmake
 BuildRequires:  pkgconfig
 
 %description
@@ -83,31 +84,33 @@
 
 %build
 export CFLAGS="%{optflags} -g"
-%configure --enable-posix-api
-%make_build
-
-%check
-cd test
-%make_build test
+%cmake \
+  -DENABLE_POSIX_API:BOOL=ON \
+       -DBUILD_TESTS:BOOL=ON \
+       %{nil}
+%cmake_build
 
 %install
-%make_install
-find %{buildroot} -type f -name "*.a" -delete -print
-find %{buildroot} -type f -name "*.la" -delete -print
+%cmake_install
+rm -fr %{buildroot}%{_datadir}/doc/onig
+
+%check
+%ctest
 
-%post -n %{lib_name} -p /sbin/ldconfig
-%postun -n %{lib_name} -p /sbin/ldconfig
+%ldconfig_scriptlets -n %{lib_name}
 
 %files -n %{lib_name}
 %{_libdir}/libonig.so.*
 
 %files devel
-%doc AUTHORS COPYING HISTORY index.html index_ja.html README
+%license COPYING
+%doc AUTHORS HISTORY index.html index_ja.html README
 %doc doc/* examples/
 %{_bindir}/onig-config
 %{_includedir}/oniguruma.h
 %{_includedir}/oniggnu.h
 %{_includedir}/onigposix.h
+%{_libdir}/cmake/%{name}/
 %{_libdir}/libonig.so
 %{_libdir}/pkgconfig/oniguruma.pc
 

Reply via email to