<html style="direction: ltr;">
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
    <style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
  </head>
  <body style="direction: ltr;"
    bidimailui-detected-decoding-type="latin-charset" text="#000000"
    bgcolor="#FFFFFF">
    if find-requires provides the correct libs, you might use 'Autoreq:
    yes' and it would work.<br>
    See
    <a class="moz-txt-link-freetext" href="http://www.rpm.org/max-rpm-snapshot/s1-rpm-depend-auto-depend.html">http://www.rpm.org/max-rpm-snapshot/s1-rpm-depend-auto-depend.html</a><br>
    <br>
    On rhel, find-requires path is at<br>
    /usr/lib/rpm/find-requires<br>
    <br>
    <br>
    Otherwise, you can write conditional anything, e.g.,<br>
    <br>
    %if 0%{?fedora} >= 18 || 0%{?rhel} >= 7<br>
    %ifarch %{arm}<br>
    Requires: glibc >= 2.16<br>
    %endif<br>
    %endif<br>
    <br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 04/29/2016 05:00 PM, Heyman, Jerrold
      wrote:<br>
    </div>
    <blockquote
cite="mid:9CDA60925D09954CA4BAD0284E2DFC4353F8048B@MX204CL01.corp.emc.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <meta name="Generator" content="Microsoft Word 14 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal">I’m pretty sure I know the answer, but is
          there a way to have a single product RPM that can be installed
          on multiple distros?<o:p></o:p></p>
        <p class="MsoNormal">Specifically, I need to ‘Require’ the
          libraries for FUSE, but on RHEL the name is ‘fuse-libs’, on
          SuSE the name is libfuse, on Mageia it is lib64fuse.<o:p></o:p></p>
        <p class="MsoNormal">Is there a way to write conditional
          ‘Requires’??<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Jerry Heyman                           |<o:p></o:p></p>
        <p class="MsoNormal">Principal Software Engineer            |   
          Software is the difference<o:p></o:p></p>
        <p class="MsoNormal">EMC Data Domain                        |   
          between hardware and reality<o:p></o:p></p>
        <p class="MsoNormal"><a class="moz-txt-link-abbreviated" href="mailto:Jerrold.Heyman@emc.com">Jerrold.Heyman@emc.com</a> / 919.597.7812  |<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Rpm-list mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Rpm-list@lists.rpm.org">Rpm-list@lists.rpm.org</a>
<a class="moz-txt-link-freetext" href="http://lists.rpm.org/mailman/listinfo/rpm-list">http://lists.rpm.org/mailman/listinfo/rpm-list</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>