Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package nekobox for openSUSE:Factory checked 
in at 2026-04-07 16:32:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nekobox (Old)
 and      /work/SRC/openSUSE:Factory/.nekobox.new.21863 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nekobox"

Tue Apr  7 16:32:31 2026 rev:12 rq:1344960 version:5.10.34

Changes:
--------
--- /work/SRC/openSUSE:Factory/nekobox/nekobox.changes  2026-03-30 
18:35:25.089390159 +0200
+++ /work/SRC/openSUSE:Factory/.nekobox.new.21863/nekobox.changes       
2026-04-07 16:47:30.029056931 +0200
@@ -1,0 +2,32 @@
+Tue Apr  7 10:16:08 UTC 2026 - qr243vbi <[email protected]>
+
+Update to 5.10.34
+Fix unicode paths
+
+-------------------------------------------------------------------
+Tue Apr  7 06:42:53 UTC 2026 - qr243vbi <[email protected]>
+
+Update to 5.10.33
+- Fix core on windows
+- Improve UI
+- Update sing-box to 1.13.6
+
+-------------------------------------------------------------------
+Sat Apr  4 19:57:49 UTC 2026 - qr243vbi <[email protected]>
+
+Update to 5.10.32
+- Tweak UI
+- Improve TUN mode
+- Fix network field
+- Fix mieru links
+- Fix Socks proxy
+
+-------------------------------------------------------------------
+Thu Apr  2 18:08:01 UTC 2026 - qr243vbi <[email protected]>
+
+Update to 5.10.30
+- Improve UI 
+- Fix Total Downloads and Total Uploads statistic on info page
+- Update sing-box to 1.13.5
+
+-------------------------------------------------------------------
@@ -5,2 +37,4 @@
-- Fix TUN mode - Fix usage duration display - Fix DateTime
-display - Update Links
+- Fix TUN mode 
+- Fix usage duration display 
+- Fix DateTime display 
+- Update Links
@@ -12,4 +46,9 @@
-- Refract UI - Add information page - Add announcements - Add
-Juicity - Add TrustTunnel - Fix NaiveProxy (working on x64 and
-arm64 only for now) - Improve RAM usage - Add fields for HTTP and
-Socks proxy - Update sing-box - Improve RAM memory usage
+- Refract UI 
+- Add information page 
+- Add announcements 
+- Add Juicity protocol
+- Add TrustTunnel protocol
+- Fix NaiveProxy protocol (working on x64 and arm64 only for now) 
+- Add fields for HTTP and Socks proxy 
+- Update sing-box 
+- Improve RAM memory usage
@@ -21,5 +60,4 @@
-Update sing-box
-Improve context menu
-Add more languages
-Fix SSH proxy
-Add fields for HTTP and Socks proxy
+- Update sing-box
+- Improve context menu
+- Add more languages
+- Fix SSH proxy
@@ -31,2 +69,2 @@
-Fix core dump issue caused by context menus, add additional
-languages
+- Fix core dump issue caused by context menus
+- Add additional languages
@@ -38 +76 @@
-Add as-link option
+- Add as-link option
@@ -44 +82 @@
-Improve ToolBox
+- Improve ToolBox
@@ -50,5 +88,5 @@
-Add support for NaiveProxy
-Add more Qt visual styles
-Add button 'move to group'
-Improve ram usage
-Update sing-box to 1.13.2
+- Add support for NaiveProxy
+- Add more Qt visual styles
+- Add button 'move to group'
+- Improve ram usage
+- Update sing-box to 1.13.2
@@ -60 +98 @@
-Update sing-box to 1.13.0
+- Update sing-box to 1.13.0
@@ -66,2 +104,4 @@
-Fix context menu bug, fix toggle window button bug, add more
-translations, improve language selector
+- Fix context menu bug
+- Fix toggle window button bug
+- Add more translations
+- Improve language selector
@@ -73 +113 @@
-Improve gvisor vpn stack, add more settings, update translations
+- Improve gvisor vpn stack, add more settings, update translations
@@ -78 +118 @@
-Update to 5.9.32
+- Update to 5.9.32
@@ -83 +123 @@
-Update to 5.9.29 
\ No newline at end of file
+- Update to 5.9.29 
\ No newline at end of file

Old:
----
  nekobox-unified-source-5.10.29.tar.xz

New:
----
  nekobox-core.spec.in
  nekobox-qt.spec.in
  nekobox-unified-source-5.10.34.tar.xz

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

