[Bug 661961] Review Request: kyotocabinet - A lightweight database library

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

 



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=661961

--- Comment #2 from Casey Dahlin <cdahlin@xxxxxxxxxx> 2010-12-10 18:35:38 EST ---
>From http://fedoraproject.org/wiki/PackageMaintainers/CreatingPackageHowTo

There is a potential 'gotcha' with %doc entries: if you have a %doc entry, then
you can't use commands during %install to copy files into the documentation
directory descending from %_defaultdocdir. That's because if there's a %doc
entry, rpmbuild will automatically remove the docdir files created by %install
before installing the files listed with %doc. This can hit you if, for example,
you want an "examples" subdirectory in the documentation directory. In this
case, don't use "%doc" to mark documentation. Instead, create the directories
and copy the files into %{buildroot}%{_defaultdocdir}/%{name}-%{version}/
during %install, and make sure that %files includes an entry for
"%{_defaultdocdir}/%{name}-%{version}/". They will still be correctly marked as
documentation.

-- 
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.
_______________________________________________
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]