summaryrefslogtreecommitdiff
path: root/fileattrs/ocaml.attr
Commit message (Collapse)AuthorAgeFilesLines
* Update OCaml requires/provides to ignore cmxsOlaf Hering2021-11-101-2/+2
| | | | | | | | | | | | | | OCaml cmxs files are static libraries, which can be loaded at runtime via the Dynlink module. They apparently do not provide any useful runtime dependency information to be stored into the packages Provides/Requires list. Therefore just skip them. Adjust attr, remove extension and ELF magic Adjust ocamldeps, do nothing with cmxs files. Fixes: a6fe37c39b39acbcbd014dd1e6d5653ff84254a1 Signed-off-by: Olaf Hering <olaf@aepfle.de>
* Fix regression causing all ELF files classified as OCamlPanu Matilainen2020-04-091-0/+1
| | | | | | | Commit a6fe37c39b39acbcbd014dd1e6d5653ff84254a1 causes OCaml generators to execute on all ELF files due to missing "magic_and_path" flag. Fixes: #1173
* update OCaml requires/provides to cover also cmxOlaf Hering2020-03-101-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | Dependencies between OCaml files containing native code are also tracked by hashes, just like their bytecode counter parts. OCaml native code files end with cmx, the relevent info is in cmx, cmxa and cmxs files. Unlike all other OCaml files, cmxs files have ELF format. OCaml has two variants of dependency tracking: Interfaces, which are already tracked via "ocaml(MODULE) = HASH" They are included in cmi, cma, cmo, cmx, cmxa and cmxs files. Implementations, which are now tracked via "ocamlx(MODULE) = HASH" They are included in cmx, cmxa and cmxs files. Just like Interfaces can be excluded from the dependency list with the option -i MODULE, Implementations are excluded with the option -x MODULE. Previously the final rpm package also got an extra dependency to the used ocaml runtime version. This is not strictly required because the hashes are unique. Therefore this dependency is no longer created. The option -c, which excluded this dependency, is still recognized. Fixes #913 Signed-off-by: Olaf Hering <olaf@aepfle.de>
* Adjust OCaml detection rule for libmagic 5.04 -> 5.05 string changePanu Matilainen2011-02-061-1/+1
|
* Require file attribute config to have .attr suffixPanu Matilainen2010-10-051-0/+3
- Allows for more precise globbing, avoiding potential issues from leftover / accidentally placed files in the fileattrs directory.