With no prior experience of building rpms (not counting the checkinstall tool), I just made my first try... or actually the first ten and something tries ;-) Yes, building rpms might belong to somewhere else in newsgroups hierarchy, but maybe there is something Bacula-spesific anyway...
Started with this: http://www.bacula.org/dev-manual/Bacula_ensu_RPM_Packaging.html So, I downloaded the 1.38.2 sorce rpm, into an empty directory /home/timo/bacula, on FC4. After some trial and error, I have installed a number of missing devel rpms etc, so now I can make a bunch of binary rpms with the following: rpmbuild --rebuild --define "build_fc4 1" \ --define "build_mysql 1" bacula-1.38.2-1.src.rpm The abovementioned RPM packaging faq has several references to the spec file, like rpmbuild -ba --define "build_rh7 1" bacula.spec or simply editing something inside the spec file. ** so, my current problem: ** Where is the spec file, how to extract it for editing, etc? Now, the spec obviously contains some stuff I'd like to change: the compile process keeps claiming there is no user or group called 'kern' (Sorry about this, Kern... maybe you really would deserve an account on every machine running Bacula...), the package is told to be built by Scott etc... This process seems to unpack the source to /usr/src/redhat/SOURCES for as long as the build process is running. But obviously the spec isn't that deep there...? -- Regards, Timo ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users