From cf52fb4aa1e3fd8e03c45f3d75d0abde4e2fbcda Mon Sep 17 00:00:00 2001 From: happy_orange Date: Tue, 18 Oct 2022 02:13:38 -0400 Subject: [PATCH] delete scripts of la and change abi --- qatengine.spec | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/qatengine.spec b/qatengine.spec index fe5188d..61abd22 100644 --- a/qatengine.spec +++ b/qatengine.spec @@ -1,8 +1,7 @@ -%define anolis_release 1 +%define anolis_release 2 %global githubname QAT_Engine %global enginesdir %(pkg-config --variable=enginesdir libcrypto) -%define abidir %{_prefix}/lib/compatibility/%{name} Name: qatengine Version: 0.6.16 @@ -16,7 +15,6 @@ BuildRequires: gcc make pkg-config BuildRequires: autoconf automake libtool BuildRequires: openssl-devel >= 1.1.1 BuildRequires: qatlib-devel >= 21.08.0 -BuildRequires: abi-dumper ExclusiveArch: x86_64 @@ -45,25 +43,20 @@ autoreconf -ivf %install %make_install -mkdir -p %{buildroot}/%{abidir} -pushd %{buildroot}/%{abidir} -for full_name in $(find %{buildroot} -name "*.so*") ; do - f=`echo ${full_name##*/}` - (file $full_name | grep "shared object" > /dev/null 2>&1 && abi-dumper $full_name -o $f.dump > /dev/null 2>&1) || echo "ok" -done -popd - -rm -rf %{enginesdir}/qatengine.la +%generate_compatibility_deps %files %license LICENSE* %dir %{abidir} %{enginesdir}/qatengine.so -%{abidir}/qatengine.so.dump +%{abidir}/qatengine.dump %files doc %doc README.md docs* %changelog +* Tue Oct 18 20222 happy_orange - 0.6.16-2 +- delete scripts of la and change abi. + * Thu Oct 13 2022 happy_orange - 0.6.16-1 - Init package from upstream -- Gitee