Accepting request 1177182 from KDE:Extra

- Fix build with icu 75:
  fix-icu-75.patch

OBS-URL: https://build.opensuse.org/request/show/1177182
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kbibtex?expand=0&rev=14
This commit is contained in:
Ana Guerrero 2024-05-28 15:29:18 +00:00 committed by Git OBS Bridge
commit adcd2de1da
3 changed files with 21 additions and 3 deletions

11
fix-icu-75.patch Normal file
View File

@ -0,0 +1,11 @@
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -10,7 +10,7 @@
LANGUAGES CXX
)
-set(CMAKE_CXX_STANDARD 11)
+set(CMAKE_CXX_STANDARD 17)
set(QT_MIN_VERSION 5.9.0)
# Somewhat arbitrary chosen version number ...
set(KF5_MIN_VERSION 5.51)

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon May 27 18:10:49 UTC 2024 - Cor Blom <cornelis@solcon.nl>
- Fix build with icu 75:
fix-icu-75.patch
-------------------------------------------------------------------
Wed Nov 22 20:01:21 UTC 2023 - Cor Blom <cornelis@solcon.nl>

View File

@ -1,7 +1,7 @@
#
# spec file for package kbibtex
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -25,6 +25,7 @@ License: GPL-2.0-only
Group: Productivity/Publishing/TeX/Utilities
URL: https://apps.kde.org/nl/kbibtex/
Source: https://download.kde.org/stable/KBibTeX/%{version}/%{name}-%{version}.tar.xz
Patch0: fix-icu-75.patch
BuildRequires: extra-cmake-modules
BuildRequires: libicu-devel
BuildRequires: libpoppler-qt5-devel
@ -56,8 +57,8 @@ BuildRequires: cmake(Qt5Widgets)
BuildRequires: cmake(Qt5XmlPatterns)
Requires(post): desktop-file-utils
Requires(post): shared-mime-info
Requires(postun):desktop-file-utils
Requires(postun):shared-mime-info
Requires(postun): desktop-file-utils
Requires(postun): shared-mime-info
%description
KBibTeX is a BibTeX editor by KDE to edit bibliographies used with