Compare commits
2 Commits
Author | SHA256 | Date | |
---|---|---|---|
35cd06c885 | |||
dd58a15a40 |
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jun 22 16:50:16 UTC 2025 - Marcus Rueckert <mrueckert@suse.de>
|
||||||
|
|
||||||
|
- Switch to GCC 14. With GCC 15 the testsuite fails.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Feb 10 14:06:40 UTC 2025 - Peter Varkoly <varkoly@suse.com>
|
Mon Feb 10 14:06:40 UTC 2025 - Peter Varkoly <varkoly@suse.com>
|
||||||
|
|
||||||
|
@@ -16,6 +16,8 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%global force_gcc_version 14
|
||||||
|
|
||||||
Name: dovecot23
|
Name: dovecot23
|
||||||
Version: 2.3.21.1
|
Version: 2.3.21.1
|
||||||
Release: 0
|
Release: 0
|
||||||
@@ -70,6 +72,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
BuildRequires: cyrus-sasl-devel
|
BuildRequires: cyrus-sasl-devel
|
||||||
BuildRequires: flex
|
BuildRequires: flex
|
||||||
|
BuildRequires: gcc%{?force_gcc_version}
|
||||||
BuildRequires: libapparmor-devel
|
BuildRequires: libapparmor-devel
|
||||||
%if %{with icu}
|
%if %{with icu}
|
||||||
BuildRequires: libicu-devel
|
BuildRequires: libicu-devel
|
||||||
@@ -105,7 +108,7 @@ BuildRequires: sqlite-devel > 3
|
|||||||
%endif
|
%endif
|
||||||
%if %{with clucene}
|
%if %{with clucene}
|
||||||
BuildRequires: clucene-core-devel
|
BuildRequires: clucene-core-devel
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc%{?force_gcc_version}-c++
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?sles_version} == 9
|
%if 0%{?sles_version} == 9
|
||||||
BuildRequires: heimdal-devel
|
BuildRequires: heimdal-devel
|
||||||
@@ -362,6 +365,12 @@ sed -i 's|#mail_plugin_dir = /usr/lib/dovecot|mail_plugin_dir = %{_libdir}/dovec
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -fiv
|
autoreconf -fiv
|
||||||
|
%if 0%{?force_gcc_version}
|
||||||
|
export CC="gcc-%{?force_gcc_version}"
|
||||||
|
%if %{with clucene}
|
||||||
|
export CXX="g++-%{?force_gcc_version}"
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
export CFLAGS="%{optflags}"
|
export CFLAGS="%{optflags}"
|
||||||
%if %{with clucene}
|
%if %{with clucene}
|
||||||
export CFLAGS="$CFLAGS -I%{_libdir}"
|
export CFLAGS="$CFLAGS -I%{_libdir}"
|
||||||
|
Reference in New Issue
Block a user