[Bug 1702] New: Review Request: imagination - A lightweight and
simple GTK based DVD slide show creator
Michael Schwendt
mschwendt at gmail.com
Sat Apr 16 23:59:18 CEST 2011
On Sat, 16 Apr 2011 16:33:16 -0500, RS wrote:
> [...] but as much documentation as there
> is, it all seems to be lacking in certain areas. You have to do a lot
> of reading between the lines. I'm really trying to understand how
> rpmbuild works but it can be quite convoluted.
http://www.rpm.org/max-rpm-snapshot/s1-rpm-inside-files-list-directives.html
> So if I understand your example, we're going to move the files out of
> BUILDROOT back to BUILD which will prevent us from getting the FILES
> INSTALLED BUT NOT PACKAGED or whatever the error is.
Well, that's not the goal of it. But in the same way as one is free
to "mess with files inside buildroot", one is not limited to deleting
or renaming files in there. One can do arbitrary things in there.
Whatever may be necessary to create a working package.
In general, if the files installed in the buildroot need to be adjusted
somehow, it's up to you to fix them for your %files list. Available
techniques, such as a tmp dir, are not specific to %doc files.
> Then, while
> %files is for referencing files in BUILDROOT, %doc will actually copy
> files from BUILD. The only thing I can think of to add is that the doc
> files are installed in %{_docdir}/%{name}/html. Wouldn't we want to
> preserve the ./html directory?
Nothing is stopping you from modifying the %doc statements appropriately
to include a 'html' directory.
More information about the rpmfusion-developers
mailing list