Commit Graph

72 Commits

Author SHA256 Message Date
Ana Guerrero
580a2fb0b9 Accepting request 1143794 from science:HPC
- Fix master package README generation 'trick' for rpm <= 4.19.1
  rpm version 4.19.1 started to add quotes around the file name
  when it expands a %doc statements into a script. This broke
  the 'trick' we've used to generate a README file on-the-fly.
  Here the saving grace was the introduction of the macro %rpmversion
  with the same version of rpm that can be used to identify
  versions affected by this. (forwarded request 1143793 from eeich)

OBS-URL: https://build.opensuse.org/request/show/1143794
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suse-hpc?expand=0&rev=30
2024-02-04 18:08:59 +00:00
2ceeb198dd Accepting request 1143793 from home:eeich:branches:science:HPC
- Fix master package README generation 'trick' for rpm <= 4.19.1
  rpm version 4.19.1 started to add quotes around the file name
  when it expands a %doc statements into a script. This broke
  the 'trick' we've used to generate a README file on-the-fly.
  Here the saving grace was the introduction of the macro %rpmversion
  with the same version of rpm that can be used to identify
  versions affected by this.

OBS-URL: https://build.opensuse.org/request/show/1143793
OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=68
2024-02-03 12:05:44 +00:00
Ana Guerrero
117a707162 Accepting request 1120762 from science:HPC
- Previous fix did not work, revert and use %global instead of
  %define.
  The %hpc_cmake and %hpc_ninja macros wrap the %cmake and %ninja macros.
  The wrapper needs to set all standard variables passed to cmake in these
  macros to the hpc values.
  With the mentioned macros this leads to an infinite recursion if using
  %define. So we use %global instead. (forwarded request 1120761 from eeich)

OBS-URL: https://build.opensuse.org/request/show/1120762
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suse-hpc?expand=0&rev=29
2023-10-27 20:29:00 +00:00
bebf0d440c Accepting request 1120761 from home:eeich:branches:science:HPC
- Previous fix did not work, revert and use %global instead of
  %define.
  The %hpc_cmake and %hpc_ninja macros wrap the %cmake and %ninja macros.
  The wrapper needs to set all standard variables passed to cmake in these
  macros to the hpc values.
  With the mentioned macros this leads to an infinite recursion if using
  %define. So we use %global instead.

OBS-URL: https://build.opensuse.org/request/show/1120761
OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=66
2023-10-27 09:06:29 +00:00
Ana Guerrero
c0c400f2b0 Accepting request 1119954 from science:HPC
- Handle %hpc_localstatedir and %hpc_sharedstatedir only when
  changed from %_localstatedir and %_sharedstatedir to avoid
  infinite recursion. (forwarded request 1119953 from eeich)

OBS-URL: https://build.opensuse.org/request/show/1119954
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suse-hpc?expand=0&rev=28
2023-10-24 18:09:24 +00:00
2144f3da24 Accepting request 1119953 from home:eeich:branches:science:HPC
- Handle %hpc_localstatedir and %hpc_sharedstatedir only when
  changed from %_localstatedir and %_sharedstatedir to avoid
  infinite recursion.

OBS-URL: https://build.opensuse.org/request/show/1119953
OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=64
2023-10-24 11:08:55 +00:00
Dominique Leuenberger
2c548c2841 Accepting request 1084761 from science:HPC
OBS-URL: https://build.opensuse.org/request/show/1084761
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suse-hpc?expand=0&rev=27
2023-05-05 13:57:28 +00:00
a0992ec977 Accepting request 1083905 from home:eeich:branches:science:HPC
- Do not redefine _localstatedir and _sharedstatedir for cmake:
  hpc_localstatedir and hpc_sharedstatedir are already the
  same. This may lead to a endless recursive definition loop.
- Create header magic for module file if none is specified in
  spec file.

OBS-URL: https://build.opensuse.org/request/show/1083905
OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=62
2023-05-04 14:44:43 +00:00
Dominique Leuenberger
870e041641 Accepting request 979393 from science:HPC
- Add %hpc_base_dirs macro
  In contrast to %hpc_dirs which also includes the library directory
  this only provides the HPC base directories. (forwarded request 979120 from eeich)

