SHA256
1
0
forked from pool/opa-ff

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
This commit is contained in:
Nicolas Morey-Chaisemartin 2017-09-11 08:00:42 +00:00 committed by Git OBS Bridge
parent 86cdf33ec1
commit 0405ac1e91
2 changed files with 27 additions and 11 deletions

View File

@ -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 Tue Sep 5 14:26:48 UTC 2017 - nmoreychaisemartin@suse.com

View File

@ -25,7 +25,7 @@ Version: 10.4.0
Release: 0 Release: 0
Summary: Intel Omni-Path basic tools and libraries for fabric managment Summary: Intel Omni-Path basic tools and libraries for fabric managment
License: BSD-3-Clause or GPL-2.0 License: BSD-3-Clause or GPL-2.0
Group: System/Libraries Group: Productivity/Networking/System
Url: http://www.intel.com/ Url: http://www.intel.com/
Source0: %{name}-%{version}%{git_ver}.tar.gz Source0: %{name}-%{version}%{git_ver}.tar.gz
Source1: opa-ff.rpmlintrc 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 includes: the opa-fastfabric opa-basic-tools, opa-address-resolution
%package -n opa-basic-tools %package -n opa-basic-tools
Summary: Managment level tools and scripts Summary: OmniPath managment level tools and scripts
Group: System/Libraries Group: Productivity/Networking/System
Requires: rdma Requires: rdma
%description -n opa-basic-tools %description -n opa-basic-tools
Contains basic tools for fabric managment necessary on all compute nodes. Contains basic tools for fabric managment necessary on all compute nodes.
%package -n opa-fastfabric %package -n opa-fastfabric
Summary: Management level tools and scripts Summary: OmniPath management level tools and scripts
Group: System/Libraries Group: Productivity/Networking/System
Requires: opa-basic-tools Requires: opa-basic-tools
%if 0%{?rhel} %if 0%{?rhel}
Requires: atlas Requires: atlas
@ -69,17 +69,25 @@ Requires: atlas
%description -n opa-fastfabric %description -n opa-fastfabric
Contains tools for managing fabric on a managment node. 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 %package -n opa-address-resolution
Summary: Contains Address Resolution manager Summary: OmniPath Address Resolution manager
Group: Development/Libraries/C and C++ Group: Productivity/Networking/System
Requires: opa-basic-tools Requires: opa-basic-tools
%description -n opa-address-resolution %description -n opa-address-resolution
This is to be filled out more concisely later. This is to be filled out more concisely later.
%package -n opa-address-resolution-devel %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++ Group: Development/Libraries/C and C++
Requires: libopasadb1_0_0 = %{version}
Requires: opa-address-resolution = %{version} Requires: opa-address-resolution = %{version}
Requires: opa-basic-tools 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 #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. #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 %post -n libopasadb1_0_0 -p /sbin/ldconfig
%postun -n opa-address-resolution -p /sbin/ldconfig %postun -n libopasadb1_0_0 -p /sbin/ldconfig
%files -n opa-basic-tools -f %{_builddir}/basic_file.list %files -n opa-basic-tools -f %{_builddir}/basic_file.list
%defattr(-,root,root,-) %defattr(-,root,root,-)
@ -330,13 +338,16 @@ cat %{_builddir}/ff_sbin_file.list %{_builddir}/ff_help_file.list %{_builddir}/f
# /opt/opa # /opt/opa
%files -n libopasadb1_0_0
%defattr(-,root,root)
%{_libdir}/libopasadb.so.1*
%files -n opa-address-resolution %files -n opa-address-resolution
%defattr(-,root,root,-) %defattr(-,root,root,-)
%dir %{_sysconfdir}/rdma/ %dir %{_sysconfdir}/rdma/
%dir %{_libdir}/ibacm/ %dir %{_libdir}/ibacm/
#Everything under the bin directory belongs exclusively to opasadb at this time. #Everything under the bin directory belongs exclusively to opasadb at this time.
%{_bindir}/* %{_bindir}/*
%{_libdir}/*.so.*
%{_libdir}/ibacm/*.so.* %{_libdir}/ibacm/*.so.*
%{_mandir}/man1/opa_osd_dump.1* %{_mandir}/man1/opa_osd_dump.1*
%{_mandir}/man1/opa_osd_exercise.1* %{_mandir}/man1/opa_osd_exercise.1*