<p>Dependencies between OCaml files containing native code are also tracked<br>
by hashes, just like their bytecode counter parts.</p>
<p>OCaml native code files end with cmx, the relevent info is in cmx, cmxa<br>
and cmxs files. Unlike all other OCaml files, cmxs files have ELF format.</p>
<p>OCaml has two variants of dependency tracking:<br>
Interfaces, which are already tracked via "ocaml(MODULE) = HASH"<br>
They are included in cmi, cma, cmo, cmx, cmxa and cmxs files.</p>
<p>Implementations, which are now tracked via "ocamlx(MODULE) = HASH"<br>
They are included in cmx, cmxa and cmxs files.</p>
<p>Just like Interfaces can be excluded from the dependency list with the<br>
option -i MODULE, Implementations are excluded with the option -x MODULE.</p>
<p>Previously the final rpm package also got an extra dependency to the<br>
used ocaml runtime version. This is not strictly required because the<br>
hashes are unique. Therefore this dependency is no longer created. The<br>
option -c, which excluded this dependency, is still recognized.</p>
<p><span class="issue-keyword tooltipped tooltipped-se" aria-label="This pull request closes issue #913.">Fixes</span> <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="511357243" data-permission-text="Issue title is private" data-url="https://github.com/rpm-software-management/rpm/issues/913" data-hovercard-type="issue" data-hovercard-url="/rpm-software-management/rpm/issues/913/hovercard" href="https://github.com/rpm-software-management/rpm/issues/913">#913</a></p>
<p>Signed-off-by: Olaf Hering <a href="mailto:olaf@aepfle.de">olaf@aepfle.de</a></p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/rpm-software-management/rpm/pull/1070'>https://github.com/rpm-software-management/rpm/pull/1070</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>update OCaml requires/provides to cover also cmx</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/rpm-software-management/rpm/pull/1070/files#diff-0">fileattrs/ocaml.attr</a>
    (7)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/rpm-software-management/rpm/pull/1070/files#diff-1">scripts/Makefile.am</a>
    (4)
  </li>
  <li>
    <strong>D</strong>
    <a href="https://github.com/rpm-software-management/rpm/pull/1070/files#diff-2">scripts/ocaml-find-provides.sh</a>
    (56)
  </li>
  <li>
    <strong>D</strong>
    <a href="https://github.com/rpm-software-management/rpm/pull/1070/files#diff-3">scripts/ocaml-find-requires.sh</a>
    (68)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/rpm-software-management/rpm/pull/1070/files#diff-4">scripts/ocamldeps.sh</a>
    (243)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/rpm-software-management/rpm/pull/1070.patch'>https://github.com/rpm-software-management/rpm/pull/1070.patch</a></li>
  <li><a href='https://github.com/rpm-software-management/rpm/pull/1070.diff'>https://github.com/rpm-software-management/rpm/pull/1070.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/rpm-software-management/rpm/pull/1070?email_source=notifications&email_token=ADLPZU6WHMJ34LBMT4Q6Q43RC2KCTA5CNFSM4KVH3HWKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4INSCSNA">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ADLPZU7LAETKQLO5IKQ5CV3RC2KCTANCNFSM4KVH3HWA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ADLPZU65BNP6PLUOJDT4YSTRC2KCTA5CNFSM4KVH3HWKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4INSCSNA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/rpm-software-management/rpm/pull/1070?email_source=notifications\u0026email_token=ADLPZU6WHMJ34LBMT4Q6Q43RC2KCTA5CNFSM4KVH3HWKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4INSCSNA",
"url": "https://github.com/rpm-software-management/rpm/pull/1070?email_source=notifications\u0026email_token=ADLPZU6WHMJ34LBMT4Q6Q43RC2KCTA5CNFSM4KVH3HWKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4INSCSNA",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>