From 0405ac1e91ffe6afc5d25e80272636f23334643f2e84343b2e9180a0adcdaf6c Mon Sep 17 00:00:00 2001 From: Nicolas Morey-Chaisemartin Date: Mon, 11 Sep 2017 08:00:42 +0000 Subject: [PATCH] Accepting request 522774 from home:jengelh:branches:science:HPC - Fix RPM groups. Implement shared library guideline. OBS-URL: https://build.opensuse.org/request/show/522774 OBS-URL: https://build.opensuse.org/package/show/science:HPC/opa-ff?expand=0&rev=30 --- opa-ff.changes | 5 +++++ opa-ff.spec | 33 ++++++++++++++++++++++----------- 2 files changed, 27 insertions(+), 11 deletions(-) diff --git a/opa-ff.changes b/opa-ff.changes index 3a1e603..786d76f 100644 --- a/opa-ff.changes +++ b/opa-ff.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Sep 9 11:59:20 UTC 2017 - jengelh@inai.de + +- Fix RPM groups. Implement shared library guideline. + ------------------------------------------------------------------- Tue Sep 5 14:26:48 UTC 2017 - nmoreychaisemartin@suse.com diff --git a/opa-ff.spec b/opa-ff.spec index 4eb8c07..10baa32 100644 --- a/opa-ff.spec +++ b/opa-ff.spec @@ -25,7 +25,7 @@ Version: 10.4.0 Release: 0 Summary: Intel Omni-Path basic tools and libraries for fabric managment License: BSD-3-Clause or GPL-2.0 -Group: System/Libraries +Group: Productivity/Networking/System Url: http://www.intel.com/ Source0: %{name}-%{version}%{git_ver}.tar.gz Source1: opa-ff.rpmlintrc @@ -51,16 +51,16 @@ The %{name} contains basic tools and libraries for Intel Omni-Path fabric manage includes: the opa-fastfabric opa-basic-tools, opa-address-resolution %package -n opa-basic-tools -Summary: Managment level tools and scripts -Group: System/Libraries +Summary: OmniPath managment level tools and scripts +Group: Productivity/Networking/System Requires: rdma %description -n opa-basic-tools Contains basic tools for fabric managment necessary on all compute nodes. %package -n opa-fastfabric -Summary: Management level tools and scripts -Group: System/Libraries +Summary: OmniPath management level tools and scripts +Group: Productivity/Networking/System Requires: opa-basic-tools %if 0%{?rhel} Requires: atlas @@ -69,17 +69,25 @@ Requires: atlas %description -n opa-fastfabric Contains tools for managing fabric on a managment node. +%package -n libopasadb1_0_0 +Summary: OmniPath Subnet Administrator database library +Group: System/Libraries + +%description -n libopasadb1_0_0 +This is to be filled out more concisely later. + %package -n opa-address-resolution -Summary: Contains Address Resolution manager -Group: Development/Libraries/C and C++ +Summary: OmniPath Address Resolution manager +Group: Productivity/Networking/System Requires: opa-basic-tools %description -n opa-address-resolution This is to be filled out more concisely later. %package -n opa-address-resolution-devel -Summary: Development files for the Address Resolution manager +Summary: Development files for the OmniPath Address Resolution manager Group: Development/Libraries/C and C++ +Requires: libopasadb1_0_0 = %{version} Requires: opa-address-resolution = %{version} Requires: opa-basic-tools @@ -290,8 +298,8 @@ cat %{_builddir}/ff_sbin_file.list %{_builddir}/ff_help_file.list %{_builddir}/f #cd /opt/opa/src/mpi_apps >/dev/null 2>&1 #make -k clean >/dev/null 2>&1 || : # suppress all errors and return codes from the make clean. -%post -n opa-address-resolution -p /sbin/ldconfig -%postun -n opa-address-resolution -p /sbin/ldconfig +%post -n libopasadb1_0_0 -p /sbin/ldconfig +%postun -n libopasadb1_0_0 -p /sbin/ldconfig %files -n opa-basic-tools -f %{_builddir}/basic_file.list %defattr(-,root,root,-) @@ -330,13 +338,16 @@ cat %{_builddir}/ff_sbin_file.list %{_builddir}/ff_help_file.list %{_builddir}/f # /opt/opa +%files -n libopasadb1_0_0 +%defattr(-,root,root) +%{_libdir}/libopasadb.so.1* + %files -n opa-address-resolution %defattr(-,root,root,-) %dir %{_sysconfdir}/rdma/ %dir %{_libdir}/ibacm/ #Everything under the bin directory belongs exclusively to opasadb at this time. %{_bindir}/* -%{_libdir}/*.so.* %{_libdir}/ibacm/*.so.* %{_mandir}/man1/opa_osd_dump.1* %{_mandir}/man1/opa_osd_exercise.1*