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
|
Name: cmake
|
||||||
Version: 3.27.9
|
Version: 3.27.9
|
||||||
Release: 4
|
Release: 5
|
||||||
Summary: Cross-platform make system
|
Summary: Cross-platform make system
|
||||||
License: BSD and MIT and zlib
|
License: BSD and MIT and zlib
|
||||||
URL: http://www.cmake.org
|
URL: http://www.cmake.org
|
||||||
@ -33,14 +33,9 @@ Source3: cmake.attr
|
|||||||
Source4: cmake.prov
|
Source4: cmake.prov
|
||||||
Source5: cmake.req
|
Source5: cmake.req
|
||||||
Patch0: cmake-findruby.patch
|
Patch0: cmake-findruby.patch
|
||||||
%ifarch sw_64
|
Patch1: cmake-3.27.9-fix-cxx-standard-check-issue.patch
|
||||||
Patch1: cmake-3.22.0-sw.patch
|
Patch2: cmake-3.22.0-sw.patch
|
||||||
%endif
|
Patch3: backport-cmake-aarch64-ilp32-support.patch
|
||||||
Patch2: cmake-3.27.9-fix-cxx-standard-check-issue.patch
|
|
||||||
|
|
||||||
%ifarch aarch64_ilp32
|
|
||||||
Patch6000: backport-cmake-aarch64-ilp32-support.patch
|
|
||||||
%endif
|
|
||||||
|
|
||||||
BuildRequires: coreutils findutils gcc-c++ gcc-gfortran sed
|
BuildRequires: coreutils findutils gcc-c++ gcc-gfortran sed
|
||||||
|
|
||||||
@ -133,7 +128,15 @@ BuildArch: noarch
|
|||||||
Documentation for cmake.
|
Documentation for cmake.
|
||||||
|
|
||||||
%prep
|
%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}.prov
|
||||||
echo '#!%{__python3}' > %{name}.req
|
echo '#!%{__python3}' > %{name}.req
|
||||||
@ -299,6 +302,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|||||||
%exclude %{_pkgdocdir}/Copyright.txt
|
%exclude %{_pkgdocdir}/Copyright.txt
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Jul 10 2024 fuanan <fuanan3@h-partners.com> - 3.27.9-4
|
||||||
- Add compilation options for i686.
|
- Add compilation options for i686.
|
||||||
- Support arrch64-ilp32 compilation.
|
- Support arrch64-ilp32 compilation.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user