]> git.openfabrics.org - compat-rdma/compat-rdma.git/commitdiff
compat-rdma.spec: Added compat-rdma-firmware subpackage
authorVladimir Sokolovsky <vlad@mellanox.com>
Mon, 18 Dec 2017 16:16:42 +0000 (18:16 +0200)
committerVladimir Sokolovsky <vlad@mellanox.com>
Mon, 18 Dec 2017 17:06:20 +0000 (19:06 +0200)
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
compat-rdma.spec

index 7dae33d87fd53118af78976cfd5bae62e65636eb..6f27de0ebbec3fdccdc63114240ae0158bbb2fa0 100755 (executable)
@@ -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