Commit Graph

53 Commits

Author SHA256 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Dominique Leuenberger
fe4ad8af80 Accepting request 745385 from devel:languages:ocaml
- 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. Also, cmxs dependencies in main pkg are
  not covered by ocaml-find-requires.sh (bsc#1154874)
- 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
- SLE_12 has still no license macro, package as doc instead
- Use _smp_mflags instead of nproc for parallel build

OBS-URL: https://build.opensuse.org/request/show/745385
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ocaml-rpm-macros?expand=0&rev=3
2019-11-07 22:14:11 +00:00
9c9a6e4a1e used at runtime. Also, cmxs dependencies in main pkg are
not covered by ocaml-find-requires.sh (bsc#1154874)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=31
2019-11-05 09:30:50 +00:00
f6f0a71748 remove usage of _smp_mflags from runtest, #2838
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=30
2019-11-04 07:33:50 +00:00
7bad2438d0 - Use _smp_mflags instead of nproc for parallel build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=29
2019-11-03 18:06:32 +00:00
6acae0361b - SLE_12 has still no license macro, package as doc instead
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=28
2019-11-01 23:56:52 +00:00
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
Dominique Leuenberger
07f8616911 Accepting request 737404 from devel:languages:ocaml
- Package also COPYRIGHT, for labltk
- Package also Copyright, for dose3
- Package also *.cmo
- Package also *.so.owner
- Package also *.o
- Package also /etc/ld.so.conf.d
- Package also *.js

OBS-URL: https://build.opensuse.org/request/show/737404
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ocaml-rpm-macros?expand=0&rev=2
2019-10-14 12:52:35 +00:00
6245187703 - Package also *.js
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=25
2019-10-10 07:49:26 +00:00
e0a8ef2b87 fix
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=24
2019-10-10 07:00:04 +00:00
7110468d2c fix
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=23
2019-10-10 06:53:50 +00:00
523a87652d - Package also /etc/ld.so.conf.d
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=22
2019-10-10 06:48:18 +00:00
5e807c3ee5 - Package also Copyright, for dose3
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=21
2019-10-10 06:47:28 +00:00
f65f0d584c - Package also *.o
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=20
2019-10-09 18:15:45 +00:00
6ee6813552 20191009
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=19
2019-10-09 16:55:21 +00:00
37b75f9fa3 - Package also *.so.owner
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=18
2019-10-09 16:50:13 +00:00
828b8c785a - Package also COPYRIGHT, for labltk
- Package also *.cmo

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=17
2019-10-09 16:40:09 +00:00
Dominique Leuenberger
3f7e384274 Accepting request 735307 from devel:languages:ocaml
split ocaml-rpm-macros from ocaml.spec
trim changes file

OBS-URL: https://build.opensuse.org/request/show/735307
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ocaml-rpm-macros?expand=0&rev=1
2019-10-07 11:41:04 +00:00
20206860c2 do not expand rpm license string
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=15
2019-10-04 15:20:46 +00:00
d21fed5b41 make sure unhandled is initialized
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=14
2019-10-04 15:15:59 +00:00
7ec55c009d add missing backslash
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=13
2019-10-04 15:01:33 +00:00
5803b7dc3e - Do not mark files as %config
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=12
2019-10-04 14:55:27 +00:00
936a867b8b - List unhandled files in ocaml_create_file_list macro
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=11
2019-10-04 14:54:46 +00:00
92be201226 escape
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=10
2019-10-04 08:29:49 +00:00
db95eefad0 escape list
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=9
2019-10-04 08:22:58 +00:00
170735f7c2 missing closing brace
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=8
2019-10-04 08:05:08 +00:00
5bb60ff8c8 - Automatically package known license files in main pkg
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=7
2019-10-04 08:02:30 +00:00
fb5f5dff8d - Use _rpmmacrodir
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=6
2019-10-04 07:57:21 +00:00
23b8004db0 _rpmmacrodir
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=5
2019-10-04 07:54:06 +00:00
fc123d0e38 - Move prefix/man to datadir/man to workaround bug in dune (#2670)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=4
2019-10-02 08:15:09 +00:00