[PATCH] [RHEL6] Don't include the table html files two times. Remove makewhatis (let system regenerate man db)

Jan Lieskovsky jlieskov at redhat.com
Sat Oct 26 13:03:37 UTC 2013


This patch removes duplicate inclusion of policytables HTML
files in the newly generated RPM file (they are in %doc,
so no need to include them under policytables/ directory too -
compare output of:
  prev_scap-security-guide-0.1-15.rc3.el6.noarch_rpm_list_output.txt

vs output of:
  curr_scap-security-guide-0.1-15.rc4.el6.noarch_rpm_list_output.txt

It also removes call for 'makewhatis' - it's not necessary to
explicitly call it after adding the new manual page. Let the
system to realize new manual page got added and launch man db
update automa{t,g}ically.

Sanity && regression testing:
- make tarball, (s)rpm passed,
- common RHEL-6 Makefile targets passed too,
- guide(s) is(are) generated properly and look reasonable.

Please review.

Thank you && Regards, Jan.
--
Jan iankko Lieskovsky / Red Hat Security Technologies Team
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: curr_scap-security-guide-0.1-15.rc4.el6.noarch_rpm_list_output.txt
URL: <https://lists.fedorahosted.org/pipermail/scap-security-guide/attachments/20131026/bfa05fc2/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: prev_scap-security-guide-0.1-15.rc3.el6.noarch_rpm_list_output.txt
URL: <https://lists.fedorahosted.org/pipermail/scap-security-guide/attachments/20131026/bfa05fc2/attachment-0001.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-RHEL6-Don-t-include-the-table-html-files-two-times.-.patch
Type: text/x-patch
Size: 3061 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/scap-security-guide/attachments/20131026/bfa05fc2/attachment.bin>


More information about the scap-security-guide mailing list