On 10/14/09 5:38 AM, Jussi Lehtola wrote:
On Wed, 2009-10-14 at 05:01 -0400, Braden McDaniel wrote:
The problem I'm running into is that in the course of packaging the docs
for the main package, rpm does
rm -rf %{_docdir}/%{name}-%{version}
So, when it subsequently tries to package the docs for the -doc
subpackage, the "manual" subdirectory (that was put there by "make
install") has been blown away.
What can I do here? Is it possible to suppress the "rm -rf" that %doc
does?
Just use %doc to place the files in %{_docdir}, e.g.
%doc doc/*
The problem with that is that it does *not* put the files in %{_docdir}
when it is used for a subpackage. Instead, the files are put in
/usr/share/doc/subpackagename-%{version}. I don't want that.
--
Braden McDaniel e-mail: <braden@xxxxxxxxxxxxx>
<http://endoframe.com> Jabber: <braden@xxxxxxxxxx>
--
Fedora-packaging mailing list
Fedora-packaging@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-packaging