<p>On Jul 1, 2013 2:43 AM, &quot;Vít Ondruch&quot; &lt;<a href="mailto:vondruch@redhat.com">vondruch@redhat.com</a>&gt; wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; I recently did review or rubygem-gssapi [1], which is FFI wrapper above libgssapi_krb5.so.2.<br>
&gt;<br>
&gt; Now, we&#39;d like to specify dependency directly on this library, but since rubygem-gssapi is noarch, it seems there is no way how to specify this dependency better then &quot;Requires: krb5-libs&quot;, unless the rubygem-gssapi would be arch dependent. Or is there any better way? Any suggestion?</p>

<p>I ended up doing the arch-dependent thing for python-webm (which wraps libwebp with ctypes) because there didn&#39;t seem to be a better solution.</p>
<p>It hardcodes the .so file though, so it _really_ needed a soname-based dependency; a simple &quot;Requires: libwebp&quot; wouldn&#39;t have been good enough.</p>
<p>I&#39;d too would like to know if there&#39;s a better way... :-/</p>
<p>-T.C.</p>