已开启
fix build warnings:patchN is deprecated, use patch N (or %patch -P N ) #36
AtomGit-Bot创建于 2024年12月13日
fix build warnings:patchN is deprecated, use patch N (or %patch -P N ) #36
已开启
AtomGit-Bot创建于 2024年12月13日
从refs/pull/36/head合入到master
共 1 个文件变更+7-4
@@ -2,7 +2,7 @@
2 2 
3Name: bazel3Name: bazel
4Version: 5.3.04Version: 5.3.0
5-Release: 15+Release: 2
6Summary: Correct, reproducible, and fast builds for everyone.6Summary: Correct, reproducible, and fast builds for everyone.
7License: Apache License 2.07License: Apache License 2.0
8URL: http://bazel.io/8URL: http://bazel.io/
@@ -29,10 +29,10 @@ Correct, reproducible, and fast builds for everyone.
29 29 
30%prep30%prep
31%setup -q -c -n bazel-%{version}31%setup -q -c -n bazel-%{version}
32-%patch0 -p132+%patch 0 -p1
33#%patch1 -p133#%patch1 -p1
34-%patch2 -p134+%patch 2 -p1
35-%patch3 -p135+%patch 3 -p1
36 36 
37%build37%build
38find . -type f -regextype posix-extended -iregex '.*(sh|txt|py|_stub|stub_.*|bazel|get_workspace_status|protobuf_support|_so)' -exec %{__sed} -i -e '1s|^#!/usr/bin/env python$|#!/usr/bin/env python3|' "{}" \;38find . -type f -regextype posix-extended -iregex '.*(sh|txt|py|_stub|stub_.*|bazel|get_workspace_status|protobuf_support|_so)' -exec %{__sed} -i -e '1s|^#!/usr/bin/env python$|#!/usr/bin/env python3|' "{}" \;
@@ -92,6 +92,9 @@ env ./scripts/generate_bash_completion.sh --bazel=output/bazel --output=output/b
92%attr(0755,root,root) %{bashcompdir}/bazel92%attr(0755,root,root) %{bashcompdir}/bazel
93 93 
94%changelog94%changelog
95+* Fri Dec 13 2024 chenhao <dev11201@linx-info.com> - 5.3.0-2
96+- Fix %patchN is deprecated warning
97+ 
95* Tue Sep 12 2023 Jincheng Miao <jincheng.miao@intel.com> - 5.3.0-198* Tue Sep 12 2023 Jincheng Miao <jincheng.miao@intel.com> - 5.3.0-1
96- add bazel-%{version}-%{_os}-%{_arch} to install root path99- add bazel-%{version}-%{_os}-%{_arch} to install root path
97 100