!95 [sync] PR-92: 修复源码包同源异构问题
From: @openeuler-sync-bot Reviewed-by: @lyn1001 Signed-off-by: @lyn1001
This commit is contained in:
commit
2deb6ba3ab
18
cmake.spec
18
cmake.spec
@ -11,7 +11,7 @@
|
||||
|
||||
Name: cmake
|
||||
Version: 3.22.0
|
||||
Release: 9
|
||||
Release: 10
|
||||
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
|
||||
Patch4: fix-messy-code-for-openssl-1.1.1wa-version.patch
|
||||
|
||||
BuildRequires: coreutils findutils gcc-c++ gcc-gfortran sed
|
||||
@ -106,7 +104,15 @@ 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
|
||||
%patch4 -p1
|
||||
|
||||
sed '1c #!%{__python3}' %{SOURCE4} > cmake.prov
|
||||
sed '1c #!%{__python3}' %{SOURCE5} > cmake.req
|
||||
|
||||
@ -238,6 +244,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.22.0-10
|
||||
- remove the architecture judgment in the patches section;
|
||||
- include all patches in the source package.
|
||||
|
||||
* Sun Apr 28 2024 wangkai <13474090681@163.com> - 3.22.0-9
|
||||
- Fix messy code for openssl-1.1.1wa version
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user