Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package librime-lua for openSUSE:Factory checked in at 2026-02-16 13:08:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/librime-lua (Old) and /work/SRC/openSUSE:Factory/.librime-lua.new.1977 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "librime-lua" Mon Feb 16 13:08:54 2026 rev:6 rq:1333030 version:0.0.0+git20250809.68f9c36 Changes: -------- --- /work/SRC/openSUSE:Factory/librime-lua/librime-lua.changes 2025-08-20 14:40:47.533278703 +0200 +++ /work/SRC/openSUSE:Factory/.librime-lua.new.1977/librime-lua.changes 2026-02-16 13:14:28.866903502 +0100 @@ -1,0 +2,10 @@ +Sat Feb 14 05:26:51 UTC 2026 - Marguerite Su <[email protected]> + +- fix leap 15.6 build + +------------------------------------------------------------------- +Sat Oct 4 05:17:47 UTC 2025 - Marguerite Su <[email protected]> + +- fix leap 15.6 unresolvable + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ librime-lua.spec ++++++ --- /var/tmp/diff_new_pack.nTGTrv/_old 2026-02-16 13:14:31.387008112 +0100 +++ /var/tmp/diff_new_pack.nTGTrv/_new 2026-02-16 13:14:31.407008942 +0100 @@ -1,7 +1,7 @@ # # spec file for package librime-lua # -# Copyright (c) 2025 SUSE LLC and contributors +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,19 +21,27 @@ Release: 0 Summary: Lua plugin for librime License: SUSE-Permissive +Group: System/Libraries URL: https://github.com/hchunhui/librime-lua Source: %{name}-%{version}.tar.gz Patch0: glog.patch Patch1: cmake.patch -BuildRequires: boost-devel BuildRequires: cmake BuildRequires: darts +%if 0%{?suse_version} < 1600 +BuildRequires: gcc15-c++ +BuildRequires: libboost_filesystem1_75_0-devel +BuildRequires: libboost_regex1_75_0-devel +BuildRequires: xorg-x11-devel +%else +BuildRequires: boost-devel BuildRequires: gcc-c++ +%endif BuildRequires: librime-private-devel BuildRequires: lua54-devel BuildRequires: marisa-devel BuildRequires: opencc-devel -BuildRequires: xorgproto-devel +BuildRequires: xorg-x11-proto-devel BuildRequires: pkgconfig(libglog) BuildRequires: pkgconfig(opencc) @@ -44,15 +52,30 @@ %autosetup -p1 %build +%if 0%{?suse_version} < 1600 +%cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_C_COMPILER=%{_bindir}/gcc-15 -DCMAKE_CXX_COMPILER=%{_bindir}/g++-15 +%else %cmake -DBUILD_SHARED_LIBS=ON +%endif %cmake_build %install -c++ -fPIC %{optflags} -DNDEBUG -std=c++14 -flto=auto -Wl,--as-needed -Wl,--no-undefined -Wl,-z,now -shared -Wl,-soname,librime-lua.so -o librime-lua.so \ +%if 0%{?suse_version} < 1600 +g++-15 \ +%else +c++ \ +%endif + -fPIC %{optflags} -DNDEBUG -std=c++14 -flto=auto -Wl,--as-needed -Wl,--no-undefined -Wl,-z,now -shared -Wl,-soname,librime-lua.so -o librime-lua.so \ $(find build/CMakeFiles/rime-lua-objs.dir/src -type f -name "*.o" | sort) \ -llua5.4 -lm -lrime \ -lglog -lopencc \ +%if 0%{?suse_version} < 1600 + -lpthread -lmarisa \ + -lboost_filesystem \ + -lboost_regex +%else -lpthread -lmarisa +%endif # librime will check the permission and will skip the plugin if the file is not executable, so set 755 here. install -Dm755 librime-lua.so %{buildroot}%{_libdir}/rime-plugins/librime-lua.so
