libwd: Deleting rpath information from the dynamic library
This commit is contained in:
parent
82962cd4e6
commit
61891d05c6
@ -1,7 +1,7 @@
|
||||
Name: libwd
|
||||
Summary: User Space Accelerator Development Kit
|
||||
Version: 2.5.0
|
||||
Release: 2
|
||||
Release: 3
|
||||
License: Apache-2.0
|
||||
Source: %{name}-%{version}.tar.gz
|
||||
Vendor: Huawei Corporation
|
||||
@ -11,7 +11,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
Conflicts: %{name} < %{version}-%{release}
|
||||
Provides: %{name} = %{version}-%{release}
|
||||
BuildRequires: numactl-devel, openssl-devel, zlib-devel
|
||||
BuildRequires: automake, autoconf, libtool
|
||||
BuildRequires: automake, autoconf, libtool, chrpath
|
||||
BuildRequires: gcc, make
|
||||
ExclusiveArch: aarch64
|
||||
|
||||
@ -36,6 +36,13 @@ install -b -m755 .libs/libwd_comp.so.%{version} ${RPM_BUILD_ROOT}/usr/lib64
|
||||
install -b -m755 .libs/libhisi_sec.so.%{version} ${RPM_BUILD_ROOT}/usr/lib64
|
||||
install -b -m755 .libs/libhisi_hpre.so.%{version} ${RPM_BUILD_ROOT}/usr/lib64
|
||||
install -b -m755 .libs/libhisi_zip.so.%{version} ${RPM_BUILD_ROOT}/usr/lib64
|
||||
|
||||
chrpath -d ${RPM_BUILD_ROOT}/usr/lib64/libwd_crypto.so.%{version}
|
||||
chrpath -d ${RPM_BUILD_ROOT}/usr/lib64/libwd_comp.so.%{version}
|
||||
chrpath -d ${RPM_BUILD_ROOT}/usr/lib64/libhisi_sec.so.%{version}
|
||||
chrpath -d ${RPM_BUILD_ROOT}/usr/lib64/libhisi_hpre.so.%{version}
|
||||
chrpath -d ${RPM_BUILD_ROOT}/usr/lib64/libhisi_zip.so.%{version}
|
||||
|
||||
mkdir -p ${RPM_BUILD_ROOT}/usr/include/warpdrive/include
|
||||
cp v1/uacce.h ${RPM_BUILD_ROOT}/usr/include/warpdrive/include
|
||||
cp v1/wd.h ${RPM_BUILD_ROOT}/usr/include/warpdrive
|
||||
@ -180,13 +187,16 @@ fi
|
||||
/sbin/ldconfig
|
||||
|
||||
%changelog
|
||||
* Mon Sep 4 2023 JiangShui Yang <yangjiangshui@h-partners.com> 2.5.0-3
|
||||
- libwd: Deleting rpath information from the dynamic library
|
||||
|
||||
* Wed Jun 14 2023 JiangShui Yang <yangjiangshui@h-partners.com> 2.5.0-2
|
||||
- libwd: Adding and packing the pkgconfig file
|
||||
|
||||
* Wed Jun 14 2023 JiangShui Yang <yangjiangshui@h-partners.com> 2.5.0-1
|
||||
- libwd: update the source code to 2.5.0
|
||||
|
||||
* Mon Jun 8 2023 JiangShui Yang <yangjiangshui@h-partners.com> 2.4.0-1
|
||||
* Thu Jun 8 2023 JiangShui Yang <yangjiangshui@h-partners.com> 2.4.0-1
|
||||
- libwd: update the source code to 2.4.0
|
||||
|
||||
* Mon Mar 20 2023 JiangShui Yang <yangjiangshui@h-partners.com> 2.3.37-4
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user