[Bug 512217] Review Request: geany-plugins - A bundle of plugins for Geany

bugzilla at redhat.com bugzilla at redhat.com
Fri Jul 17 16:56:25 UTC 2009


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 at gmail.com>  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.




More information about the Fedora-package-review mailing list