diff --git a/SPECS/knem/knem.spec b/SPECS/knem/knem.spec index eb36f797e14..045bccfe9b7 100644 --- a/SPECS/knem/knem.spec +++ b/SPECS/knem/knem.spec @@ -113,7 +113,7 @@ EOF) %global flavors_to_build default %package -n %{non_kmp_pname} -Release: %{_release}.kver.%{krelver} +Release: 1%{?dist} Summary: KNEM: High-Performance Intra-Node MPI Communication Group: System Environment/Libraries %description -n %{non_kmp_pname} diff --git a/SPECS/mlnx-ofa_kernel/mlnx-ofa_kernel.spec b/SPECS/mlnx-ofa_kernel/mlnx-ofa_kernel.spec index 5ce876eeb9c..0fb7b36962b 100644 --- a/SPECS/mlnx-ofa_kernel/mlnx-ofa_kernel.spec +++ b/SPECS/mlnx-ofa_kernel/mlnx-ofa_kernel.spec @@ -187,7 +187,7 @@ Obsoletes: mlnx-en-debuginfo Obsoletes: mlnx-en-sources Obsoletes: mlnx-rdma-rxe Version: %{_version} -Release: %{_release}.kver.%{krelver} +Release: 1%{?dist} Summary: Infiniband Driver and ULPs kernel modules Group: System Environment/Libraries %description -n %{non_kmp_pname} @@ -199,11 +199,7 @@ The driver sources are located at: http://www.mellanox.com/downloads/ofed/mlnx-o %package -n %{devel_pname} Version: %{_version} # build KMP rpms? -%if "%{KMP}" == "1" -Release: %{_release}%{?_dist} -%else -Release: %{_release}.kver.%{krelver} -%endif +Release: 1%{?dist} Obsoletes: kernel-ib-devel Obsoletes: kernel-ib Obsoletes: mlnx-en diff --git a/SPECS/xpmem/xpmem.spec b/SPECS/xpmem/xpmem.spec index e934ce96ad2..021640d4a45 100644 --- a/SPECS/xpmem/xpmem.spec +++ b/SPECS/xpmem/xpmem.spec @@ -122,7 +122,7 @@ EOF) %package modules # %{nil}: to avoid having the script that build OFED-internal # munge the release version here as well: -Release%{nil}: %{release}.kver.%{krelver} +Release: 1%{?dist} Summary: XPMEM: kernel modules Group: System Environment/Libraries %description modules