OBS-URL: https://build.opensuse.org/request/show/979393
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suse-hpc?expand=0&rev=26
2022-05-27 22:28:10 +00:00
fe1f07ebd3 Accepting request 979120 from home:eeich:branches:science:HPC
- Add %hpc_base_dirs macro
  In contrast to %hpc_dirs which also includes the library directory
  this only provides the HPC base directories.

OBS-URL: https://build.opensuse.org/request/show/979120
OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=60
2022-05-26 19:14:40 +00:00
Dominique Leuenberger
682a5d0794 Accepting request 952121 from science:HPC
- Add %hpc_python_sitelib and %hpc_python_sitelib_no_singlespec
  to get arch independent module directories for modules. (forwarded request 952120 from eeich)

OBS-URL: https://build.opensuse.org/request/show/952121
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suse-hpc?expand=0&rev=25
2022-02-07 22:38:21 +00:00
81871d8888 Accepting request 952120 from home:eeich:branches:science:HPC
- Add %hpc_python_sitelib and %hpc_python_sitelib_no_singlespec
  to get arch independent module directories for modules.

OBS-URL: https://build.opensuse.org/request/show/952120
OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=59
2022-02-07 12:58:47 +00:00
Dominique Leuenberger
1bd4d784bb Accepting request 944103 from science:HPC
OBS-URL: https://build.opensuse.org/request/show/944103
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suse-hpc?expand=0&rev=24
2022-01-06 14:51:11 +00:00
dca37a71b5 Accepting request 944071 from home:bnavigator:branches:science:HPC
python310 has been enabled today.

