Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mofed and deps signed spec cleanup #11993

Merged
merged 4 commits into from
Jan 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions SPECS-SIGNED/fwctl-signed/fwctl-signed.spec
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ Vendor: Microsoft Corporation
Distribution: Azure Linux
ExclusiveArch: x86_64

Requires: mlnx-ofa_kernel = %{_version}
Requires: mlnx-ofa_kernel-modules = %{_version}
Requires: mlnx-ofa_kernel = %{version}
Requires: mlnx-ofa_kernel-modules = %{version}
Requires: kernel = %{target_kernel_version_full}
Requires: kmod

Expand Down Expand Up @@ -99,7 +99,7 @@ fi # 1 : closed


%changelog
* Tue Dec 16 2024 Binu Jose Philip <[email protected]> - 24.10.0.6.7.1
* Sat Jan 18 2024 Binu Jose Philip <[email protected]> - 24.10-1
- Creating signed spec
- Initial Azure Linux import from NVIDIA (license: GPLv2)
- License verified
7 changes: 3 additions & 4 deletions SPECS-SIGNED/iser-signed/iser-signed.spec
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ Vendor: Microsoft Corporation
Distribution: Azure Linux
ExclusiveArch: x86_64

Requires: mlnx-ofa_kernel = %{_version}
Requires: mlnx-ofa_kernel-modules = %{_version}
Requires: mlnx-ofa_kernel = %{version}
Requires: mlnx-ofa_kernel-modules = %{version}
Requires: kernel = %{target_kernel_version_full}
Requires: kmod

Expand Down Expand Up @@ -92,9 +92,8 @@ fi # 1 : closed
/lib/modules/%{KVERSION}/updates/
%config(noreplace) %{_sysconfdir}/depmod.d/zz02-%{name}-*.conf


%changelog
* Tue Dec 16 2024 Binu Jose Philip <[email protected]> - 24.10.0.6.7.1
* Sat Jan 18 2024 Binu Jose Philip <[email protected]> - 24.10-1
- Creating signed spec
- License verified
- Initial Azure Linux import from NVIDIA (license: GPLv2)
8 changes: 3 additions & 5 deletions SPECS-SIGNED/isert-signed/isert-signed.spec
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ Vendor: Microsoft Corporation
Distribution: Azure Linux
ExclusiveArch: x86_64

Requires: mlnx-ofa_kernel = %{_version}
Requires: mlnx-ofa_kernel-modules = %{_version}
Requires: mlnx-ofa_kernel = %{version}
Requires: mlnx-ofa_kernel-modules = %{version}
Requires: kernel = %{target_kernel_version_full}
Requires: kmod

Expand All @@ -68,7 +68,6 @@ isert signed kernel modules

%build


%install
rpm2cpio %{SOURCE0} | cpio -idmv -D %{buildroot}

Expand All @@ -92,9 +91,8 @@ fi # 1 : closed
/lib/modules/%{KVERSION}/updates/
%config(noreplace) %{_sysconfdir}/depmod.d/zz02-%{name}-*.conf


%changelog
* Tue Dec 16 2024 Binu Jose Philip <[email protected]> - 24.10.0.6.7.1
* Sat Jan 18 2024 Binu Jose Philip <[email protected]> - 24.10-1
- Creating signed spec
- License verified
- Initial Azure Linux import from NVIDIA (license: GPLv2)
8 changes: 1 addition & 7 deletions SPECS-SIGNED/knem-signed/knem-modules-signed.spec
Original file line number Diff line number Diff line change
Expand Up @@ -91,15 +91,9 @@ fi
%files
%{_datadir}/licenses
/lib/modules/
%if %{IS_RHEL_VENDOR}
%if ! 0%{?fedora}
%config(noreplace) %{_sysconfdir}/depmod.d/%{_name}.conf
%endif
%endif


%changelog
* Tue Dec 16 2024 Binu Jose Philip <[email protected]> - 1.1.4.90mlnx3
* Sat Jan 18 2024 Binu Jose Philip <[email protected]> - 1.1.4.90mlnx3-1
- Creating signed spec
- Initial Azure Linux import from NVIDIA (license: GPLv2)
- License verified
2 changes: 1 addition & 1 deletion SPECS-SIGNED/mft_kernel-signed/mft_kernel-signed.spec
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ rm -rf %{buildroot}
/lib/modules/%{KVERSION}/updates/

