diff --git a/dpdk.spec b/dpdk.spec index 86732904b9f7d2213c7c3be72a66a32b43507147..e2cf86920a6305fe4e4195b758ca6d9003b58c31 100644 --- a/dpdk.spec +++ b/dpdk.spec @@ -1,6 +1,6 @@ Name: dpdk Version: 21.11 -Release: 79 +Release: 80 Packager: packaging@6wind.com URL: http://dpdk.org %global source_version 21.11 @@ -669,7 +669,7 @@ strip -g $RPM_BUILD_ROOT/lib/modules/%{kern_devel_ver}/extra/dpdk/igb_uio.ko /usr/local/bin/dpdk-ptpclient /usr/local/bin/gazelle-pdump -%post +%posttrans if [ -e /sbin/weak-modules ]; then echo "/lib/modules/%{kern_devel_ver}/extra/dpdk/igb_uio.ko" | /sbin/weak-modules --add-modules --no-initramfs echo "/lib/modules/%{kern_devel_ver}/extra/dpdk/rte_kni.ko" | /sbin/weak-modules --add-modules --no-initramfs @@ -686,6 +686,9 @@ fi /usr/sbin/depmod %changelog +* Wed Dec 18 2024 chendexi - 21.11-80 +- Change %post script to %posttrans. + * Thu Oct 31 2024 yangchen - 21.11-79 net/af_xdp: fix getsockopt ENOTSOCK error