Accepting request 793517 from devel:languages:ocaml
- run OCaml rpm dependency generator only if both path and magic matches (rpm#1173) OBS-URL: https://build.opensuse.org/request/show/793517 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ocaml-rpm-macros?expand=0&rev=7
This commit is contained in:
commit
6e347e4e59
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Apr 12 12:12:12 UTC 2020 - ohering@suse.de
|
||||||
|
|
||||||
|
- run OCaml rpm dependency generator only if both path and magic matches (rpm#1173)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Mar 21 12:34:56 UTC 2020 - ohering@suse.de
|
Sat Mar 21 12:34:56 UTC 2020 - ohering@suse.de
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
Name: ocaml-rpm-macros
|
Name: ocaml-rpm-macros
|
||||||
Version: 20200321
|
Version: 20200412
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: RPM macros for building OCaml source packages
|
Summary: RPM macros for building OCaml source packages
|
||||||
License: GPL-2.0-only
|
License: GPL-2.0-only
|
||||||
@ -70,6 +70,7 @@ tee %{buildroot}%{_rpmconfigdir}/fileattrs/z${tag}.attr <<_EOF_
|
|||||||
%__${tag}_requires %%{_rpmconfigdir}/${tag}.sh --requires
|
%__${tag}_requires %%{_rpmconfigdir}/${tag}.sh --requires
|
||||||
%__${tag}_magic ^(ELF|Objective caml|OCaml) .*$
|
%__${tag}_magic ^(ELF|Objective caml|OCaml) .*$
|
||||||
%__${tag}_path .(cma|cmi|cmo|cmx|cmxa|cmxs)$
|
%__${tag}_path .(cma|cmi|cmo|cmx|cmxa|cmxs)$
|
||||||
|
%__${tag}_flags magic_and_path
|
||||||
_EOF_
|
_EOF_
|
||||||
#
|
#
|
||||||
tee %{buildroot}%{_rpmconfigdir}/${tag}.sh < %{SOURCE0}
|
tee %{buildroot}%{_rpmconfigdir}/${tag}.sh < %{SOURCE0}
|
||||||
|
Loading…
Reference in New Issue
Block a user