Commit Graph

82 Commits

Author SHA256 Message Date
Ana Guerrero
6b6984a21c Accepting request 1124189 from devel:languages:ocaml
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1124189
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ocaml-rpm-macros?expand=0&rev=21
2023-11-09 20:34:27 +00:00
Olaf Hering
1ab151e195 20231101
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=82
2023-11-01 07:24:13 +00:00
Olaf Hering
6bd5ad9d4e Accepting request 1121507 from home:aaronpuchert:branches:devel:languages:ocaml
- Increase stack size limit for riscv64 like for ppc64(le).

OBS-URL: https://build.opensuse.org/request/show/1121507
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=81
2023-11-01 07:23:38 +00:00
Dominique Leuenberger
efdf1bd314 Accepting request 1062399 from devel:languages:ocaml
Allow variables in smp_mflags to be interpolated
  for https://github.com/rpm-software-management/rpm/issues/2343 (forwarded request 1061850 from bmwiedemann)

OBS-URL: https://build.opensuse.org/request/show/1062399
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ocaml-rpm-macros?expand=0&rev=20
2023-02-02 17:07:26 +00:00
Olaf Hering
e77390ff55 Accepting request 1061850 from home:bmwiedemann:reproducible:test
Allow variables in smp_mflags to be interpolated
  for https://github.com/rpm-software-management/rpm/issues/2343

OBS-URL: https://build.opensuse.org/request/show/1061850
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=79
2023-02-01 08:21:00 +00:00
Dominique Leuenberger
fdebc2de70 Accepting request 1046306 from devel:languages:ocaml
- Remove stale references to ocaml_make_testsuite

OBS-URL: https://build.opensuse.org/request/show/1046306
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ocaml-rpm-macros?expand=0&rev=19
2023-01-04 16:50:58 +00:00
Olaf Hering
988467c68b - Remove stale references to ocaml_make_testsuite
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=77
2023-01-02 20:08:01 +00:00
Richard Brown
345a4005c2 Accepting request 989365 from devel:languages:ocaml
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/989365
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ocaml-rpm-macros?expand=0&rev=18
2022-07-21 09:32:45 +00:00
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
Dominique Leuenberger
304684fe34 Accepting request 968054 from devel:languages:ocaml
- remove unused ocaml_dune_bootstrap_directory
- move all invocations of dune from ocaml_dune_setup to ocaml_dune_build
- process content of ocaml_standard_library only if it exists in buildroot

OBS-URL: https://build.opensuse.org/request/show/968054
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ocaml-rpm-macros?expand=0&rev=17
2022-04-11 22:13:53 +00:00
Olaf Hering
7b158bafe9 - remove unused ocaml_dune_bootstrap_directory
- move all invocations of dune from ocaml_dune_setup to ocaml_dune_build
- process content of ocaml_standard_library only if it exists in buildroot

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=72
2022-04-09 19:43:24 +00:00
Dominique Leuenberger
0e26d70df4 Accepting request 964736 from devel:languages:ocaml
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/964736
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ocaml-rpm-macros?expand=0&rev=16
2022-03-28 14:58:47 +00:00
Olaf Hering
dbbe35cf71 2022
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=70
2022-03-17 22:23:40 +00:00
Olaf Hering
2ddfc738f8 - remove braces from rpm macros
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=69
2022-03-17 22:23:24 +00:00
Olaf Hering
cbbf3354ad - define ocaml_dune_bootstrap_directory for dune3
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=68
2022-03-17 22:21:16 +00:00
Olaf Hering
8e459b575b - remove usage of external-lib-deps for dune3
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=67
2022-03-17 22:19:50 +00:00
Dominique Leuenberger
4efda4fa7d Accepting request 928950 from devel:languages:ocaml
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/928950
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ocaml-rpm-macros?expand=0&rev=15
2021-11-06 17:13:15 +00:00
Olaf Hering
25116e28dc change baserev from f31ae615e9e9acbfcd84c10cf00a7268 to 68e6f30502940dcbefff8532cc8bc873
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=65
2021-10-27 07:44:40 +00:00
Dominique Leuenberger
f599f8319f Accepting request 921281 from devel:languages:ocaml
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/921281
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ocaml-rpm-macros?expand=0&rev=14
2021-09-28 17:16:18 +00:00
Olaf Hering
cac384f384 - Rename a single opam file to $dune_release_pkgs.opam
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=62
2021-09-17 09:47:17 +00:00
Dominique Leuenberger
9f61a9726f Accepting request 887313 from devel:languages:ocaml
- Remove ocaml_native_compiler flag, assume native target
  This flag puts too much burden on pkgs that use ocaml, but build
  with their buildsystem instead of using dune

- Use bcond suse_ocaml_use_rpm_license_macro for license in filelist
- Add suse prefix to ocaml_native_compiler to avoid conflict
- Create Provides/Requires only for rpm variants which understand fileattrs
- Fix syntax for chmod of .cmxs
- Add conditional to disable debug_package macro when building with broken rpm variants

OBS-URL: https://build.opensuse.org/request/show/887313
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ocaml-rpm-macros?expand=0&rev=13
2021-04-22 16:03:29 +00:00
Olaf Hering
9af80c8807 remove the bytecode conditionals
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=60
2021-04-21 13:16:54 +00:00
Olaf Hering
4b6c153b6e - Remove ocaml_native_compiler flag, assume native target
This flag puts too much burden on pkgs that use ocaml, but build
  with their buildsystem instead of using dune

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=59
2021-04-21 12:50:50 +00:00
Olaf Hering
0a75c7a1c5 -__debug_install_post
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=58
2021-04-15 09:26:48 +00:00
Olaf Hering
483ffe0475 ocaml-rpm-macros.changes
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=57
2021-04-13 14:35:37 +00:00
Olaf Hering
b137df16ce Accepting request 884983 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/884983
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=56
2021-04-13 13:37:32 +00:00
Dominique Leuenberger
30f32a2c2a Accepting request 870497 from devel:languages:ocaml
- Fix regex in file list generator to really match dot and extension

