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=512217 --- Comment #10 from Jonathan Underwood <jonathan.underwood@xxxxxxxxx> 2009-07-17 12:56:24 EDT --- (In reply to comment #6) > Instead of installing all files and removing some of them later IMO one can > better remove them all from the wrong location and then use the %doc directive > to install the ones needed: > > %install > rm -rf $RPM_BUILD_ROOT > make install -p DESTDIR=$RPM_BUILD_ROOT > rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name} > ... > > %files -f %{name}.lang > %defattr(-,root,root,-) > %doc AUTHORS ChangeLog All-the-non-empty-files-you-need That's a good solution, but the issue is that there is a tree of doc files, one directory for each plugin. The %doc macro when used in that way flattens them all into one directory - is there a way around that? (This has puzzled me many times). -- 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. _______________________________________________ Fedora-package-review mailing list Fedora-package-review@xxxxxxxxxx http://www.redhat.com/mailman/listinfo/fedora-package-review