- Update to version 0.5.20211210.07cc46c
  * support python 3.10 version string (#8)
- Update _service to save git date and hash to version

OBS-URL: https://build.opensuse.org/request/show/944071
OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=58
2022-01-05 18:15:31 +00:00
4b50e9fc1a - Update service file.
OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=57
2021-10-26 06:19:19 +00:00
Dominique Leuenberger
a257ce3e27 Accepting request 927099 from science:HPC
- Cope with the fact that RPM 4.17 no longer has
  __elflib_exclude_path defined.
  Thanks to Dominique Leuenberger &lt;dimstar@opensuse.org&gt; for
  spotting this! (forwarded request 927098 from eeich)

OBS-URL: https://build.opensuse.org/request/show/927099
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suse-hpc?expand=0&rev=23
2021-10-25 13:16:46 +00:00
ee47ddf7f8 Accepting request 927098 from home:eeich:branches:science:HPC
- Cope with the fact that RPM 4.17 no longer has
  __elflib_exclude_path defined.
  Thanks to Dominique Leuenberger <dimstar@opensuse.org> for
  spotting this!

OBS-URL: https://build.opensuse.org/request/show/927098
OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=56
2021-10-23 09:13:10 +00:00
Richard Brown
5cee7d2893 Accepting request 879575 from science:HPC
- Add hooks for extra module files and master packages to
  accomodate support for multiple python3 flavors (thanks to
  Ben Greiner).
- Made sure, these macros are backward compatible to Leap 15. (forwarded request 879574 from eeich)

OBS-URL: https://build.opensuse.org/request/show/879575
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suse-hpc?expand=0&rev=22
2021-03-19 15:40:07 +00:00
a95f586667 Accepting request 879574 from home:eeich:branches:science:HPC
- Add hooks for extra module files and master packages to
  accomodate support for multiple python3 flavors (thanks to
  Ben Greiner).
- Made sure, these macros are backward compatible to Leap 15.

OBS-URL: https://build.opensuse.org/request/show/879574
OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=54
2021-03-17 07:32:26 +00:00
Dominique Leuenberger
d8fbf61aec Accepting request 864149 from science:HPC
- Expand python_flavor to python executable. Thanks to Ben Greiner. (forwarded request 864148 from eeich)

OBS-URL: https://build.opensuse.org/request/show/864149
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suse-hpc?expand=0&rev=21
2021-01-20 17:23:13 +00:00
9008aef988 Accepting request 864148 from home:eeich:branches:science:HPC
- Expand python_flavor to python executable. Thanks to Ben Greiner.

OBS-URL: https://build.opensuse.org/request/show/864148
OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=52
2021-01-18 21:03:22 +00:00
Dominique Leuenberger
8716cec94d Accepting request 822639 from science:HPC
- Fix %%hpc_base during hpc_init to allow for changes to %%_prefix.

OBS-URL: https://build.opensuse.org/request/show/822639
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suse-hpc?expand=0&rev=20
2020-07-29 15:16:02 +00:00
ce426359a3 - Fix %%hpc_base during hpc_init to allow for changes to %%_prefix.
OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=50
2020-07-23 17:45:40 +00:00
Dominique Leuenberger
024f993ac1 Accepting request 801697 from science:HPC
- Fix typo in shell script variable.

OBS-URL: https://build.opensuse.org/request/show/801697
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suse-hpc?expand=0&rev=19
2020-05-09 17:49:09 +00:00
f6a43b44b5 - Fix typo in shell script variable.
OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=48
2020-05-07 21:51:12 +00:00
Dominique Leuenberger
78d5fe047e Accepting request 798281 from science:HPC
- Add 'Obsolete:' option to master package. This way, a removed
  master package may be declared obsolte. 
- Allow 'Empty' package - without a 'Requires:' to keep master
  package for backward compatibility. (forwarded request 798280 from eeich)

OBS-URL: https://build.opensuse.org/request/show/798281
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suse-hpc?expand=0&rev=18
2020-04-29 18:41:52 +00:00
37307aed0b Accepting request 798280 from home:eeich:branches:science:HPC
- Add 'Obsolete:' option to master package. This way, a removed
  master package may be declared obsolte. 
- Allow 'Empty' package - without a 'Requires:' to keep master
  package for backward compatibility.

OBS-URL: https://build.opensuse.org/request/show/798280
OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=46
2020-04-27 13:41:38 +00:00
Dominique Leuenberger
f293288395 Accepting request 672358 from science:HPC
- macros.hpc: Improve master package description and README message. (forwarded request 672357 from eeich)

OBS-URL: https://build.opensuse.org/request/show/672358
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suse-hpc?expand=0&rev=17
2019-02-11 20:17:16 +00:00
b1328c63b1 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
2019-02-07 06:58:32 +00:00
3a4b960ea7 Accepting request 672258 from home:eeich:branches:science:HPC
- macros.hpc: Fix default moduleversion link generation and deletion  
  * Generation: convert to a posttrans script to make sure the link
    target exists.
  * Deletion: Fix paths and line endings.
  (bsc#1124509)
- macros.hpc: Improve documentation for -L option in %%hpc_master macro.

OBS-URL: https://build.opensuse.org/request/show/672258
OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=43
2019-02-06 17:56:26 +00:00
Dominique Leuenberger
60d6f555a7 Accepting request 663405 from science:HPC
- Remove redefinition of _sysconfdir in %%hpc_cmake:
  Redefining _sysconfdir to %%hpc_sysconfdir caused a recursive loop!

OBS-URL: https://build.opensuse.org/request/show/663405
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suse-hpc?expand=0&rev=16
2019-01-15 12:13:55 +00:00
e94e68033a - Remove redefinition of _sysconfdir in %%hpc_cmake:
Redefining _sysconfdir to %%hpc_sysconfdir caused a recursive loop!

OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=41
2019-01-07 15:47:33 +00:00
Dominique Leuenberger
10fe59152e Accepting request 659954 from science:HPC
OBS-URL: https://build.opensuse.org/request/show/659954
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suse-hpc?expand=0&rev=15
2018-12-28 11:32:20 +00:00
Dirk Stoecker
60c559d8d9 Accepting request 659779 from home:TheBlackCat:branches:science:HPC
- Add hpc_docdir macro.
- Add cmake directories macros.
- Use upstream-recommended %{_rpmconfigdir}/macros.d directory
  for rpm macros.
- Add meson macro.
- Future-proof cmake macro.

OBS-URL: https://build.opensuse.org/request/show/659779
OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=39
2018-12-19 08:20:49 +00:00
Dominique Leuenberger
4854c656f9 Accepting request 650134 from science:HPC
* Do not remove executable flag on .so files (forwarded request 650133 from eeich)

OBS-URL: https://build.opensuse.org/request/show/650134
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suse-hpc?expand=0&rev=14
2018-11-19 22:33:17 +00:00
d635b83634 Accepting request 650133 from home:eeich:branches:science:machinelearning
* Do not remove executable flag on .so files

OBS-URL: https://build.opensuse.org/request/show/650133
OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=37
2018-11-19 09:32:41 +00:00
0cd8b95a1b Accepting request 650115 from home:eeich:branches:science:machinelearning
- Improve python handling:
  * set python3 as default for Factory
  * allow to specify subdir to HPC pyton path

OBS-URL: https://build.opensuse.org/request/show/650115
OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=36
2018-11-19 07:14:05 +00:00
c9d411738c Accepting request 650047 from home:eeich:branches:science:machinelearning
- Expand modules handling (bsc#1116458):
  * add %%hpc_modules_init to store the list of modules
  * if a modules list is available, use environment during
    dependency generation to exclude objects which will be
    found thru environment modules.
  * bump package version.

OBS-URL: https://build.opensuse.org/request/show/650047
OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=35
2018-11-18 21:36:28 +00:00
Dominique Leuenberger
ff797d6d63 Accepting request 644959 from science:HPC
- Bump version (forwarded request 644958 from eeich)

OBS-URL: https://build.opensuse.org/request/show/644959
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suse-hpc?expand=0&rev=13
2018-11-13 15:36:11 +00:00
78f0744332 Accepting request 644958 from home:eeich:factory_staging
- Bump version

OBS-URL: https://build.opensuse.org/request/show/644958
OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=33
2018-10-26 20:23:12 +00:00
2431d90278 Accepting request 644956 from home:eeich:factory_staging
- Add %%hpc_cmake which wraps %%cmake from marcos.cmake.

OBS-URL: https://build.opensuse.org/request/show/644956
OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=32
2018-10-26 20:21:27 +00:00
7e4c94501e - macros: fix unexpanded macro in description of master package.
OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=31
2018-10-25 10:52:12 +00:00
Dominique Leuenberger
b4bde70e6d Accepting request 631603 from science:HPC
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/631603
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suse-hpc?expand=0&rev=12
2018-08-27 10:59:50 +00:00
0fbc287707 Accepting request 630405 from home:eeich:branches:science:HPC
- macros: %hpc_master_package: properly escape '\'

- macros:
  * Fix line endings
  * Replace %%compiler_family by %%hpc_compiler_family

OBS-URL: https://build.opensuse.org/request/show/630405
OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=29
2018-08-19 14:30:23 +00:00
Yuchen Lin
b089a231f3 Accepting request 617653 from science:HPC
- Improve test to be more general. (forwarded request 617652 from eeich)

OBS-URL: https://build.opensuse.org/request/show/617653
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suse-hpc?expand=0&rev=11
2018-06-20 13:31:24 +00:00
45b671e6c4 Accepting request 617652 from home:eeich:branches:science:HPC
- Improve test to be more general.

OBS-URL: https://build.opensuse.org/request/show/617652
OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=27
2018-06-19 07:07:13 +00:00
062bf1e349 Accepting request 617646 from home:eeich:branches:science:HPC
- Handle license file using %license where applicable.

OBS-URL: https://build.opensuse.org/request/show/617646
OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=26
2018-06-19 06:11:03 +00:00
8c3e75f434 - 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
2018-06-18 04:56:54 +00:00
872b283917 - Fix master package summary and description
-  Add support for different name than %name

OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=24
2018-06-16 19:49:12 +00:00
Dominique Leuenberger
3e38eedb5f Accepting request 586049 from science:HPC
- Append a newline to the shebang line prepended by the
  %hpc_shebang_prepend_list macro (boo#1084951). (forwarded request 586048 from eeich)

OBS-URL: https://build.opensuse.org/request/show/586049
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suse-hpc?expand=0&rev=10
2018-03-13 09:24:50 +00:00