diff --git a/orthanc-stl.changes b/orthanc-stl.changes index a3b488b..f9f28cf 100644 --- a/orthanc-stl.changes +++ b/orthanc-stl.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Wed Dec 10 15:09:16 UTC 2025 - Axel Braun + +- patch out libboost-system to fix build error + +------------------------------------------------------------------- +Wed Sep 10 09:33:25 UTC 2025 - Axel Braun + +- remove libboost_system-devel for TW (removed in boost 1.89) + ------------------------------------------------------------------- Mon Jul 14 13:21:49 UTC 2025 - Axel Braun diff --git a/orthanc-stl.spec b/orthanc-stl.spec index 36a5434..245627e 100644 --- a/orthanc-stl.spec +++ b/orthanc-stl.spec @@ -1,6 +1,7 @@ # -# spec file for package orthanc-neuro +# spec file for package orthanc-stl # +# Copyright (c) 2025 SUSE LLC and contributors # Copyright (c) 2025 Dr. Axel Braun # # All modifications and additions to the file contributed by third parties @@ -37,8 +38,8 @@ BuildRequires: gcc13-c++ %else BuildRequires: gcc-c++ %endif -BuildRequires: googletest-devel BuildRequires: dcmtk-devel +BuildRequires: googletest-devel BuildRequires: jsoncpp-devel BuildRequires: libboost_atomic-devel >= 1.66 BuildRequires: libboost_date_time-devel >= 1.66 @@ -46,14 +47,16 @@ BuildRequires: libboost_filesystem-devel >= 1.66 BuildRequires: libboost_iostreams-devel >= 1.66 BuildRequires: libboost_locale-devel >= 1.66 BuildRequires: libboost_regex-devel >= 1.66 +%if 0%{?suse_version} <= 1600 BuildRequires: libboost_system-devel >= 1.66 +%endif BuildRequires: libboost_thread-devel >= 1.66 BuildRequires: libcurl-devel BuildRequires: libuuid-devel BuildRequires: orthanc-devel BuildRequires: orthanc-source # Only needed for Leap 15.6 -%if 0%{?suse_version} == 1500 +%if 0%{?suse_version} == 1500 BuildRequires: python311 %endif BuildRequires: unzip @@ -80,6 +83,9 @@ cd .. mkdir -p JavaScriptLibraries/ unzip %{S:6} -d JavaScriptLibraries +# boost komponente system entfernen +sed -i 's/\(find_package([^)]* \)system\(.*\)/\1\2/g' CMakeLists.txt + %build %if 0%{?suse_version} == 1500 && 0%{?sle_version} > 150200 export CC=gcc-13