%changelog
* Tue Dec 16 2024 Binu Jose Philip <[email protected]> - 4.30.0
* Tue Dec 16 2024 Binu Jose Philip <[email protected]> - 4.30.0-1
- Creating signed spec
- Initial Azure Linux import from NVIDIA (license: GPLv2)
- License verified
9 changes: 5 additions & 4 deletions SPECS-SIGNED/mlnx-nfsrdma-signed/mlnx-nfsrdma-signed.spec
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@

%global KVERSION %{target_kernel_version_full}

%define mlnx_version 24.10

%{!?_name: %define _name mlnx-nfsrdma}

Summary: %{_name} Driver
Expand All @@ -58,8 +60,8 @@ Vendor: Microsoft Corporation
Distribution: Azure Linux
ExclusiveArch: x86_64

Requires: mlnx-ofa_kernel = %{_version}
Requires: mlnx-ofa_kernel-modules = %{_version}
Requires: mlnx-ofa_kernel = %{mlnx_version}
Requires: mlnx-ofa_kernel-modules = %{mlnx_version}
Requires: kernel = %{target_kernel_version_full}
Requires: kmod

Expand Down Expand Up @@ -96,9 +98,8 @@ fi
/lib/modules/%{KVERSION}/updates/
%config(noreplace) %{_sysconfdir}/depmod.d/zz02-%{name}-*.conf


%changelog
* Tue Dec 16 2024 Binu Jose Philip <[email protected]> - 24.10.0.6.7.1
* Sat Jan 18 2024 Binu Jose Philip <[email protected]> - 24.10-1
- Creating signed spec
- Initial Azure Linux import from NVIDIA (license: GPLv2)
- License verified
Original file line number Diff line number Diff line change
Expand Up @@ -72,16 +72,16 @@ Source16: ib_iser.ko
Source17: ib_isert.ko
Source18: ib_srp.ko
Source19: mlx5_core.ko
Source10: mlxfw.ko
Source11: mlxsw_spectrum.ko
Source12: nvme-rdma.ko
Source13: nvmet-rdma.ko
Source14: mlxdevm.ko
Source15: smc.ko
Source16: smc_diag.ko
Source17: rpcrdma.ko
Source18: svcrdma.ko
Source19: xprtrdma.ko
Source20: mlxfw.ko
Source21: mlxsw_spectrum.ko
Source22: nvme-rdma.ko
Source23: nvmet-rdma.ko
Source24: mlxdevm.ko
Source25: smc.ko
Source26: smc_diag.ko
Source27: rpcrdma.ko
Source28: svcrdma.ko
Source29: xprtrdma.ko

