- run OCaml rpm dependency generator only if both path and magic matches (rpm#1173)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=40
This commit is contained in:
parent
b048e2bb58
commit
67a46c7a1d
@ -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
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
||||
#
|
||||
|
||||
Name: ocaml-rpm-macros
|
||||
Version: 20200321
|
||||
Version: 20200412
|
||||
Release: 0
|
||||
Summary: RPM macros for building OCaml source packages
|
||||
License: GPL-2.0-only
|
||||
@ -70,6 +70,7 @@ tee %{buildroot}%{_rpmconfigdir}/fileattrs/z${tag}.attr <<_EOF_
|
||||
%__${tag}_requires %%{_rpmconfigdir}/${tag}.sh --requires
|
||||
%__${tag}_magic ^(ELF|Objective caml|OCaml) .*$
|
||||
%__${tag}_path .(cma|cmi|cmo|cmx|cmxa|cmxs)$
|
||||
%__${tag}_flags magic_and_path
|
||||
_EOF_
|
||||
#
|
||||
tee %{buildroot}%{_rpmconfigdir}/${tag}.sh < %{SOURCE0}
|
||||
|
Loading…
Reference in New Issue
Block a user