!615 [sync] PR-612: add static library & remove unused requires/buildrequires
From: @openeuler-sync-bot Reviewed-by: @jiangheng12 Signed-off-by: @jiangheng12
This commit is contained in:
commit
3294e438b4
18
dpdk.spec
18
dpdk.spec
@ -10,7 +10,7 @@
|
||||
|
||||
Name: dpdk
|
||||
Version: 23.11
|
||||
Release: 19
|
||||
Release: 20
|
||||
URL: http://dpdk.org
|
||||
Source: https://fast.dpdk.org/rel/dpdk-%{version}.tar.xz
|
||||
|
||||
@ -92,19 +92,12 @@ License: BSD and LGPLv2 and GPLv2
|
||||
ExclusiveArch: x86_64 i686 aarch64 ppc64le loongarch64 riscv64
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: kernel-headers, kernel-devel, libpcap-devel, zlib-devel
|
||||
BuildRequires: kernel-devel, libpcap-devel
|
||||
BuildRequires: numactl-devel
|
||||
BuildRequires: rdma-core-devel
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: libbpf-devel
|
||||
BuildRequires: libfdt-devel
|
||||
BuildRequires: libatomic
|
||||
BuildRequires: libarchive-devel
|
||||
BuildRequires: uname-build-checks
|
||||
BuildRequires: procps-ng
|
||||
BuildRequires: git
|
||||
BuildRequires: groff-base
|
||||
BuildRequires: libibverbs
|
||||
BuildRequires: chrpath
|
||||
|
||||
%define kern_devel_ver %(uname -r)
|
||||
@ -119,7 +112,6 @@ Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} python3
|
||||
%if ! %{with shared}
|
||||
Provides: %{name}-static = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||
%endif
|
||||
Requires: rdma-core-devel
|
||||
|
||||
%description devel
|
||||
This package contains the headers and other files needed for developing
|
||||
@ -249,6 +241,8 @@ strip -g $RPM_BUILD_ROOT/lib/modules/%{kern_devel_ver}/extra/dpdk/igb_uio.ko
|
||||
%exclude %{sdkdir}/examples/
|
||||
%{_libdir}/pkgconfig/libdpdk.pc
|
||||
%{_libdir}/pkgconfig/libdpdk-libs.pc
|
||||
# needed by HSAK
|
||||
%{_libdir}/*.a
|
||||
|
||||
|
||||
%if %{with tools}
|
||||
@ -266,6 +260,10 @@ strip -g $RPM_BUILD_ROOT/lib/modules/%{kern_devel_ver}/extra/dpdk/igb_uio.ko
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Tue Aug 20 2024 jiangheng <jiangheng14@huawei.com> - 23.11-20
|
||||
- add static library
|
||||
- remove unused requires/buildrequires
|
||||
|
||||
* Tue Jul 23 2024 huangdengdui <huangdengui@huawei.com> - 23.11-19
|
||||
Support more VLAN fields matching for hns3 and sync a bugfix
|
||||
- net/hns3: add Rx DMA address align check
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user