Other differences:
------------------
++++++ nekobox.spec ++++++
--- /var/tmp/diff_new_pack.ZW6Va6/_old  2026-04-07 16:47:30.717085364 +0200
+++ /var/tmp/diff_new_pack.ZW6Va6/_new  2026-04-07 16:47:30.721085529 +0200
@@ -15,15 +15,22 @@
 # Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
-
+%define core nekobox_core
 Name:           nekobox
-Version: 5.10.29
+Version:        5.10.34
 Release:        0%{?autorelease}
 Summary:        Qt based cross-platform GUI proxy configuration manager 
(backend: sing-box)
 License:        GPL-3.0-only
 URL:            https://github.com/qr243vbi/nekobox
-Source0: 
https://github.com/qr243vbi/nekobox/releases/download/%{version}/nekobox-unified-source-%{version}.tar.xz
-BuildRequires:  chrpath
+Source0:        
%{url}/releases/download/%{version}/nekobox-unified-source-%{version}.tar.xz
+Source1:        nekobox-qt.spec.in
+Source2:        nekobox-core.spec.in
+
+%if 0%{?suse_version} > 0
+BuildRequires:  patchelf
+%else
+BuildRequires:  (chrpath or patchelf)
+%endif
 BuildRequires:  cmake
 BuildRequires:  %{!?nekobox_golang_package:golang >= 
1.25}%{?nekobox_golang_package}
 BuildRequires:  pkgconfig
@@ -42,87 +49,116 @@
 BuildRequires:  cmake(Qt6Widgets)
 BuildRequires:  pkgconfig(xkbcommon)
 BuildRequires:  gcc-c++
-Provides:       nekoray
-Conflicts:      nekoray
 
 Requires:       %{name}-core
-%if "%{?_vendor}" == "suse"
+Requires:       %{name}-qt
+
+
+%ifarch x86_64 aarch64 arm32 %arm32 %arm64 %x86_64 ppc64le %power64 %riscv 
riscv32 riscv64 riscv128 %ix86 i386 i486 i586 i686 pentium3 pentium4 athlon 
geode
+%if 0%{?suse_version}%{?fedora} > 0
+
+%bcond_without upx
+
+%endif
+%endif
+
+%if %{with upx}
+BuildRequires: upx
+%endif
+
+%if 0%{?suse_version} > 0
+BuildRequires:  ccache
 BuildRequires:  libboost_filesystem-devel
-Requires:       google-noto-coloremoji-fonts
-Requires:       google-noto-sans-fonts
 %endif
