Skip to content

Commit

Permalink
fix release field for kernel modules
Browse files Browse the repository at this point in the history
  • Loading branch information
Binu Jose Philip committed Jan 1, 2025
1 parent 0a6d155 commit 9f8adbe
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion SPECS/knem/knem.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
8 changes: 2 additions & 6 deletions SPECS/mlnx-ofa_kernel/mlnx-ofa_kernel.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion SPECS/xpmem/xpmem.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9f8adbe

Please sign in to comment.