diff --git a/hbase.spec b/hbase.spec index 04145277d6e889f57bfebb26561149724419170d..158e7762a3279e7e803839398eb79e53ccaba287 100644 --- a/hbase.spec +++ b/hbase.spec @@ -8,7 +8,7 @@ Name: hbase Version: 2.5.0 -Release: 4 +Release: 5 Summary: A database for Apache Hadoop License: Apache-2.0 and BSD and CPL-1.0 and EPL-1.0 and MIT URL: http://hbase.apache.org/ @@ -66,7 +66,7 @@ This package contains the API documentation for %{name}. %prep %setup -qn %{name}-rel-%{version} -%patch0 -p1 +%patch 0 -p1 mvn install:install-file -DgroupId=com.google.protobuf -DartifactId=protoc -Dversion=2.5.0 -Dclassifier=linux-aarch_64 -Dpackaging=exe -Dfile=/usr/bin/protoc cp %{SOURCE4} ./.xmvn-reactor echo `pwd` > absolute_prefix.log @@ -75,12 +75,12 @@ absolute_prefix=`head -n 1 absolute_prefix.log` sed -i 's/absolute-prefix/'"$absolute_prefix"'/g' .xmvn-reactor %if "%{_arch}" == "riscv64" -%patch1000 -p1 +%patch 1000 -p1 mkdir -p ${HOME}/%{name}-prep_dir # protoc tar -mxf %{SOURCE5} -C ${HOME}/%{name}-prep_dir pushd ${HOME}/%{name}-prep_dir/protobuf-3.21.1 -%patch1001 -p1 +%patch 1001 -p1 ./autogen.sh ./protoc-artifacts/build-protoc.sh linux riscv64 protoc mvn install:install-file -DgroupId=com.google.protobuf -DartifactId=protoc -Dversion=3.21.1 -Dclassifier=linux-riscv64 -Dpackaging=exe -Dfile=protoc-artifacts/target/linux/riscv64/protoc.exe @@ -287,6 +287,9 @@ fi %endif %changelog +* Mon Dec 16 2024 litian - 2.5.0-5 +- fix %patchN is deprecated warning + * Tue Jun 25 2024 Dingli Zhang - 2.5.0-4 - Remove riscv64 prebuilded files - Build protoc in prep state for riscv64