<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 03/20/2017 10:04 AM, Tech Support
      wrote:<br>
    </div>
    <blockquote cite="mid:002001d2a182$f5997120$e0cc5360$@us"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <meta name="Generator" content="Microsoft Word 12 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@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;
        text-align:justify;
        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;}
.MsoPapDefault
        {mso-style-type:export-only;
        text-align:justify;}
@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">All;<o:p></o:p></p>
        <p class="MsoNormal">    What I’m trying to do is build two
          rpms. The first one is a local library of Perl modules, and
          the second one is a fax application that relies on the Perl
          modules. The problem that I am having is that I am getting an
          error when I try to install the second application rpm like
          so:<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">error: Failed dependencies:<o:p></o:p></p>
        <p class="MsoNormal">        /opt/VBSPerl/bin/perl is needed by
          fax-2.3-82.x86_64<o:p></o:p></p>
        <p class="MsoNormal">        perl(Asterisk::AMI) is needed by
          fax-2.3-82.x86_64  <o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">The first rpm contains the path to the Perl
          interpreter and the Asterisk::AMI Perl module so that’s not
          the problem.  I can get around the error by using the –nodeps
          option when trying to install the module, but that really
          doesn’t solve the problem. To me, I see two solutions, the
          first one where I define the Perl module rpm as providing the
          dependencies, and the second one where the application rpm is
          built but doesn’t check for dependencies. To me, the first
          option is the better answer. I tried the first option in the
          Perl library spec file but, but that didn't fix it. <o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Provides: /opt/VBSPerl/bin/perl,
          perl(Asterisk::AMI), perl(Carp), perl(DBI), perl(FindBin),
          perl(lib), perl(strict)<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">I also tried the following in the
          application spec file without success.<o:p></o:p></p>
        <p class="MsoNormal"> <o:p></o:p></p>
        <p class="MsoNormal">AutoReqProv: no<o:p></o:p></p>
        <p class="MsoNormal">Autoreq: no<o:p></o:p></p>
        <p class="MsoNormal">%define __find_requires %{nil}  <o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">I’m really stumped here, and I know that
          the answer is probably going to be something obvious. If
          anyone has any insight at all, I would greatly appreciate it.<o:p></o:p></p>
      </div>
    </blockquote>
    The first step is to see what your rpms are actually requiring and
    providing:<br>
    <br>
    rpm -qp --provides fax-2.3-82.x86_64.rpm<br>
    rpm -qp --requires fax-2.3-82.x86_64.rpm<br>
    <br>
    repeat for your perl module rpm.<br>
    <br>
  </body>
</html>