Commit Graph

5 Commits

Author SHA256 Message Date
Olaf Hering
796cf7f3e5 restore ^something rule
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=75
2022-07-08 08:29:49 +00:00
Olaf Hering
a8442223dc - 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
2022-07-08 06:55:48 +00:00
Olaf Hering
6267059f33 - 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/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=50
2021-01-27 19:24:48 +00:00
Olaf Hering
44cfad1afb - Add ocaml-ocaml.rpm.prov_req.attr.sh
New script for rpm Provides/Requires, replacement for rpm
  built-in ocaml(NAME)=hash, which covers bytecode and interfaces
  Now it covers also native code via ocamlx(NAME)=HASH (bsc#1154874)
- Update the filelist generator
  Use awk to match directories in ocamls built-in ld.conf
  C stublibs in default locations do not need a ld.so.conf entry
  Remaining ld.so.conf files for stublibs go to the devel package
- Disable debug in ocamlfind() Provides/Requires generator
  Update META parser to handle multiline statements and ppx
- Provide a ocaml_standard_library macro
- Explicitly preserve debuginfo in .cmxs, already enforced by dune

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=35
2020-02-21 10:50:25 +00:00
Olaf Hering
8fc5a9e55c - Moved ocaml-findlib.rpm.prov_req.attr.sh from ocaml to provide
ocamlfind() in ocaml itself
- Handle license separately because sed w truncates output
- Document individual file extensions
- Move cmxs and so files to devel packages because they are not
  used at runtime
- Set VERSION unconditionally for each patch, sometimes dune picks it up
- Pass --for-release-of-packages to dune via dune_release_pkgs=
- Print potential BuildRequires during build
- Package sml for camlp5

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=27
2019-11-01 22:56:29 +00:00