<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Any idea why I can't get it to compile with rpmbuild -tb but can
    with -bb? I can compile other packages such as kmod driver packages
    with -tb.<br>
    <br>
    Nick<br>
    <br>
    <div class="moz-cite-prefix">On 11/05/2014 19:18, Paul wrote:<br>
    </div>
    <blockquote
      cite="mid:4C33C882-B05B-451B-8075-A6CE31B9D3A7@nohats.ca"
      type="cite">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div>We have been neglecting those because we have libreswan in
        epel now. I'll bring them up to date later today<br>
        <br>
        Sent from my iPhone</div>
      <div><br>
        On May 11, 2014, at 12:18, Nick Howitt &lt;<a
          moz-do-not-send="true" href="mailto:nick@howitts.co.uk">nick@howitts.co.uk</a>&gt;
        wrote:<br>
        <br>
      </div>
      <blockquote type="cite">
        <div>
          <meta content="text/html; charset=UTF-8"
            http-equiv="Content-Type">
          <br>
          <div class="moz-cite-prefix">On 11/05/2014 16:25, Paul Wouters
            wrote:<br>
          </div>
          <blockquote
            cite="mid:alpine.LFD.2.10.1405111121590.31230@bofh.nohats.ca"
            type="cite"> <br>
            On Sun, 11 May 2014, Ahmed Shabana wrote: <br>
            <br>
            <blockquote type="cite">I did what you suggest below and get
              the below error , <br>
            </blockquote>
            <br>
            You know we offer precompiled packages for RHEL6 at <br>
            <a moz-do-not-send="true"
              href="http://download.libreswan.org">download.libreswan.org</a>
            ? <br>
          </blockquote>
          except you have not yet compiled the security release 3.8 <span
            class="moz-smiley-s2"><span> :-( <br>
              <br>
               <br>
            </span></span><br>
          <br>
          I've compiled it myself but cannot do it with rpmbuild -tb as
          it fails with a spec file issue:<br>
          <blockquote><small><font face="Courier New">[build@server
                SOURCES]$ rpmbuild -tb --target=x64_64 --clean --quiet
                libreswan-3.8.tar.gz</font></small><br>
            <small><font face="Courier New">Building target platforms:
                x64_64</font></small><br>
            <small><font face="Courier New">Building for target x64_64</font></small><br>
            <small><font face="Courier New">error: line 291: second
                %prep</font></small><br>
          </blockquote>
          <br>
          but I can do it by extracting the rhel spec file and building
          with:<br>
          <blockquote><small><font face="Courier New">rpmbuild -bb
                --target=x86_64 --clean --quiet
                libreswan-3.8/packaging/rhel/6/libreswan.spec</font></small><br>
          </blockquote>
          This is on ClearOS, a rhel look alike and generally binary
          compatible.<br>
          <br>
          Regards,<br>
          <br>
          Nick<br>
        </div>
      </blockquote>
    </blockquote>
    <br>
  </body>
</html>