[Bug 946856] Review Request: spectrwm - Minimalist tiling window manager written in C

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Product: Fedora
https://bugzilla.redhat.com/show_bug.cgi?id=946856

--- Comment #25 from Tom "spot" Callaway <tcallawa@xxxxxxxxxx> ---
%doc is not a section, it is a per file flag. 

You don't need to flag manpages as %doc, because RPM already assumes anything
under /usr/share/man is %doc. So in your spec, because there are no files that
you need to flag as %doc, you can remove it entirely.

In a more "normal" package that included things like "README" and "LICENSE" in
the source, but doesn't install them during make install, you can have a %files
section like this:

%files
%doc README LICENSE
%{_bindir}/omgwtfbbq
...
The %doc macro will then magically:

A) make %{buildroot}%{_shareddocdir}/%{name}-%{version}/
B) copy any specified files into that directory for you.

You can also do:

%doc /full/path/to/file/in/a/weird/non/doc/place/but/is/really/documentation

and it will simply mark that file as being a %doc file, but this case is rare.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=ByiHgjLMNo&a=cc_unsubscribe
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review





[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]