+
+%files
+%dir %{_libexecdir}/%{name}/public
+%attr(0644, -, -) %{_libexecdir}/%{name}/public/*.*
+%exclude %{_libexecdir}/%{name}/public/*.qm
+%attr(0644, -, -) %{_datadir}/icons/hicolor/256x256/apps/nekobox.png
+%dir %{_datadir}/icons/hicolor
+%dir %{_datadir}/icons/hicolor/256x256
+%dir %{_datadir}/icons/hicolor/256x256/apps
+%attr(0644, -, -) %{_datadir}/applications/%{name}.desktop
+%license LICENSE
+
 %if "%{?_vendor}" == "openEuler"
 %define cmake_opts -S . -B %__builddir -DUSE_HOTKEYS=OFF
 %endif
 
-%define core nekobox_core
-
-%package core
-Summary:        %{summary}
-Provides:  sing-box
-Conflicts: sing-box
-
 %package lang
 Summary:        %{summary}
 
 %description
 %{summary}.
 
-%description core
-%{summary}.
-
 %description lang
 %{summary}.
 
+%files lang
+%attr(0644, -, -) %{_libexecdir}/%{name}/public/*.qm
+
 %prep
 %autosetup -p1 -n nekobox-unified-source-%{version}
+%if 0%{?suse_version} > 0
+rm res/public/emoji.ttf
+%endif
 
 %{?!%__builddir:%define __builddir %__cmake_builddir}
 %{?!%__cmake_builddir:%define __cmake_builddir build}
+%if %{undefined optflags}
+%define optflags -O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 
-fstack-protector -funwind-tables -fasynchronous-unwind-tables
+%endif
 
 %build
+GOFLAGS='-mod=vendor %{?gobuildflags}'
 
 (
-DEST=$PWD/build
-SKIP_UPDATER=y
-GOFLAGS='-mod=vendor %{?gobuildflags}'
-VERSION_SINGBOX="$(cat SingBox.Version)"
-. script/build_go.sh
+%cmake -GNinja "-DPROGRAMPREFIX=%{_libexecdir}/%{name}" 
"-DNKR_DEFAULT_VERSION=%{version}" %{?cmake_opts}
 )
 
-%if %{undefined optflags}
-%define optflags -O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 
-fstack-protector -funwind-tables -fasynchronous-unwind-tables
-%endif
+ninja -C "$(realpath %__builddir)" -v -j %{_smp_build_ncpus}
 
+%if %{with upx}
 (
-%cmake -GNinja "-DSKIP_UPDATE_BUTTON=ON" "-DNKR_DEFAULT_VERSION=%{version}" 
%{?cmake_opts}
-)
-ninja -C "$(realpath %__builddir)" -v -j %{_smp_build_ncpus}
+echo '%%define nekobox_qt_reqs %%{expand:'
+echo %__builddir/nekobox | %_rpmconfigdir/find-requires | sed 's@^@Requires: 
@g'
+echo '}'
+echo '%%define nekobox_core_reqs %%{expand:'
+echo %__builddir/nekobox_core | %_rpmconfigdir/find-requires | sed 
's@^@Requires: @g'
+echo '}'
+) > %{specpartsdir}/nekobox.specpart
+
+cat %{SOURCE1} >> %{specpartsdir}/nekobox.specpart
+cat %{SOURCE2} >> %{specpartsdir}/nekobox.specpart
+
+%else
+%{lua:
+
+function print_source(source)
+local file = io.open(rpm.expand(source), "r")
+if file then
+    local content = file:read("*a")  -- read entire file
+    file:close()
+    print(rpm.expand(content))
+end
+end
 
+print_source('%{SOURCE1}')
+print_source('%{SOURCE2}')
+
+}
+%endif
 
 %install
-install -Dm755 $PWD/build/%{core} %{buildroot}%{_libexecdir}/%{name}/%{core}
 DESTDIR="%{buildroot}" ninja -C "$(realpath %__builddir)" -v  install
-chrpath -d                  %{buildroot}%{_libexecdir}/%{name}/%{name}
 
-%files
-%attr(0755, -, -) %{_bindir}/%{name}
-%attr(0755, -, -) %{_libexecdir}/%{name}/%{name}
-%dir %{_libexecdir}/%{name}/public
-%attr(0644, -, -) %{_libexecdir}/%{name}/public/*.*
-%exclude %{_libexecdir}/%{name}/public/*.qm
-%attr(0644, -, -) %{_datadir}/icons/hicolor/256x256/apps/nekobox.png
-%dir %{_datadir}/icons/hicolor
-%dir %{_datadir}/icons/hicolor/256x256
-%dir %{_datadir}/icons/hicolor/256x256/apps
-%attr(0644, -, -) %{_datadir}/applications/%{name}.desktop
-%license LICENSE
-
-%files lang
-%attr(0644, -, -) %{_libexecdir}/%{name}/public/*.qm
-
-%files core
-%attr(0755, -, -) %{_bindir}/sing-box
-%dir %{_libexecdir}/%{name}
-%attr(0755, -, -) %{_libexecdir}/%{name}/%{core}
+%if %{with upx}
+for i in nekobox nekobox_core
+do
+u='%{buildroot}%{_libexecdir}/%{name}/'"${i}"
+strip "${u}"
+upx "${u}"
+done
+%endif
 

++++++ nekobox-core.spec.in ++++++
%package core
Summary: NekoBox core (sing-box with enchancements)
Provides:       sing-box
Conflicts:      sing-box

%{?nekobox_core_reqs}

%description core
NekoBox core (sing-box with enchancements)

%files core
%attr(0755, -, -) %{_bindir}/sing-box
%dir %{_libexecdir}/nekobox
%attr(0755, -, -) %{_libexecdir}/nekobox/nekobox_core

++++++ nekobox-qt.spec.in ++++++
%package qt
Summary: Qt GUI binary for NekoBox
Provides:       nekoray
Conflicts:      nekoray
%{?suse_version:Requires:       google-noto-coloremoji-fonts}
%{?suse_version:Requires:       google-noto-sans-fonts}

%{?nekobox_qt_reqs}

%description qt
Qt GUI binary for NekoBox

%files qt
%attr(0755, -, -) %{_bindir}/nekobox
%attr(0755, -, -) %{_libexecdir}/nekobox/nekobox

++++++ nekobox-unified-source-5.10.29.tar.xz -> 
nekobox-unified-source-5.10.34.tar.xz ++++++
/work/SRC/openSUSE:Factory/nekobox/nekobox-unified-source-5.10.29.tar.xz 
/work/SRC/openSUSE:Factory/.nekobox.new.21863/nekobox-unified-source-5.10.34.tar.xz
 differ: char 26, line 1

Reply via email to