Hi all, I installed the bacula 1.36.3-1 SRPM on my fresh FC4 x86_64 box. I wanted to recompile everything. Of course there were some problems with rpmbuild:
1) "Copyright" is deprecated, "License" should be used instead. RPM 4.4.1 does not accept "Copyright" anymore in the SPEC file, so a minor change was needed. 2) I had troubles making the docs package. So I added a 'build_without_docs' directive and modified the SPEC file again. 3) after changing the specfile, rpmbuild complained about "installed but unpackaged files found" for some /usr/man files. Another change in the SPEC file resolved this. Finally I was able to create the binary RPMS (excluding docs) using the command rpmbuild -bb --define 'build_fc3 1' --define 'build_postgresql 1' --define 'build_x86_64 1' --define 'build_without_docs 1' bacula.spec Please find below my DIFF for the SPEC file. I hope this helps for making a FC4 RPM. The resulting binary bacula-postgresql-xxxxx could be installed properly using export PGUSER=postgres export PGPASSWD=xxxxxxx rpm -ivh /usr/src/redhat/RPMS/x86_64/bacula-postgresql-1.36.3-1.x86_64.rpm I don't know yet if the resulting binary rpms will work, this is just to report my changes to make the rebuild process work. Regards, --Marcel diff bacula.spec ~/bacula.spec 7d6 < %define _unpackaged_files_terminate_build 0 52,55d50 < # Exclude docs on request < %define with_docs 1 < %{?build_without_docs:%define with_docs 0} < 113c108 < License: GPL v2 --- > Copyright: GPL v2 588d582 < %if %{with_docs} 592d585 < %endif 641d633 < %if %{with_docs} 647d638 < %endif 796d786 < %if %{with_docs} 800d789 < %endif 932d920 < %if %{with_docs} 936d923 < %endif 1076d1062 < %if %{with_docs} 1080d1065 < %endif 1184d1168 < %if %{with_docs} 1187d1170 < %endif ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users