Dirk Mueller 2024-09-24 14:35:38 +00:00 committed by Git OBS Bridge
parent 8c23f8b4f3
commit 450b426d20

View File

@ -39,18 +39,18 @@
%define min 0 %define min 0
#%%define lname libdpdk-%%{maj}_%%{min} #%%define lname libdpdk-%%{maj}_%%{min}
%define lname libdpdk-%{maj} %define lname libdpdk-%{maj}
# Add option to build without examples
%bcond_without examples
# Add option to build without tools
%bcond_without tools
# #
%if 0%{?sle_version} >= 150600 %if 0%{?sle_version} >= 150600
%{?sle15_python_module_pythons}
%global pprefix python311 %global pprefix python311
%{?sle15_python_module_pythons}
%else %else
%global pythons python3 %global pythons python3
%global pprefix python3 %global pprefix python3
%endif %endif
# Add option to build without examples
%bcond_without examples
# Add option to build without tools
%bcond_without tools
Name: dpdk%{name_tag} Name: dpdk%{name_tag}
Version: 23.11.1 Version: 23.11.1
Release: 0 Release: 0
@ -172,7 +172,7 @@ as L2 and L3 forwarding.
%prep %prep
# can't use %%{name} because of dpdk-thunderx # can't use %%{name} because of dpdk-thunderx
%setup -n dpdk-stable-%{version} %setup -q -n dpdk-stable-%{version}
%if 0%{?suse_version} > 1600 %if 0%{?suse_version} > 1600
%autopatch -p1 %autopatch -p1
%else %else