<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Hello Fedora Devs,<br>
    <br>
    I'm currently going through the pre-review process for adding Ingres
    to the Fedora distribution
    (<a class="moz-txt-link-freetext" href="https://bugzilla.redhat.com/show_bug.cgi?id=578024">https://bugzilla.redhat.com/show_bug.cgi?id=578024</a>). I'm getting
    some conflicting information for a couple of issues and I was hoping
    for some clarification.<br>
    <br>
    Firstly, "%defattr()". The standard says it should be
    "%defattr(-.root,root-)" unless there is a good reason for it not to
    be. The vast majority of the files included in the Ingres packages
    are owned by the user 'ingres', which seems (IMHO) to be a good
    reason to use "%defattr(-,ingres,ingres,-)".&nbsp; One reviewer
    disagreed, one agreed this was probably OK but that I should check.
    What's the consensus here?<br>
    <br>
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-1">
    Next, use of -f in the %files section. There are over 1700 files
    between the 4 RPMs and the
    ownership and permission for each file is maintained by one of the
    build tools. The file lists are generated as part of the build
    process, not stored statically in the source.
    In order to add the file lists to the SPEC files, I would need to do
    full build
    of the exact same source outside of RPM, generate the files list,
    add them to
    SPEC file and then run the RPM build. This is a fairly large over
    head for each
    update and makes maintenance a much larger task and much more
    susceptible to human error. By using the -f flag, I can
    generate the lists at build time using the existing manifest and
    they will
    always be correct. %files -f is also used by PostgreSQL so it's not
    completely outlawed. Am I OK to use it?<br>
    <br>
    Thanks in advance for your help.<br>
    <br>
    J<br>
    <br>
    Jay Hankinson<br>
    Emerging Technologies Team<br>
    Ingres Corp <br>
  </body>
</html>