Accepting request 1062399 from devel:languages:ocaml

Allow variables in smp_mflags to be interpolated
  for https://github.com/rpm-software-management/rpm/issues/2343 (forwarded request 1061850 from bmwiedemann)

OBS-URL: https://build.opensuse.org/request/show/1062399
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ocaml-rpm-macros?expand=0&rev=20
This commit is contained in:
Dominique Leuenberger 2023-02-02 17:07:26 +00:00 committed by Git OBS Bridge
commit efdf1bd314
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Jan 29 08:34:55 UTC 2023 - Bernhard Wiedemann <bwiedemann@suse.com>
- Allow variables in smp_mflags to be interpolated
for https://github.com/rpm-software-management/rpm/issues/2343
-------------------------------------------------------------------
Sun Jan 1 01:01:01 UTC 2023 - ohering@suse.de

View File

@ -461,7 +461,7 @@ ocaml setup.ml -configure \\\
dune installed-libraries $OCAML_DUNE_INSTALLED_LIBRARIES_ARGS ; \
if test -z "${_smp_mflags}" ;\
then \
_smp_mflags='%%{?_smp_mflags}' ;\
_smp_mflags="%%{?_smp_mflags}" ;\
case "$(ocamlc --version)" in \\\
4.08*) _smp_mflags='-j1' ;;\\\
4.09*) _smp_mflags='-j1' ;;\\\
@ -480,7 +480,7 @@ ocaml setup.ml -configure \\\
%endif
if test -z "${_smp_mflags}" ;\
then \
_smp_mflags='%%{?_smp_mflags}' ;\
_smp_mflags="%%{?_smp_mflags}" ;\
case "$(ocamlc --version)" in \\\
4.08*) _smp_mflags='-j1' ;;\\\
4.09*) _smp_mflags='-j1' ;;\\\