Commit Graph

44 Commits

Author SHA256 Message Date
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
2a39b9aab1 trim changes file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=3
2019-10-01 07:37:01 +00:00
ddee46a720 add missing backslash to cover *.cmx again
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=2
2019-09-30 14:25:24 +00:00
e7f0e71c17 - Increase ulimit -s on ppc64 in dune macros
Required for at least ocaml-camomile
- Show external-lib-deps also for dune runtest
- Provide a ocaml_create_file_list macro
- Optional extra args for dune commands
- Pass --verbose to dune commands

- moved ocaml-rpm-macros from ocaml.spec to separate pkg

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=1
2019-09-30 14:23:43 +00:00