From 2ffe5b8cf4e962cbd102d80c3e641612bedc00772c3374e209f1bf63ff07799d Mon Sep 17 00:00:00 2001 From: Egbert Eich Date: Mon, 18 Jun 2018 04:56:54 +0000 Subject: [PATCH] - Improve description and README in master packages Explain the purpose of the package and explicitly specify the dependency in the package description and generated README. OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=25 --- _service | 2 +- macros.hpc | 7 ++++--- suse-hpc.changes | 7 +++++++ suse-hpc.spec | 1 - 4 files changed, 12 insertions(+), 5 deletions(-) diff --git a/_service b/_service index dce10be..1575196 100644 --- a/_service +++ b/_service @@ -6,7 +6,7 @@ .git suse-hpc 0.1.%h - 131fdf981724f18a7cef824665884cc40491f265 + d6d9c0fddeefd4f22d4aa44d6a9f7bc7f625bcba general/dlinfo.c general/macros.hpc general/hpc_elf.pl diff --git a/macros.hpc b/macros.hpc index 8e94b07..0ef092a 100644 --- a/macros.hpc +++ b/macros.hpc @@ -403,17 +403,18 @@ Obsoletes: %_lname < %version \ Requires: %{s_name} = %version \ %{!-l:%{!-s:%{!-a:BuildArch: noarch}}} \ %description -n %_lname \ -The package %{l_name} provides the dependency to get the latest binary package version of %{_pname} \ +The package %{l_name} provides the dependency to get binary package %{s_name} \ +When this package gets updated it installs the latest version of %name. \ %{-L:%post -n %_lname \ ln -sf %{hpc_module_dep_base}.version.%{version} %{hpc_module_dep_base}.version} \ %files -n %{_lname} \ %defattr(-,root,root)\ - %define _msg '%{summary:0}: Provide the dependency to get the latest binary package version of %{_pname}' \ + %define _msg '%{summary:0}: Provide the dependency to get binary package %{s_name\\\\nWhen this package gets updated it installs the latest version of %name.}' \ %define _readme README.%{_mylib}%{_name}%{_p_ext} \ %define _tmpexec %(tmp=$(mktemp /tmp/scr-XXXXXX); \ readme=%{_readme} \ echo "#!/bin/bash" > $tmp; \ - echo "echo %_msg \> $readme && rm -f $tmp || true" >> $tmp; \ + echo "echo -e %_msg \> $readme && rm -f $tmp || true" >> $tmp; \ chmod u+x $tmp; echo -n $tmp) \ %doc $(%_tmpexec)./%{_readme} \ } \ diff --git a/suse-hpc.changes b/suse-hpc.changes index 18c93a1..cc26c47 100644 --- a/suse-hpc.changes +++ b/suse-hpc.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Jun 18 04:56:03 UTC 2018 - eich@suse.com + +- Improve description and README in master packages + Explain the purpose of the package and explicitly specify the dependency + in the package description and generated README. + ------------------------------------------------------------------- Sat Jun 16 19:38:18 UTC 2018 - eich@suse.com diff --git a/suse-hpc.spec b/suse-hpc.spec index c812064..3a5ce2f 100644 --- a/suse-hpc.spec +++ b/suse-hpc.spec @@ -16,7 +16,6 @@ # -%define git_ver .131fdf9 Summary: SUSE HPC Environment License: BSD-3-Clause Group: Productivity/Clustering/Computing