Fix build with cmake 3.23.0rc2

This commit is contained in:
Karolina Surma 2022-03-04 11:18:12 +01:00
parent bb5c7d05d7
commit 05d91f058c
1 changed files with 3 additions and 1 deletions

View File

@ -518,7 +518,7 @@ Development headers and auxiliary files for developing with %{name}.
%build
export VERBOSE=1
cd src && %cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfo \
cd src && %cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DBUILD_CONFIG=rpmbuild \
-DCMAKE_COLOR_MAKEFILE:BOOL=OFF \
-DUSE_FSAL_NULL=%{use_fsal_null} \
@ -903,6 +903,8 @@ exit 0
%changelog
* Fri Mar 04 2022 Karolina Surma <ksurma@redhat.com> - 4.0-5
- Don't BR setuptools, use Python's bundled distutils
- Fix build with cmake 3.23.0rc2
- Related: rhbz#2059201, rhbz#2059188, rhbz#2057738
* Fri Jan 28 2023 Kaleb S. KEITHLEY <kkeithle at redhat.com> - 4.0-4
- NFS-Ganesha 4.1, w/ modern linker (mold), this time for real