- Handle plain ^ and + as values for directory= in findlib META files

They stand for the OCaml standard library directory.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=74
This commit is contained in:
Olaf Hering 2022-07-08 06:55:48 +00:00 committed by Git OBS Bridge
parent 7b158bafe9
commit a8442223dc
3 changed files with 11 additions and 2 deletions

View File

@ -56,7 +56,10 @@ do_work() {
if ( a[2] ) {
candidate = a[2];
if(dbg) printf "dir: %s %s\n", x, candidate > "/dev/stderr" ;
if (candidate ~ /^\^/) {
if (candidate == "^") {
next
}
if (candidate == "+") {
next
}
if (candidate ~ /^\+/) {

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jul 7 07:07:07 UTC 2022 - ohering@suse.de
- Handle plain ^ and + as values for directory= in findlib META files
They stand for the OCaml standard library directory.
-------------------------------------------------------------------
Sat Apr 9 12:34:56 UTC 2022 - ohering@suse.de

View File

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