remove the architecture judgment in the patches section
This commit is contained in:
parent
14bdc18e88
commit
c2642a1710
27
cmake.spec
27
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 <fuanan3@h-partners.com> - 3.27.9-5
|
||||
- remove the architecture judgment in the patches section;
|
||||
- include all patches in the source package.
|
||||
|
||||
* Wed Jul 10 2024 fuanan <fuanan3@h-partners.com> - 3.27.9-4
|
||||
- Add compilation options for i686.
|
||||
- Support arrch64-ilp32 compilation.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user