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

Pierre-Yves pingou at pingoured.fr
Mon Feb 9 10:41:02 UTC 2009


Dear list,

Still in the process of finding a way to create a ready-to-build spec 
file I have had some though on the %files section.

I will probably change the actual format of the %files to :
%files
%defattr(-, root, root, -)
%dir %{_libdir}/R/library/%{packname}
%{_libdir}/R/library/%{packname}/*
%exclude %{_libdir}/R/library/%{packname}/doc
%exclude %{_libdir}/R/library/%{packname}/DESCRIPTION
%exclude %{_libdir}/R/library/%{packname}/html
%exclude %{_libdir}/R/library/%{packname}/latex/
%exclude %{_libdir}/R/library/%{packname}/man/

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

I can (more or less) easily check which documentation files are there 
while it's much harder to check which files/folders are generated by the 
build (ie: R-ex, data, demo...)

How does it sound to you ??

Thanks for your feedback,
Regards,

Pierre




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