On May 15, 2009, at 1:27 PM, Jeff Sheltren wrote: > Hi all, I have been looking at the spec file (attached) which Bruno > put together for fossology, and would like to make a few > recommendations on changing it.
I've made a few more changes to the spec, and at least have something that builds now (on EL5), but it still needs a bit more work, specifically see the 'TODO' comments in the %post and %preun sections. I believe that the stuff done in fo-postinstall and fo- cleanold should be taken care of in the package (RPM) itself. Also, it currently runs a test using fossology-scheduler -t in the post install -- I think it may be best to list that in the INSTALL (and/or INSTALL.redhat or whatever it ends up being called) instead of running that in the RPM itself. Aside from that, I'm getting happier with it. You can see the current spec file here: http://staff.osuosl.org/~jeff/fossology.spec The only build requirement that I can see which isn't in EL5 base or in EPEL is libextractor-devel. I rebuilt a fedora libextractor package in order to get the fossology build working -- if you feel like using it, you can grab the rpm or point yum here (x86_64 only for now) http://staff.osuosl.org/~jeff/fossology-deps/el5/ I had to tweak the package slightly to get it to build, so it currently doesn't build the flac and qt sub-packages. When I have some time I'll investigate that further. Once that gets fixed, I'd be glad to work on getting libextractor into the EPEL repository which will make the build & install process much easier on RHEL/CentOS. -Jeff _______________________________________________ fossology mailing list [email protected] http://fossology.org/mailman/listinfo/fossology

