diff --git a/bazel.spec b/bazel.spec index 45af5abca6a8f56e59957cc901e145fc16c912e0..7acecd63c81005b6a9c869b1cc1a55741a647a15 100644 --- a/bazel.spec +++ b/bazel.spec @@ -2,7 +2,7 @@ Name: bazel Version: 5.3.0 -Release: 1 +Release: 2 Summary: Correct, reproducible, and fast builds for everyone. License: Apache License 2.0 URL: http://bazel.io/ @@ -29,10 +29,10 @@ Correct, reproducible, and fast builds for everyone. %prep %setup -q -c -n bazel-%{version} -%patch0 -p1 +%patch 0 -p1 #%patch1 -p1 -%patch2 -p1 -%patch3 -p1 +%patch 2 -p1 +%patch 3 -p1 %build find . -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 %attr(0755,root,root) %{bashcompdir}/bazel %changelog +* Fri Dec 13 2024 chenhao - 5.3.0-2 +- Fix %patchN is deprecated warning + * Tue Sep 12 2023 Jincheng Miao - 5.3.0-1 - add bazel-%{version}-%{_os}-%{_arch} to install root path