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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tom "spot" Callaway wrote:
On 2009-02-18 at 11:31:40 -0500, Pierre-Yves <pingou@xxxxxxxxxxxx> 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


_______________________________________________
Fedora-r-devel-list mailing list
Fedora-r-devel-list@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-r-devel-list

[Index of Archives]     [Fedora Users]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux