deal rpatch check problem

Signed-off-by: lauyarn <liuyang.nb@outlook.com>
This commit is contained in:
lauyarn 2023-11-25 08:22:27 +00:00 committed by Gitee
parent 0683f1fc7f
commit 696d35bc8b
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -13,7 +13,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
Prefix: /usr/local/lib/engines-1.1
Conflicts: %{name} < %{version}-%{release}
Provides: %{name} = %{version}-%{release}
BuildRequires: libwd openssl-devel sed
BuildRequires: libwd openssl-devel sed chrpath
Requires: openssl
ExclusiveArch: aarch64
@ -33,6 +33,7 @@ make
%install
mkdir -p ${RPM_BUILD_ROOT}/usr/local/lib/engines-1.1
chrpath -d KAE/libkae.so.%{version}
install -b -m755 KAE/libkae.so.%{version} ${RPM_BUILD_ROOT}/usr/local/lib/engines-1.1
%clean