120 Commits

Author SHA256 Message Date
4f17409c83 - Use gcc7 in SLE12 because dune 3.17 requires a gcc which recognizes
-fdiagnostics-color=always (dune#11509)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml?expand=0&rev=235
2025-03-03 11:39:01 +00:00
a306b2edc8 - Require unversioned gcc package (bsc#1232663)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml?expand=0&rev=233
2025-02-07 14:07:41 +00:00
2f038d11ad - update to version 4.14.2
See included Changes for benefits and breaking changes

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml?expand=0&rev=231
2024-03-14 17:14:21 +00:00
5976cfbce3 Accepting request 1151366 from home:dimstar:rpm4.20:o
Prepare for RPM 4.20

OBS-URL: https://build.opensuse.org/request/show/1151366
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml?expand=0&rev=229
2024-02-27 11:04:32 +00:00
1cd2e1b6cc - update to version 4.14.1
See included Changes for benefits and breaking changes

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml?expand=0&rev=224
2023-01-02 15:22:22 +00:00
d7d07ac61b - remove directory= statements from ocamldoc and compiler-libs META files
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml?expand=0&rev=222
2022-07-08 09:31:50 +00:00
fdb5d1226a - update to version 4.14.0
See included Changes for benefits and breaking changes

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml?expand=0&rev=219
2022-04-05 06:47:26 +00:00
04e1440131 - update to version 4.13.1
See included Changes for benefits and breaking changes

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml?expand=0&rev=208
2021-10-04 15:13:14 +00:00
b333d27712 restore revision 204
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml?expand=0&rev=207
2021-10-04 15:09:24 +00:00
872637a714 OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml?expand=0&rev=205 2021-10-04 15:02:20 +00:00
51bb767bb8 - update to version 4.13.0
See included Changes for benefits and breaking changes
- remove ocaml-SIGSTKSZ.patch
- adjust ocaml-configure-Allow-user-defined-C-compiler-flags.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml?expand=0&rev=204
2021-09-25 00:37:44 +00:00
60b45d12f0 - update to version 4.12.1
See included Changes for benefits and breaking changes

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml?expand=0&rev=202
2021-09-24 08:58:53 +00:00
19148c9cb7 - Require versioned gcc package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml?expand=0&rev=198
2021-04-21 13:01:06 +00:00
c92582c511 - Remove ocaml_native_compiler conditional
build native target unconditionally

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml?expand=0&rev=197
2021-04-21 12:58:26 +00:00
827080d10e - update to version 4.12.0
See included Changes for benefits and breaking changes
- Add ocaml-SIGSTKSZ.patch (#10266)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml?expand=0&rev=196
2021-04-14 08:31:35 +00:00
13d3ae4d82 ocaml.changes
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml?expand=0&rev=194
2021-04-13 14:40:25 +00:00
d816d7bbee Accepting request 884988 from Archiving:unison:buildrequires
- Use bcond rpm_license_macro for license macro in filelist
- Add suse prefix to ocaml_native_compiler to avoid conflict

OBS-URL: https://build.opensuse.org/request/show/884988
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml?expand=0&rev=193
2021-04-13 13:37:36 +00:00
ca08e5e129 - update to version 4.11.2
See included Changes for benefits and breaking changes

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml?expand=0&rev=191
2021-02-26 14:45:07 +00:00
6cfcfd099d Accepting request 850943 from home:marxin:branches:devel:languages:ocaml
- Rename rpmlintrc to ocaml-rpmlintrc
  (boo#1179051).

OBS-URL: https://build.opensuse.org/request/show/850943
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml?expand=0&rev=189
2020-11-26 09:26:48 +00:00
a8162a2f2b - update to version 4.11.1
See included Changes for benefits and breaking changes

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml?expand=0&rev=187
2020-09-01 12:56:50 +00:00
313388ae04 - update to version 4.11.0
See included Changes for benefits and breaking changes

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml?expand=0&rev=185
2020-08-21 17:08:05 +00:00
efa37c63f6 Use helper 'suseocaml' in addition to 'ocaml' to avoid
filename conflicts with rpm-build.rpm (bsc#1154874)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml?expand=0&rev=183
2020-05-15 06:09:30 +00:00
b6ce1edb64 - The filename for rpm *.attr files and the tag used within these
files must match. Otherwise rpm will not execute the helper scripts.
  Use tag 'suseocaml' instead of 'ocaml' to avoid filename conflicts
  with rpm-build.rpm (bsc#1154874)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml?expand=0&rev=182
2020-05-14 09:42:01 +00:00
f1f87fbae1 - Fix floating point expectation on arm32 hardfloat targets
by overriding rpm host triple with config.guess output (ocaml#9431)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml?expand=0&rev=180
2020-04-12 21:10:17 +00:00
d8cd6096f9 - Fix floating point expectation with ocaml-armv7hl-gnueabihf.patch
- Fix typo in ocaml-configure-Allow-user-defined-C-compiler-flags.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml?expand=0&rev=179
2020-04-08 16:52:03 +00:00
b8a391f0d1 - Disable parallel build to get reproducible cma archives (issue#9307)
- update to version 4.10.0, with _service file (bsc#1149330)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml?expand=0&rev=177
2020-03-21 14:49:46 +00:00
40d5d480a8 - update version 4.10.0, with _service file
See included Changes for benefits and breaking changes
- Drop x11 sub package, moved to ocaml-graphics
- Adjust ocaml-configure-Allow-user-defined-C-compiler-flags.patch
- Adjust rpmlintrc
- Remove obsolete ocaml-3.08.3-gcc4.patch
- Remove obsolete ocaml-4.05.0-CVE-2018-9838.patch
- Remove obsolete ocaml-4.05.0.tar.xz
- Remove obsolete ocaml-Fixes-for-out-of-range-Ialloc.patch
- Remove obsolete ocaml-In-caml_executable_name-wrong-test-on-the-return-cod.patch
- Remove obsolete ocaml-MPR-7591-frametable-not-8-aligned-on-x86-64-port.patch
- Remove obsolete ocaml-assert.patch
- Remove obsolete ocaml-byterun-do-not-alias-function-arguments-to-sigprocma.patch
- Remove obsolete ocaml-fix_aarch64_build.patch
- Remove obsolete ocamldoc-man-th.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml?expand=0&rev=175
2020-02-29 21:25:14 +00:00
7bc3c5e3b9 - Record absolute path to gcc, cmdline is part of ocamlx() hash
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml?expand=0&rev=173
2020-02-25 10:58:43 +00:00
c01c4adda6 - Remove backup files from ocaml-fix_aarch64_build.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml?expand=0&rev=172
2020-02-21 14:05:39 +00:00
f44982b4e8 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml?expand=0&rev=170
2020-02-21 12:33:32 +00:00
768007b1d5 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml?expand=0&rev=169
2020-02-21 10:50:00 +00:00
ccf4fb7317 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml?expand=0&rev=167
2019-11-25 14:38:07 +00:00
0a7876ec25 revert changes for bsc#1156934, needs more work
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml?expand=0&rev=166
2019-11-18 16:13:13 +00:00
ae985e488a - move topdirs.cmi/cmt/cmti from runtime to compiler-libs-devel
so that runtime does not depend on a devel pkg (bsc#1156934)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml?expand=0&rev=163
2019-11-18 13:39:34 +00:00
21119ab04c - 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
- Remove usage of USE_INTERP_RESULT, nothing seems to check for it
- Use results from pkgconfig(x11) for CFLAGS/LDFLAGS
- Use make_build/make_install, no parallel build yet
- Remove BYTECCRPATH, NATIVECCRPATH and MKSHAREDLIBRPATH
- Remove dead code which checked for libasmrun_pic.a (#7595)
- Remove code that populated compiler-libs

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml?expand=0&rev=160
2019-11-01 22:56:15 +00:00
8df37ed35a - moved ocaml-rpm-macros from ocaml.spec to separate pkg
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml?expand=0&rev=158
2019-09-30 14:32:41 +00:00
f8c1c4a367 - Pass --verbose to dune commands
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml?expand=0&rev=153
2019-09-29 08:20:26 +00:00
0fdd687a5a - Optional extra args for dune commands
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml?expand=0&rev=151
2019-09-27 15:41:49 +00:00
9f3e07e390 - Provide a ocaml_create_file_list macro
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml?expand=0&rev=149
2019-09-26 16:54:00 +00:00
e35cf78cf7 - Show external-lib-deps also for dune runtest
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml?expand=0&rev=148
2019-09-26 13:07:58 +00:00
47f63eb176 - Increase ulimit -s on ppc64 in dune macros
Required for at least ocaml-camomile

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml?expand=0&rev=147
2019-09-26 12:52:35 +00:00
1ed06b584e - Backport patch to fix build on aarch64: 'AArch64 GOT fixed'
(bsc#1151745)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml?expand=0&rev=146
2019-09-25 08:46:21 +00:00
dac5ee4414 - Provide various macros to unify dune $cmd usage
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml?expand=0&rev=145
2019-09-24 16:57:53 +00:00
dfae651203 - Disable LTO for all packages that use ocaml_preserve_bytecode
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml?expand=0&rev=144
2019-09-23 21:47:29 +00:00
92a653ca1a Accepting request 727293 from home:StefanBruens:branches:devel:languages:ocaml
No longer build emacs mode in main package, see
https://build.opensuse.org/request/show/727292

OBS-URL: https://build.opensuse.org/request/show/727293
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml?expand=0&rev=142
2019-09-02 08:05:51 +00:00
509a557dc4 - Move /etc/rpm/macros.ocaml to /usr/lib/rpm/macros.d/macros.ocaml
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml?expand=0&rev=139
2019-08-22 11:17:32 +00:00
694659f75e - Disable LTO (bsc#1133269)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml?expand=0&rev=136
2019-04-24 18:28:08 +00:00
b38218044f Accepting request 620228 from home:Guillaume_G:branches:Application:Geo
- Tag license files with %license, not %doc
- Backport patch to fix build on aarch64: 'AArch64 GOT fixed' https://github.com/ocaml/ocaml/pull/1330:
  * ocaml-fix_aarch64_build.patch

OBS-URL: https://build.opensuse.org/request/show/620228
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml?expand=0&rev=134
2018-07-02 14:03:02 +00:00
4c7f23f069 Accepting request 601846 from home:kstreitova:branches:devel:languages:ocaml
- update ocaml-4.05.0-CVE-2018-9838.patch that causes "undefined
  reference to `caml_umul_overflow`" build failure. Replace this
  function that is not available in ocaml 4.05 (added in ocaml
  4.06) with the present caml_ba_multov() that is basically the
  same [bnc#1088591] [CVE-2018-9838]

OBS-URL: https://build.opensuse.org/request/show/601846
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml?expand=0&rev=132
2018-04-27 08:43:28 +00:00
ac569f7064 Accepting request 596924 from home:kstreitova:branches:devel:languages:ocaml
- add ocaml-4.05.0-CVE-2018-9838.patch to fix integer overflows
  when unmarshaling a bigarray. Malicious or corrupted marshaled
  data can result in a bigarray with impossibly large dimensions
  that cause overflow when computing the in-memory size of the
  bigarray. Disaster ensues when the data is read in a too small
  memory area [bnc#1088591] [CVE-2018-9838]

OBS-URL: https://build.opensuse.org/request/show/596924
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml?expand=0&rev=130
2018-04-16 16:46:10 +00:00