Revisions of ocaml

Jiri Srain's avatar Jiri Srain (jsrain) committed (revision 3)
- The filename for rpm *.attr files and the tag used within these
  files must match. Otherwise rpm will not execute the helper scripts.
  Use helper 'suseocaml' in addition to 'ocaml' to avoid
  filename conflicts with rpm-build.rpm (bsc#1154874)
Gustavo Yokoyama Ribeiro's avatar Gustavo Yokoyama Ribeiro (gyribeiro) committed (revision 2)
- Require current ocaml-rpm-macros
- Update options for ocaml() Provides/Requires to specify also
  OCAMLLIB, which is required for ocamlobjinfo and cmx (bsc#1154874)
- Remove disabling of _lto_cflags, RPM_OPT_FLAGS are not used
- Use ocaml_standard_library macro instead of _libdir/ocaml
- Actually make use of ocaml-configure-Allow-user-defined-C-compiler-flags.patch
  and use '-Werror=implicit-function-declaration -Werror=return-type'
  in built-in CFLAGS for libraries and applications.
- Add ocaml-assert.patch, backport from 4.06, found by new CFLAGS
- Add a few desirable patches from 4.05 branch:
  ocaml-Fixes-for-out-of-range-Ialloc.patch
  ocaml-In-caml_executable_name-wrong-test-on-the-return-cod.patch
  ocaml-MPR-7591-frametable-not-8-aligned-on-x86-64-port.patch
  ocaml-byterun-do-not-alias-function-arguments-to-sigprocma.patch
- Remove backup files from ocaml-fix_aarch64_build.patch
- Record absolute path to gcc, cmdline is part of ocamlx() hash
- Package a few more directories which belong only to this variant of OCaml

- move topdirs.cmi/cmt/cmti from runtime to compiler-libs-devel
  so that runtime does not depend on a devel pkg (bsc#1156934)
- split place for META files, some go to ocaml, some to compiler-libs-devel
- move ncurses-devel requires to ocaml, it is used by BYTECCLIBS
- initialize bcond ocaml_make_testsuite

- Use ocaml-rpm-macros to decide about native or bytecode build
- Move ocaml-findlib.rpm.prov_req.attr.sh to ocaml-rpm-macros
- Provide META files for ocamlfind() provides, which are now
  created via ocaml-rpm-macros
- Provide baseversion in ocaml(compiler)/ocaml(ocaml.opt)
- Preserve fomit-frame-pointer again on ix86
Gustavo Yokoyama Ribeiro's avatar Gustavo Yokoyama Ribeiro (gyribeiro) committed (revision 1)
initialize package
Displaying all 3 revisions
openSUSE Build Service is sponsored by