Fix build with cmake 3.23.0rc2

This commit is contained in:
Miro Hrončok 2022-03-02 23:06:12 +01:00
commit 4c9d2a1702

View file

@ -1,6 +1,6 @@
Name: python-uranium
Version: 4.13.1
Release: 1%{?dist}
Release: 2%{?dist}
Summary: A Python framework for building desktop applications
License: LGPLv3+
URL: https://github.com/Ultimaker/Uranium
@ -25,9 +25,6 @@ BuildRequires: python3-twisted
BuildArch: noarch
# Get Fedora 33++ behavior on anything older
%undefine __cmake_in_source_build
%description
Uranium is a Python framework for building 3D printing related applications.
@ -60,7 +57,7 @@ related applications.
%build
# there is no arch specific content, so we set LIB_SUFFIX to nothing
# see https://github.com/Ultimaker/Uranium/commit/862a246bdfd7e25541b04a35406957612c6f4bb7
%cmake -DLIB_SUFFIX:STR= .
%cmake -DLIB_SUFFIX:STR=
%cmake_build
%cmake_build -- doc
@ -109,6 +106,10 @@ popd
%changelog
* Wed Mar 02 2022 Miro Hrončok <mhroncok@redhat.com> - 4.13.1-2
- Fix build with cmake 3.23.0rc2
- Related: rhbz#2059201, rhbz#2059188, rhbz#2057738
* Tue Feb 01 2022 Gabriel Féron <feron.gabriel@gmail.com> - 4.13.1-1
- Update to 4.13.1