Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package znc for openSUSE:Factory checked in at 2022-11-21 15:30:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/znc (Old) and /work/SRC/openSUSE:Factory/.znc.new.1597 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "znc" Mon Nov 21 15:30:29 2022 rev:27 rq:1037080 version:1.8.2 Changes: -------- --- /work/SRC/openSUSE:Factory/znc/znc.changes 2022-01-13 00:23:26.691976641 +0100 +++ /work/SRC/openSUSE:Factory/.znc.new.1597/znc.changes 2022-11-21 15:30:56.197056780 +0100 @@ -1,0 +2,5 @@ +Fri Nov 18 15:41:09 UTC 2022 - Dominique Leuenberger <[email protected]> + +- Add 1841.patch: support SWIG 4.1.0 (boo#1205425). + +------------------------------------------------------------------- New: ---- 1841.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ znc.spec ++++++ --- /var/tmp/diff_new_pack.1boBN8/_old 2022-11-21 15:30:56.737059522 +0100 +++ /var/tmp/diff_new_pack.1boBN8/_new 2022-11-21 15:30:56.741059541 +0100 @@ -1,7 +1,7 @@ # # spec file for package znc # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -27,13 +27,14 @@ Source1: https://znc.in/releases/%{name}-%{version}.tar.gz.sig Source2: %{name}.keyring Patch0: harden_znc.service.patch +Patch1: https://patch-diff.githubusercontent.com/raw/znc/znc/pull/1841.patch BuildRequires: cmake >= 3.1 BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: libboost_locale-devel BuildRequires: perl BuildRequires: pkgconfig -BuildRequires: swig +BuildRequires: swig >= 4.0.1 BuildRequires: systemd-rpm-macros BuildRequires: pkgconfig(icu-uc) BuildRequires: pkgconfig(libsasl2) @@ -106,8 +107,7 @@ This package contains the Tcl extension to ZNC. %prep -%setup -q -%patch0 -p1 +%autosetup -p1 %build %cmake \ ++++++ 1841.patch ++++++ >From fecdd9895894b3afe903021b0843a422eb4d3308 Mon Sep 17 00:00:00 2001 From: Alexey Sokolov <[email protected]> Date: Sat, 5 Nov 2022 12:54:40 +0000 Subject: [PATCH] Add support SWIG 4.1.0, drop support for < 4.0.1 https://bugs.gentoo.org/878587 --- CMakeLists.txt | 2 +- modules/modperl/CMakeLists.txt | 1 - modules/modpython/CMakeLists.txt | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9d43578e0e..efab0ee1ee 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -173,7 +173,7 @@ if(WANT_PYTHON AND NOT EXISTS endif() endif() if(search_swig) - find_package(SWIG 3.0.0) + find_package(SWIG 4.0.1) if(NOT SWIG_FOUND) message(FATAL_ERROR "Can't find SWIG, therefore Perl and Python aren't supported. " diff --git a/modules/modperl/CMakeLists.txt b/modules/modperl/CMakeLists.txt index e18fe47644..a87f74e478 100644 --- a/modules/modperl/CMakeLists.txt +++ b/modules/modperl/CMakeLists.txt @@ -53,7 +53,6 @@ if(SWIG_FOUND) "-I${PROJECT_SOURCE_DIR}/include" "-I${CMAKE_CURRENT_SOURCE_DIR}/.." "-I${CMAKE_CURRENT_SOURCE_DIR}/include" - -DZNC_EXPORT_LIB_EXPORT -outdir "${CMAKE_CURRENT_BINARY_DIR}" -o "${CMAKE_CURRENT_BINARY_DIR}/modperl_biglib.cpp" "${CMAKE_CURRENT_SOURCE_DIR}/modperl.i" diff --git a/modules/modpython/CMakeLists.txt b/modules/modpython/CMakeLists.txt index edbeb41ed5..36a2e649f0 100644 --- a/modules/modpython/CMakeLists.txt +++ b/modules/modpython/CMakeLists.txt @@ -50,7 +50,6 @@ if(SWIG_FOUND) "-I${PROJECT_BINARY_DIR}/include" "-I${PROJECT_SOURCE_DIR}/include" "-I${CMAKE_CURRENT_SOURCE_DIR}/.." - -DZNC_EXPORT_LIB_EXPORT -outdir "${CMAKE_CURRENT_BINARY_DIR}" -o "${CMAKE_CURRENT_BINARY_DIR}/modpython_biglib.cpp" "${CMAKE_CURRENT_SOURCE_DIR}/modpython.i"
