diff --git a/cmake.spec b/cmake.spec index 65842ee835ffcd3f51e35d4d153157a352dabc47..a20649c62706f63995abeda04651b4a54ed8d6bd 100644 --- a/cmake.spec +++ b/cmake.spec @@ -22,7 +22,7 @@ Name: cmake Version: 3.27.9 -Release: 4 +Release: 5 Summary: Cross-platform make system License: BSD and MIT and zlib URL: http://www.cmake.org @@ -33,14 +33,9 @@ Source3: cmake.attr Source4: cmake.prov Source5: cmake.req Patch0: cmake-findruby.patch -%ifarch sw_64 -Patch1: cmake-3.22.0-sw.patch -%endif -Patch2: cmake-3.27.9-fix-cxx-standard-check-issue.patch - -%ifarch aarch64_ilp32 -Patch6000: backport-cmake-aarch64-ilp32-support.patch -%endif +Patch1: cmake-3.27.9-fix-cxx-standard-check-issue.patch +Patch2: cmake-3.22.0-sw.patch +Patch3: backport-cmake-aarch64-ilp32-support.patch BuildRequires: coreutils findutils gcc-c++ gcc-gfortran sed @@ -133,7 +128,15 @@ BuildArch: noarch Documentation for cmake. %prep -%autosetup -n cmake-%{version}%{?versuf} -p 1 +%setup -n cmake-%{version}%{?versuf} +%patch 0 -p1 +%patch 1 -p1 +%ifarch sw_64 +%patch 2 -p1 +%endif +%ifarch aarch64_ilp32 +%patch 3 -p1 +%endif echo '#!%{__python3}' > %{name}.prov echo '#!%{__python3}' > %{name}.req @@ -299,6 +302,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %exclude %{_pkgdocdir}/Copyright.txt %changelog +* Thu Jan 23 2025 fuanan - 3.27.9-5 +- remove the architecture judgment in the patches section; +- include all patches in the source package. + * Wed Jul 10 2024 fuanan - 3.27.9-4 - Add compilation options for i686. - Support arrch64-ilp32 compilation.