OBS-URL: https://build.opensuse.org/request/show/870497
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ocaml-rpm-macros?expand=0&rev=12
2021-02-15 22:10:24 +00:00
Olaf Hering
4c949ea7cb - Fix regex in file list generator to really match dot and extension
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=54
2021-02-09 09:52:32 +00:00
Dominique Leuenberger
d490d8090f 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
2021-02-01 13:41:45 +00:00
Olaf Hering
42e3431a81 remove previous ocaml_dune_test
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=52
2021-01-28 09:17:01 +00:00
Olaf Hering
f46630aa30 - Run dune installed-libraries also in ocaml_dune_test
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=51
2021-01-28 00:06:41 +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
Dominique Leuenberger
7296b4eee7 Accepting request 864001 from devel:languages:ocaml
- Adjust injection of version into findlib META files
  A file VERSION is not handled anymore by dune since 1.11.
  Remove version: from *.opam files, inject version into dune-project

OBS-URL: https://build.opensuse.org/request/show/864001
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ocaml-rpm-macros?expand=0&rev=10
2021-01-19 15:00:49 +00:00
Olaf Hering
63ac6d61e1 - Adjust injection of version into findlib META files
A file VERSION is not handled anymore by dune since 1.11.
  Remove version: from *.opam files, inject version into dune-project

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=48
2021-01-15 10:00:01 +00:00
Dominique Leuenberger
5c25f0f83c Accepting request 828815 from devel:languages:ocaml
- Package also *.v, for Coq
- Package changelog files
- Enable native riscv64

OBS-URL: https://build.opensuse.org/request/show/828815
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ocaml-rpm-macros?expand=0&rev=9
2020-08-28 21:45:04 +00:00
Olaf Hering
33bd43c2c6 - Enable native riscv64
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=46
2020-08-23 17:34:24 +00:00
Olaf Hering
49a6a32fff - Package also *.v, for Coq
- Package changelog files

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=45
2020-08-21 17:06:21 +00:00
Dominique Leuenberger
86a49ecc3a Accepting request 805574 from devel:languages:ocaml
- 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', rename zocaml.attr to suseocaml.attr to
  avoid filename conflicts with rpm-build.rpm (bsc#1154874)
- Rename also ocamlfind to suseocamlfind
- Escape plain % chars

OBS-URL: https://build.opensuse.org/request/show/805574
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ocaml-rpm-macros?expand=0&rev=8
2020-05-20 16:35:35 +00:00
Olaf Hering
819290d21a Use tag 'suseocaml', rename zocaml.attr to suseocaml.attr to
avoid filename conflicts with rpm-build.rpm (bsc#1154874)
- Rename also ocamlfind to suseocamlfind

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=43
2020-05-14 09:40:00 +00:00
Olaf Hering
5b8baeb9af - The filename for rpm *.attr files and the tag used within these
files must match. Otherwise rpm will not execute the helper scripts.
  Stick with tag 'ocaml', rename zocaml.attr to ocaml.attr. (bsc#1154874)
- Escape plain % chars

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=42
2020-05-14 09:02:05 +00:00
Dominique Leuenberger
6e347e4e59 Accepting request 793517 from devel:languages:ocaml
- run OCaml rpm dependency generator only if both path and magic matches (rpm#1173)

OBS-URL: https://build.opensuse.org/request/show/793517
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ocaml-rpm-macros?expand=0&rev=7
2020-04-15 17:52:47 +00:00
Olaf Hering
67a46c7a1d - run OCaml rpm dependency generator only if both path and magic matches (rpm#1173)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=40
2020-04-12 21:10:05 +00:00
Dominique Leuenberger
60c915ec69 Accepting request 787222 from devel:languages:ocaml
- Disable parallel build for OCaml 4.08, 4.09 and 4.10
  to get reproducible cma archives (issue#9307)

OBS-URL: https://build.opensuse.org/request/show/787222
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ocaml-rpm-macros?expand=0&rev=6
2020-03-24 21:31:33 +00:00
Olaf Hering
b048e2bb58 - Disable parallel build for OCaml 4.08, 4.09 and 4.10
to get reproducible cma archives (issue#9307)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=38
2020-03-21 14:46:30 +00:00
Dominique Leuenberger
f88bd505cc Accepting request 778683 from devel:languages:ocaml
- 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
- Install also COPYRIGHT.txt as license, needed for some JaneStreet pkgs

OBS-URL: https://build.opensuse.org/request/show/778683
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ocaml-rpm-macros?expand=0&rev=5
2020-02-26 14:01:43 +00:00
Olaf Hering
1487491b46 - Install also COPYRIGHT.txt as license, needed for some JaneStreet pkgs
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=36
2020-02-24 07:21:45 +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
Dominique Leuenberger
4f5ea10cc6 Accepting request 750767 from devel:languages:ocaml
- Install also LGPL as license, needed by ocaml-lablgtk2

OBS-URL: https://build.opensuse.org/request/show/750767
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ocaml-rpm-macros?expand=0&rev=4
2019-11-30 09:35:30 +00:00
Olaf Hering
db521a9577 - Install also LGPL as license, needed by ocaml-lablgtk2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=33
2019-11-25 14:34:09 +00:00