[Bug 630754] Review Request: mscgen - Message Sequence Chart Rendering tool

bugzilla at redhat.com bugzilla at redhat.com
Thu Dec 30 10:32:27 UTC 2010


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=630754

--- Comment #9 from Michael Schwendt <mschwendt at gmail.com> 2010-12-30 05:32:24 EST ---
> %files
> %defattr(-,root,root,-)
> %{_defaultdocdir}/%{name}-%{version}/

As %files sections like this keep popping up lately, note that explicitly
including files in %_defaultdocdir conflicts with using %doc. It's advised to
add a comment about that. For example,

 | %files
 | %defattr(-,root,root,-)
 | %{_defaultdocdir}/%{name}-%{version}/
 | %doc TODO

with Fedora 14 would give an error, whereas with older dists it might empty the
contents of %_defaultdocdir and replace them with the %doc files without any
warning.

%files
%defattr(-,root,root,-)
# due to this entry, %doc must not be used to add any other files
%{_defaultdocdir}/%{name}-%{version}/

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the package-review mailing list