X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fplatforms%2Fsuse%2Fbacula.spec.in;h=fd176ac91aa97805595877d43ffe383051d3ec5d;hb=b9d2d8205c4cc7462fff95069a74464ee2bc8322;hp=9764ddc218ef6d8b0966ef8400ed3fbe28585eaf;hpb=08577d4cb0219c3723962c610e84defdf9c59321;p=bacula%2Fbacula diff --git a/bacula/platforms/suse/bacula.spec.in b/bacula/platforms/suse/bacula.spec.in index 9764ddc218..fd176ac91a 100644 --- a/bacula/platforms/suse/bacula.spec.in +++ b/bacula/platforms/suse/bacula.spec.in @@ -6,14 +6,13 @@ # basic defines for every build %define _version @VERSION@ %define _release 1 -%define depkgs_version 11Jul07 +%define depkgs_version 09Sep07 %define _rescuever @VERSION@ %define docs_version @VERSION@ # any patches for this release # be sure to check the setup section for patch macros - #-------------------------------------------------------------------------- # it should not be necessary to change anything below here for a release # except for patch macros in the setup section @@ -196,7 +195,7 @@ exit 1 %{?build_x86_64:%define x86_64 1} # check what distribution we are -%if %{rh7} || %{rh8} || %{rh9} || %{rhel3} || %{rhel4} || %rhel5} +%if %{rh7} || %{rh8} || %{rh9} || %{rhel3} || %{rhel4} || %{rhel5} %define _dist %(grep Red /etc/redhat-release) %endif %if %{fc1} || %{fc4} || %{fc5} || %{fc6} || %{fc7} @@ -224,10 +223,11 @@ Distribution: %{_dist} # Should we build gconsole, possible only if gtk= >= 2.4 available. # leaving all the BuildRequires and Requires in place below for now. -# su10 and fc4 now nobuild, tray monitor fails to build as of 2.2.1 release +# su10, fc3 and fc4 now nobuild, tray monitor fails to build as of 2.2.1 +# release as it needs 2.10 %define gconsole 1 -%if %{rh7} || %{rh8} || %{rh9} || %{wb3} || %{fc1} || %{fc4} || %{su9} || %{su10} +%if %{rh7} || %{rh8} || %{rh9} || %{wb3} || %{fc1} || %{fc3} || %{fc4} || %{su9} || %{su10} %define gconsole 0 %endif %if %{mdk} && ! %{mdv} @@ -1154,9 +1154,9 @@ make %endif %if %{client_only} --enable-client-only \ +%endif %if %{rh7} || %{rh8} || %{rh9} || %{fc1} || %{fc3} || %{wb3} --disable-batch-insert \ -%endif %endif --mandir=%{_mandir} \ --with-subsys-dir=/var/lock/subsys \ @@ -1696,6 +1696,7 @@ else echo "Hmm, doesn't look like you have an existing database." echo "Creating SQLite database..." %{script_dir}/create_sqlite_database + chown %{director_daemon_user}.%{daemon_group} %{working_dir}/bacula.db echo "Creating the SQLite tables..." %{script_dir}/make_sqlite_tables fi @@ -1772,10 +1773,13 @@ fi %attr(-, root, %{storage_daemon_group}) /usr/sbin/mtx %attr(-, root, %{storage_daemon_group}) /usr/sbin/scsitape %attr(-, root, %{storage_daemon_group}) /usr/sbin/tapeinfo +%attr(-, root, %{storage_daemon_group}) /usr/sbin/nsmhack +%attr(-, root, %{storage_daemon_group}) /usr/sbin/scsieject %{_mandir}/man1/loaderinfo.1.%{manpage_ext} %{_mandir}/man1/mtx.1.%{manpage_ext} %{_mandir}/man1/scsitape.1.%{manpage_ext} %{_mandir}/man1/tapeinfo.1.%{manpage_ext} +%{_mandir}/man1/scsieject.1.%{manpage_ext} %endif %files client @@ -2020,6 +2024,14 @@ fi %endif %changelog +* Mon Oct 29 2007 D. Scott Barninger +- correct ownership when creating sqlite db file in post script +* Sun Sep 16 2007 D. Scott Barninger +- fix disable-batch-insert +* Fri Sep 14 2007 D. Scott Barninger +- 2.2.4 release +- turn off gconsole build for fc3, tray monitor fails to build +- add new files for mtx package (09Sep07 depkgs update) * Sat Sep 08 2007 D. Scott Barninger - add --disable-batch-insert for older platforms - add build targets for rhel5 and clones