1
0

Accepting request 867714 from devel:languages:ocaml

- Adjust parser of ocamfind() requires
  Take negative predicates in requires() into account, and ignore them.
  This is supposed to avoid dependency cycles due to excessive
  list of dependencies.

OBS-URL: https://build.opensuse.org/request/show/867714
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ocaml-rpm-macros?expand=0&rev=11
This commit is contained in:
Dominique Leuenberger 2021-02-01 13:41:45 +00:00 committed by Git OBS Bridge
commit d490d8090f
3 changed files with 10 additions and 2 deletions

View File

@ -87,7 +87,7 @@ do_work() {
next
}
/^[[:blank:]]*requires(|\([^)]+\))[[:blank:]]*(+=|=)/ {
/^[[:blank:]]*requires(|\([^-][^)]+\))[[:blank:]]*(+=|=)/ {
if(dbg) printf "GOT: %s\n", $0 > "/dev/stderr" ;
done=0
requires_line = ""

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Jan 21 21:21:21 UTC 2021 - ohering@suse.de
- Adjust parser of ocamfind() requires
Take negative predicates in requires() into account, and ignore them.
This is supposed to avoid dependency cycles due to excessive
list of dependencies.
-------------------------------------------------------------------
Thu Jan 14 14:14:14 UTC 2021 - ohering@suse.de

View File

@ -17,7 +17,7 @@
Name: ocaml-rpm-macros
Version: 20210114
Version: 20210121
Release: 0
Summary: RPM macros for building OCaml source packages
License: GPL-2.0-only