From 45945448c9f3959a9ecf20307655554646e01fcc Mon Sep 17 00:00:00 2001 From: yinbin Date: Tue, 20 Aug 2024 16:23:19 +0800 Subject: [PATCH] add static library & remove unused requires/buildrequires (cherry picked from commit 41be5e3080ab09316cb1f13193c2391f83cd3fbc) --- dpdk.spec | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/dpdk.spec b/dpdk.spec index 91a366a..1f81f20 100644 --- a/dpdk.spec +++ b/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 - 23.11-20 + - add static library + - remove unused requires/buildrequires + * Tue Jul 23 2024 huangdengdui - 23.11-19 Support more VLAN fields matching for hns3 and sync a bugfix - net/hns3: add Rx DMA address align check -- Gitee