Accepting request 672357 from home:eeich:branches:science:HPC

- macros.hpc: Improve master package description and README message.

OBS-URL: https://build.opensuse.org/request/show/672357
OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=44
This commit is contained in:
Egbert Eich 2019-02-07 06:58:32 +00:00 committed by Git OBS Bridge
parent eaa710f2c2
commit 32af44b9bd
3 changed files with 5 additions and 3 deletions

View File

@ -6,7 +6,7 @@
<param name="exclude">.git</param> <param name="exclude">.git</param>
<param name="filename">suse-hpc</param> <param name="filename">suse-hpc</param>
<param name="versionformat">0.4.%h</param> <param name="versionformat">0.4.%h</param>
<param name="revision">e7d6197ce848ef77b7cb7565f199e9c5d7cf11a8</param> <param name="revision">ec20e912f5395e091bede4849ecc5476581c1871</param>
<param name="extract">general/dlinfo.c</param> <param name="extract">general/dlinfo.c</param>
<param name="extract">general/macros.hpc</param> <param name="extract">general/macros.hpc</param>
<param name="extract">general/hpc_elf.pl</param> <param name="extract">general/hpc_elf.pl</param>

View File

@ -418,14 +418,15 @@ Obsoletes: %_lname < %version \
Requires: %{s_name} = %version \ Requires: %{s_name} = %version \
%{!-l:%{!-s:%{!-a:BuildArch: noarch}}} \ %{!-l:%{!-s:%{!-a:BuildArch: noarch}}} \
%description -n %_lname \ %description -n %_lname \
The package %{_lname} provides the dependency to get binary package %{s_name} \ %{pname}: %{SUMMARY} \
The package %{_lname} provides the dependency to get binary package %{s_name}. \
When this package gets updated it installs the latest version of %name. \ When this package gets updated it installs the latest version of %name. \
%{-L:%posttrans -n %_lname \ %{-L:%posttrans -n %_lname \
[ -e %{hpc_module_dep_base}.version.%{version} ] && \\\ [ -e %{hpc_module_dep_base}.version.%{version} ] && \\\
ln -sf .version.%{version} %{hpc_module_dep_base}.version} \ ln -sf .version.%{version} %{hpc_module_dep_base}.version} \
%files -n %{_lname} \ %files -n %{_lname} \
%defattr(-,root,root)\ %defattr(-,root,root)\
%define _msg '%{summary}: Provide the dependency to get binary package %{s_name\\\\nWhen this package gets updated it installs the latest version of %name.}' \ %define _msg '%{pname}: %{SUMMARY}.\\\\nProvide the dependency to get binary package %{s_name}.\\\\nWhen this package gets updated it installs the latest version of %{pname}.' \
%define _readme README.%{_mylib}%{_name}%{_p_ext} \ %define _readme README.%{_mylib}%{_name}%{_p_ext} \
%define _tmpexec %(tmp=$(mktemp /tmp/scr-XXXXXX); \ %define _tmpexec %(tmp=$(mktemp /tmp/scr-XXXXXX); \
readme=%{_readme} \ readme=%{_readme} \

View File

@ -7,6 +7,7 @@ Wed Feb 6 07:08:30 UTC 2019 - eich@suse.com
* Deletion: Fix paths and line endings. * Deletion: Fix paths and line endings.
(bsc#1124509) (bsc#1124509)
- macros.hpc: Improve documentation for -L option in %%hpc_master macro. - macros.hpc: Improve documentation for -L option in %%hpc_master macro.
- macros.hpc: Improve master package description and README message.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jan 7 15:44:07 UTC 2019 - eich@suse.com Mon Jan 7 15:44:07 UTC 2019 - eich@suse.com