This commit is contained in:
parent
e8e8b65fc0
commit
8f34f568f0
@ -4,6 +4,7 @@ Sat Mar 2 19:41:04 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
|||||||
- Update to 24.2.1.2 (24.2.1 final):
|
- Update to 24.2.1.2 (24.2.1 final):
|
||||||
https://wiki.documentfoundation.org/Releases/24.2.1/RC1 and
|
https://wiki.documentfoundation.org/Releases/24.2.1/RC1 and
|
||||||
https://wiki.documentfoundation.org/Releases/24.2.1/RC2
|
https://wiki.documentfoundation.org/Releases/24.2.1/RC2
|
||||||
|
- Allow building with gcc >= 12 on system where it is the default
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Mar 2 13:12:07 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
Sat Mar 2 13:12:07 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
@ -51,6 +51,9 @@
|
|||||||
%bcond_with system_harfbuzz
|
%bcond_with system_harfbuzz
|
||||||
%endif
|
%endif
|
||||||
%bcond_with firebird
|
%bcond_with firebird
|
||||||
|
%if 0%{?gcc_version} < 12
|
||||||
|
%define with_gcc 12
|
||||||
|
%endif
|
||||||
Name: libreoffice
|
Name: libreoffice
|
||||||
Version: 24.2.1.2
|
Version: 24.2.1.2
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -326,8 +329,8 @@ BuildRequires: libmariadb-devel
|
|||||||
BuildRequires: pkgconfig(icu-i18n)
|
BuildRequires: pkgconfig(icu-i18n)
|
||||||
BuildRequires: pkgconfig(libopenjp2)
|
BuildRequires: pkgconfig(libopenjp2)
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: gcc12
|
BuildRequires: gcc%{with_gcc}
|
||||||
BuildRequires: gcc12-c++
|
BuildRequires: gcc%{with_gcc}-c++
|
||||||
BuildRequires: java-devel >= 1.8
|
BuildRequires: java-devel >= 1.8
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
# needed by python3_sitelib
|
# needed by python3_sitelib
|
||||||
@ -1089,8 +1092,10 @@ CFLAGS="$ARCH_FLAGS"
|
|||||||
CXXFLAGS="-std=c++20 $ARCH_FLAGS"
|
CXXFLAGS="-std=c++20 $ARCH_FLAGS"
|
||||||
export ARCH_FLAGS CFLAGS CXXFLAGS
|
export ARCH_FLAGS CFLAGS CXXFLAGS
|
||||||
|
|
||||||
export CC=gcc-12
|
%if 0%{?with_gcc:1}
|
||||||
export CXX=g++-12
|
export CC=gcc-%{with_gcc}
|
||||||
|
export CXX=g++-%{with_gcc}
|
||||||
|
%endif
|
||||||
|
|
||||||
# Fake the epoch stuff in generated zip files
|
# Fake the epoch stuff in generated zip files
|
||||||
export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes | tail -n 1 | cut -d- -f1 )" +%%s)
|
export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes | tail -n 1 | cut -d- -f1 )" +%%s)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user