From 1b2e6e1904efa9b3151fdbaff8f83c0457862d5e Mon Sep 17 00:00:00 2001 From: Vladimir Sokolovsky Date: Mon, 18 Dec 2017 18:16:42 +0200 Subject: [PATCH] compat-rdma.spec: Added compat-rdma-firmware subpackage Signed-off-by: Vladimir Sokolovsky --- compat-rdma.spec | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/compat-rdma.spec b/compat-rdma.spec index 7dae33d..6f27de0 100755 --- a/compat-rdma.spec +++ b/compat-rdma.spec @@ -120,6 +120,18 @@ Group: System Environment/Libraries %description -n compat-rdma-devel Core, HW and ULPs kernel modules sources +%if %{build_compat_rdma_firmware} +%package -n compat-rdma-firmware +Requires: kernel +Requires: compat-rdma +Version: %{_version} +Release: %{_release} +Summary: Firmware package +Group: System Environment/Libraries +%description -n compat-rdma-firmware +This package contains firmware for RDMA devices +%endif + %prep %setup -n %{_name}-%{_version} @@ -451,7 +463,10 @@ fi /sbin/connectx_port_config %config(noreplace) %{RDMA_CONF_DIR}/connectx.conf %endif + %if %{build_compat_rdma_firmware} +%files -n compat-rdma-firmware +%defattr(-,root,root,-) %if %{build_qedr} /lib/firmware/qed/* %endif -- 2.41.0