[Fedora-r-devel-list] %files section

Pierre-Yves pingou at pingoured.fr
Thu Feb 19 08:24:41 UTC 2009


Tom "spot" Callaway wrote:
> On 2009-02-18 at 11:31:40 -0500, Pierre-Yves <pingou at pingoured.fr> wrote:
>> Shouldn't rpm/rpmlint give a warning/error when I try to %exclude and 
>> files that are not found or when I try to set them as %doc ?
> 
> Probably. I'm guessing you can't %exclude a file, then include it as %doc.

But if I include the directory, include the files as %doc and then 
%exclude them from the directory (see below) then I got the " File 
listed twice: " error :/

Regards,

Pierre

------------------------------------------------------
This is what I meant:

%{_datadir}/R/library/%{packname}/
%doc %{_datadir}/R/library/%{packname}/latex
%doc %{_datadir}/R/library/%{packname}/html
%doc %{_datadir}/R/library/%{packname}/DESCRIPTION
%doc %{_datadir}/R/library/%{packname}/man

%exclude %{_datadir}/R/library/%{packname}/latex
%exclude %{_datadir}/R/library/%{packname}/html
%exclude %{_datadir}/R/library/%{packname}/DESCRIPTION
%exclude %{_datadir}/R/library/%{packname}/man





More information about the Fedora-r-devel-list mailing list