diff --git a/dpdk.spec b/dpdk.spec index 7096503..473fba2 100644 --- a/dpdk.spec +++ b/dpdk.spec @@ -39,18 +39,18 @@ %define min 0 #%%define lname libdpdk-%%{maj}_%%{min} %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 -%{?sle15_python_module_pythons} %global pprefix python311 +%{?sle15_python_module_pythons} %else %global pythons python3 %global pprefix python3 %endif +# Add option to build without examples +%bcond_without examples +# Add option to build without tools +%bcond_without tools Name: dpdk%{name_tag} Version: 23.11.1 Release: 0 @@ -172,7 +172,7 @@ as L2 and L3 forwarding. %prep # can't use %%{name} because of dpdk-thunderx -%setup -n dpdk-stable-%{version} +%setup -q -n dpdk-stable-%{version} %if 0%{?suse_version} > 1600 %autopatch -p1 %else