I worked up some guidelines for packaging R addon libraries/modules in Fedora:
http://fedoraproject.org/wiki/PackagingDrafts/R
I'm open to feedback from R packagers. I'm going to try to get this approved by the Fedora Packaging Committee next week, barring any serious complaints.
Thanks,
~spot
On Fri, Jul 06, 2007 at 09:53:38PM -0500, Tom spot Callaway wrote:
I worked up some guidelines for packaging R addon libraries/modules in Fedora:
http://fedoraproject.org/wiki/PackagingDrafts/R
I'm open to feedback from R packagers. I'm going to try to get this approved by the Fedora Packaging Committee next week, barring any serious complaints.
If I remember well, Jose has a script similar with cpanspec, maybe there could be some reference to this script. And also maybe Jose could update the script to be consistent with the packaging guidelines.
Also I found when trying to package a number of packages that there are very frequently circular dependency in check parts. If there is something generic that can be said about that point to help packagers, I think it would be very helpful.
-- Pat
Tom "spot" Callaway wrote:
I worked up some guidelines for packaging R addon libraries/modules in Fedora:
http://fedoraproject.org/wiki/PackagingDrafts/R
I'm open to feedback from R packagers. I'm going to try to get this approved by the Fedora Packaging Committee next week, barring any serious complaints.
Thanks,
~spot
Hi,
I have just one comment on it: What about the man pages ? I have marked them as %doc (like doc or html). Should we change this on the packaging guidelines ?
Other question, is it feasible to add a R spectemplate in /etc/rpmdevtools/ like there is already for perl, python ?
Anyway thanks for the work done :-)
Regards,
~pingou
___________________________________________________________________________ Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire. http://fr.mail.yahoo.com
Tom "spot" Callaway wrote:
I worked up some guidelines for packaging R addon libraries/modules in Fedora:
http://fedoraproject.org/wiki/PackagingDrafts/R
I'm open to feedback from R packagers. I'm going to try to get this approved by the Fedora Packaging Committee next week, barring any serious complaints.
Thanks,
~spot
Hi,
I have just test the macro. We should change the
%post %{_R_make_search_index}
to
%post -p %{_R_make_search_index}
Without rpmlint returned me a warning.
Thanks, Regards, ~pingou
___________________________________________________________________________ Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire. http://fr.mail.yahoo.com
pingou wrote:
Tom "spot" Callaway wrote:
I worked up some guidelines for packaging R addon libraries/modules in Fedora:
http://fedoraproject.org/wiki/PackagingDrafts/R
I'm open to feedback from R packagers. I'm going to try to get this approved by the Fedora Packaging Committee next week, barring any serious complaints.
Thanks,
~spot
Hi,
I have just test the macro. We should change the
%post %{_R_make_search_index}
to
%post -p %{_R_make_search_index}
Without rpmlint returned me a warning.
Thanks, Regards, ~pingou
Hi,
I am facing two problems, Either we do: %post %{_R_make_search_index} Then we need to ignore the following warning from rpmlint: W: R-widgetTools one-line-command-in-%post /usr/lib/rpm/R-make-search-index.sh You should use %post -p <command> instead of using:
%post <command>
It will avoid the fork of a shell interpreter to execute your command as well as allows rpm to automatically mark the dependency on your command for the excecution of the scriptlet.
or we go for %post -p %{_R_make_search_index} And then we are facing the following error from mock: $ mock ../SRPMS/R-widgetTools-1.12.0-10.fc6.src.rpm init clean prep This may take a while unpack cache setup No srpm created from specfile from srpm: R-widgetTools-1.12.0-10.fc6.src.rpm ending done
With nothing in the /var/lib/mock/fedora-6-i386-core/result/build.log and this in the root.log http://rafb.net/p/GTEcKQ48.html (done for another package but R-widgetTools https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=241081 has the same error)
I would go for the first solution if we have no way to correct it, but it that has it has to be precised in the packaging guidelines.
Best regards,
~pingou
___________________________________________________________________________ Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire. http://fr.mail.yahoo.com
Hi all,
I have been working in another type of package that might have to show up in the guidelines, it is about the metadata packages from the bioconductor website. They are only set of data but as some libraries suggest them the R CMD check failed without.
I have made a first draft version of a spec, with no return I will put it on the bugzilla, but if you have any comments/remarks I would be pleased to take them into account...
The spec and the srpm are avalaible there: http://pingoured.dyndns.org/public/RPM/R-hgu95av2
Best regards ~pingou
--------------------------------- Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
r-devel@lists.fedoraproject.org