Vendor: Microsoft Corporation
Distribution: Azure Linux
Expand Down Expand Up @@ -144,16 +144,16 @@ cp -r %{SOURCE16} %{buildroot}/lib/modules/%{KVERSION}/updates/drivers/infiniban
cp -r %{SOURCE17} %{buildroot}/lib/modules/%{KVERSION}/updates/drivers/infiniband/ulp/isert/ib_isert.ko
cp -r %{SOURCE18} %{buildroot}/lib/modules/%{KVERSION}/updates/drivers/infiniband/ulp/srp/ib_srp.ko
cp -r %{SOURCE19} %{buildroot}/lib/modules/%{KVERSION}/updates/drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.ko
cp -r %{SOURCE10} %{buildroot}/lib/modules/%{KVERSION}/updates/drivers/net/ethernet/mellanox/mlxfw/mlxfw.ko
cp -r %{SOURCE11} %{buildroot}/lib/modules/%{KVERSION}/updates/drivers/net/ethernet/mellanox/mlxsw/mlxsw_spectrum.ko
cp -r %{SOURCE12} %{buildroot}/lib/modules/%{KVERSION}/updates/drivers/nvme/host/nvme-rdma.ko
cp -r %{SOURCE13} %{buildroot}/lib/modules/%{KVERSION}/updates/drivers/nvme/target/nvmet-rdma.ko
cp -r %{SOURCE14} %{buildroot}/lib/modules/%{KVERSION}/updates/net/mlxdevm/mlxdevm.ko
cp -r %{SOURCE15} %{buildroot}/lib/modules/%{KVERSION}/updates/net/smc/smc.ko
cp -r %{SOURCE16} %{buildroot}/lib/modules/%{KVERSION}/updates/net/smc/smc_diag.ko
cp -r %{SOURCE17} %{buildroot}/lib/modules/%{KVERSION}/updates/net/sunrpc/xprtrdma/rpcrdma.ko
cp -r %{SOURCE18} %{buildroot}/lib/modules/%{KVERSION}/updates/net/sunrpc/xprtrdma/svcrdma.ko
cp -r %{SOURCE19} %{buildroot}/lib/modules/%{KVERSION}/updates/net/sunrpc/xprtrdma/xprtrdma.ko
cp -r %{SOURCE20} %{buildroot}/lib/modules/%{KVERSION}/updates/drivers/net/ethernet/mellanox/mlxfw/mlxfw.ko
cp -r %{SOURCE21} %{buildroot}/lib/modules/%{KVERSION}/updates/drivers/net/ethernet/mellanox/mlxsw/mlxsw_spectrum.ko
cp -r %{SOURCE22} %{buildroot}/lib/modules/%{KVERSION}/updates/drivers/nvme/host/nvme-rdma.ko
cp -r %{SOURCE23} %{buildroot}/lib/modules/%{KVERSION}/updates/drivers/nvme/target/nvmet-rdma.ko
cp -r %{SOURCE24} %{buildroot}/lib/modules/%{KVERSION}/updates/net/mlxdevm/mlxdevm.ko
cp -r %{SOURCE25} %{buildroot}/lib/modules/%{KVERSION}/updates/net/smc/smc.ko
cp -r %{SOURCE26} %{buildroot}/lib/modules/%{KVERSION}/updates/net/smc/smc_diag.ko
cp -r %{SOURCE27} %{buildroot}/lib/modules/%{KVERSION}/updates/net/sunrpc/xprtrdma/rpcrdma.ko
cp -r %{SOURCE28} %{buildroot}/lib/modules/%{KVERSION}/updates/net/sunrpc/xprtrdma/svcrdma.ko
cp -r %{SOURCE29} %{buildroot}/lib/modules/%{KVERSION}/updates/net/sunrpc/xprtrdma/xprtrdma.ko

%clean
rm -rf %{buildroot}
Expand All @@ -171,7 +171,7 @@ fi
%license %{_datadir}/licenses/%{name}/copyright

%changelog
* Tue Dec 16 2024 Binu Jose Philip <[email protected]> - 24.10
* Sat Jan 18 2025 Binu Jose Philip <[email protected]> - 24.10-1
- Creating signed spec
- Initial Azure Linux import from NVIDIA (license: GPLv2)
- License verified
8 changes: 4 additions & 4 deletions SPECS-SIGNED/srp-signed/srp-signed.spec
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ Vendor: Microsoft Corporation
Distribution: Azure Linux
ExclusiveArch: x86_64

Requires: mlnx-ofa_kernel = %{_version}
Requires: mlnx-ofa_kernel-modules = %{_version}
Requires: mlnx-ofa_kernel = %{version}
Requires: mlnx-ofa_kernel-modules = %{version}
Requires: kernel = %{target_kernel_version_full}
Requires: kmod

Expand All @@ -78,15 +78,15 @@ cp -r %{SOURCE2} %{buildroot}/lib/modules/%{KVERSION}/updates/srp/scsi/scsi_tran
%clean
rm -rf %{buildroot}

%files modules
%files
%defattr(-,root,root,-)
/lib/modules/%{KVERSION}/updates/srp/ib_srp.ko
/lib/modules/%{KVERSION}/updates/srp/scsi/scsi_transport_srp.ko
%config(noreplace) %{_sysconfdir}/depmod.d/zz02-%{name}-*.conf
%license %{_datadir}/licenses/%{name}/copyright

%changelog
* Thu Jan 9 2024 Binu Jose Philip <[email protected]>
* Sat Jan 18 2024 Binu Jose Philip <[email protected]> - 24.10-1
- Creating signed spec
- Initial Azure Linux import from NVIDIA (license: GPLv2)
- License verified
4 changes: 2 additions & 2 deletions SPECS-SIGNED/xpmem-signed/xpmem-modules-signed.spec
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@ cp -r %{SOURCE1} %{buildroot}/lib/modules/%{KVERSION}/updates/xpmem.ko
%clean
rm -rf %{buildroot}

