From d4693aaeb32cde9e08b7103b2a7b08e084d5ab8c4b9822af95e62306c263dbc6 Mon Sep 17 00:00:00 2001 From: Egbert Eich Date: Mon, 26 Feb 2018 09:54:46 +0000 Subject: [PATCH] Accepting request 580157 from home:eeich:hpc_alt - Fix package provides and names: replace '-' by '_'. OBS-URL: https://build.opensuse.org/request/show/580157 OBS-URL: https://build.opensuse.org/package/show/science:HPC/patterns-hpc?expand=0&rev=3 --- patterns-hpc.spec | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/patterns-hpc.spec b/patterns-hpc.spec index 1c74ecd..6ad8695 100644 --- a/patterns-hpc.spec +++ b/patterns-hpc.spec @@ -46,12 +46,12 @@ This particular package contains all the HPC related patterns ################################################################################ -%package compute-node +%package compute_node %pattern_serverfunctions Summary: HPC compute node Provides: Metapackages -Provides: compute-node -Provides: pattern() = compute-node +Provides: hpc_compute_node +Provides: pattern() = hpc_compute_node Provides: pattern-icon() = pattern-generic Provides: pattern-order() = 2010 Provides: pattern-visible() @@ -68,10 +68,10 @@ Recommends: nss_ldap Recommends: ganglia-gmond Recommends: genders -%description compute-node +%description compute_node A compute node has a minmal software image and mainly runs simultion programs. Services on this node should be reduced to a bare minimum and the node *must* be installed in a automatic manner. A basset of numerical libraries should also be installed. -%files compute-node +%files compute_node %dir %{_defaultdocdir}/patterns %{_defaultdocdir}/patterns/compute-node.txt @@ -81,14 +81,14 @@ A compute node has a minmal software image and mainly runs simultion programs. S %pattern_serverfunctions Summary: HPC modularized libraries Provides: Metapackages -Provides: hpc-libraries -Provides: pattern() = hpc-libraries +Provides: hpc_libraries +Provides: pattern() = hpc_libraries Provides: pattern-icon() = pattern-generic Provides: pattern-order() = 2030 Provides: pattern-visible() Provides: patterns-%{product}-libraries = %{version} Obsoletes: patterns-%{product}-libraries < %{version} -Requires: pattern() = compute-node +Requires: pattern() = compute_node Requires: lua-lmod %include %{SOURCE1} @@ -101,28 +101,28 @@ This package provides all the modularized libraries so that they can be used in %{_defaultdocdir}/patterns/hpc-libraries.txt ################################################################################ -%package development-node +%package development_node %pattern_serverfunctions Summary: Packages needed to be able to develop HPC Apps Provides: Metapackages -Provides: hpc-development-node -Provides: pattern() = hpc-development-node +Provides: hpc_development_node +Provides: pattern() = hpc_development_node Provides: pattern-icon() = pattern-basis-devel Provides: pattern-order() = 2040 Provides: pattern-visible() Provides: patterns-%{product}-development-node = %{version} Obsoletes: patterns-%{product}-development-node < %{version} -Requires: pattern() = compute-node +Requires: pattern() = compute_node Requires: pattern() = devel_C_C++ Requires: pattern() = devel_basic Requires: pattern() = devel_perl Requires: pattern() = devel_python3 %include %{SOURCE2} -%description development-node +%description development_node This package provides all the relevant packages for developing HPC applications. It depends on the hpc-compute node and adds additionally the compilers and includes also the relevant managment packages. -%files development-node +%files development_node %dir %{_defaultdocdir}/patterns %{_defaultdocdir}/patterns/hpc-development-node.txt