diff --git a/cmake.spec b/cmake.spec index 536d5c6fe46ce8666d35af899264613c5bace5b8..0fc757fdea37ed95bd1f5cb1a3d931b5ee758d63 100644 --- a/cmake.spec +++ b/cmake.spec @@ -11,7 +11,7 @@ Name: cmake Version: 3.22.0 -Release: 8 +Release: 9 Summary: Cross-platform make system License: BSD and MIT and zlib URL: http://www.cmake.org @@ -24,9 +24,7 @@ Source5: cmake.req Patch0: cmake-findruby.patch Patch1: cmake-fedora-flag_release.patch Patch2: cmake-mingw-dl.patch -%ifarch sw_64 Patch3: cmake-3.22.0-sw.patch -%endif BuildRequires: coreutils findutils gcc-c++ gcc-gfortran sed BuildRequires: emacs python3-devel pkgconfig(Qt5Widgets) desktop-file-utils @@ -105,7 +103,14 @@ BuildArch: noarch Documentation for cmake. %prep -%autosetup -n cmake-%{version}%{?versuf} -p 1 +%setup -n cmake-%{version}%{?versuf} +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 +%ifarch sw_64 +%patch3 -p1 +%endif + sed '1c #!%{__python3}' %{SOURCE4} > cmake.prov sed '1c #!%{__python3}' %{SOURCE5} > cmake.req @@ -237,6 +242,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %exclude %{_pkgdocdir}/Copyright.txt %changelog +* Thu Jan 23 2025 fuanan - 3.22.0-9 +- remove the architecture judgment in the patches section; +- include all patches in the source package. + * Fri Feb 2 2024 liyanan - 3.22.0-8 - Remove Windows_TemporaryKey.pfx