[*] RHEL-6 / JBossEAP5 SSG *.spec, *.src.rpm && *.rpm rpmlint errors

Jan Lieskovsky jlieskov at redhat.com
Mon Sep 16 11:45:45 UTC 2013


Hello guys,

  while this got inspired by another email from this list

  (was [PATCH 1/8] Add Makefile, main README, and scap-security-guide.spec
   file, that will be used for building Fedora scap-security-guide (source)
   RPM package.)

  decided to dedicate an own thread for this topic, since it deserves it
  (pretty wide by itself).

Attached are (run on Red Hat Enterprise Linux 6) rpmlint results [R] for main
scap-security-guide.spec file, and also for both of RHEL6 / JBossEAP5 *.src.rpm, and *.rpm
packages, generated from SSG repository content.

While some of the issues are easy to fix (to mention some examples:
* scap-security-guide.src: W: summary-ended-with-dot C Security guidance and baselines in SCAP formats. 
* scap-security-guide.src:20: W: mixed-use-of-spaces-and-tabs (spaces: line 8, tab: line 20),
* scap-security-guide.src: W: non-standard-group Testing),
* script-without-shebang /usr/share/xml/scap/ssg/policytables/table-rhel6-nistrefs.html
* ..)

[and i can make a patch proposal for these once we have agreed us on the points below],

there are also cases, where I am not sure how the fix should look like (so decided
to write a post about this prior proposing a patch).

The two cases i am not completely sure how they should be resolved (comments welcome)
are as follows:

#1: (from the *.src.rpm / *.rpm):
      scap-security-guide.src: W: invalid-license Public domain
      scap-security-guide.src: W: invalid-license GPL

    The 'Public domain' one should be converted to 'Public Domain' to be recognized
    (https://fedoraproject.org/wiki/Packaging:LicensingGuidelines?rd=Packaging/LicensingGuidelines#Public_Domain)

    but not sure about the proper identifier for the GPL one. Suggestions / guidance welcome.

#2: (from the *.spec && *.src.rpm):
      scap-security-guide.spec: E: specfile-error error: line 10: Source0:        scap-security-guide-

    rpmlint in this case is complaining about source tarball being generated and mainly referenced in *.spec
    locally (common practice in the *.spec file to reference upstream page, where source tarball can be
    downloaded from).

    Therefore i would like to check with you, if there would be a willingness to dedicate stable page
    for hosting of such a tarball and if we could use that page (once agreed upon) in the *.spec file
    subsequently?

Thank you && Regards, Jan.
--
Jan iankko Lieskovsky / Red Hat Security Technologies Team

[R] http://fedoraproject.org/wiki/Common_Rpmlint_issues
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: scap-security-guide-0.1-12.el6.noarch.rpm_rpmlint_result.txt
URL: <https://lists.fedorahosted.org/pipermail/scap-security-guide/attachments/20130916/fe8e3f0c/attachment-0003.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: scap-security-guide-0.1-12.el6.src.rpm_rpmlint_result.txt
URL: <https://lists.fedorahosted.org/pipermail/scap-security-guide/attachments/20130916/fe8e3f0c/attachment-0004.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: scap-security-guide.spec_rpmlint_result.txt
URL: <https://lists.fedorahosted.org/pipermail/scap-security-guide/attachments/20130916/fe8e3f0c/attachment-0005.txt>


More information about the scap-security-guide mailing list