%files modules
%files
/lib/modules/%{KVERSION}/updates/xpmem.ko
%{_datadir}/licenses


%changelog
* Tue Dec 16 2024 Binu Jose Philip <[email protected]> - 2.7.4
* Sat Jan 18 2024 Binu Jose Philip <[email protected]> - 2.7.4-1
- Creating signed spec
- Initial Azure Linux import from NVIDIA (license: GPLv2)
- License verified
2 changes: 1 addition & 1 deletion SPECS/fwctl/fwctl.spec
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ fi # 1 : closed
%endif

%changelog
* Tue Dec 17 2024 Binu Jose Philip <[email protected]>
* Tue Dec 17 2024 Binu Jose Philip <[email protected]> - 24.10-1
- Initial Azure Linux import from NVIDIA (license: GPLv2)
- License verified
* Mon Jul 29 2024 <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion SPECS/iser/iser.spec
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ fi # 1 : closed
%endif

%changelog
* Tue Dec 17 2024 Binu Jose Philip <[email protected]>
* Tue Dec 17 2024 Binu Jose Philip <[email protected]> - 24.10-1
- Initial Azure Linux import from NVIDIA (license: GPLv2)
- License verified
* Thu Feb 20 2014 Alaa Hleihel <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion SPECS/isert/isert.spec
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ fi # 1 : closed
%endif

%changelog
* Tue Dec 17 2024 Binu Jose Philip <[email protected]>
* Tue Dec 17 2024 Binu Jose Philip <[email protected]> - 24.10-1
- Initial Azure Linux import from NVIDIA (license: GPLv2)
- License verified
* Thu Feb 20 2014 Alaa Hleihel <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion SPECS/knem/knem.spec
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ fi
%endif

%changelog
* Tue Dec 17 2024 Binu Jose Philip <[email protected]>
* Tue Dec 17 2024 Binu Jose Philip <[email protected]> - 1.1.4.90mlnx3-1
- Initial Azure Linux import from NVIDIA (license: GPLv2)
- License verified
* Mon Mar 17 2014 Alaa Hleihel <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion SPECS/mft_kernel/mft_kernel.spec
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,6 @@ find %{buildroot} -type f -name \*.ko -exec %{__strip} -p --strip-debug --discar
%endif

%changelog
* Tue Dec 17 2024 Binu Jose Philip <[email protected]>
* Tue Dec 17 2024 Binu Jose Philip <[email protected]> - 4.30.0-1
- Initial Azure Linux import from NVIDIA (license: GPLv2)
- License verified
2 changes: 1 addition & 1 deletion SPECS/mlnx-nfsrdma/mlnx-nfsrdma.spec
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ fi
%endif

%changelog
* Tue Dec 17 2024 Binu Jose Philip <[email protected]>
* Tue Dec 17 2024 Binu Jose Philip <[email protected]> - 24.10-1
- Initial Azure Linux import from NVIDIA (license: GPLv2)
- License verified
* Mon Aug 15 2016 Alaa Hleihel <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion SPECS/mlnx-ofa_kernel/mlnx-ofa_kernel.spec
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,7 @@ update-alternatives --remove \
%{_prefix}/src/mlnx-ofa_kernel-%version

%changelog
* Tue Dec 17 2024 Binu Jose Philip <[email protected]>
* Tue Dec 17 2024 Binu Jose Philip <[email protected]> - 24.10-1
- Initial Azure Linux import from NVIDIA (license: GPLv2)
- License verified
* Thu Jun 18 2015 Alaa Hleihel <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion SPECS/srp/srp.spec
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ fi
%endif

%changelog
* Thu Jan 9 2024 Binu Jose Philip <[email protected]>
* Thu Jan 9 2024 Binu Jose Philip <[email protected]> - 24.10-1
- Initial Azure Linux import from NVIDIA (license: GPLv2)
- License verified
* Thu Feb 20 2014 Alaa Hleihel <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion SPECS/xpmem/xpmem.spec
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,6 @@ fi
%endif

%changelog
* Tue Dec 17 2024 Binu Jose Philip <[email protected]>
* Tue Dec 17 2024 Binu Jose Philip <[email protected]> - 2.7.4-1
- Initial Azure Linux import from NVIDIA (license: GPLv2)
- License verified
Loading