rpms/bacula/F-9 bacula.spec,1.8,1.9
Jon Ciesla
limb at fedoraproject.org
Wed Sep 10 15:39:35 UTC 2008
- Previous message (by thread): rpms/prelude-manager/F-9 prelude-manager.init, NONE, 1.1 prelude-manager.spec, 1.7, 1.8 sources, 1.6, 1.7 prelude-manager-0.9.7-initd.patch, 1.2, NONE
- Next message (by thread): rpms/snobol/devel import.log, NONE, 1.1 snobol-4.1.1-config.patch, NONE, 1.1 snobol-4.1.1-doc.patch, NONE, 1.1 snobol.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: limb
Update of /cvs/pkgs/rpms/bacula/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv20604
Modified Files:
bacula.spec
Log Message:
- Logrotate fix. BZ 457894.
- Alternatives fix. BZ 458432.
Index: bacula.spec
===================================================================
RCS file: /cvs/pkgs/rpms/bacula/F-9/bacula.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- bacula.spec 31 Jul 2008 12:18:40 -0000 1.8
+++ bacula.spec 10 Sep 2008 15:39:05 -0000 1.9
@@ -9,7 +9,7 @@
Summary: Cross platform network backup for Linux, Unix, Mac and Windows
Name: bacula
Version: 2.2.8
-Release: 2%{?dist}
+Release: 3%{?dist}
# See LICENSE for details
License: GPLv2 with exceptions
Group: System Environment/Daemons
@@ -620,16 +620,19 @@
%preun director-mysql
-/usr/sbin/alternatives --remove bacula-dir /usr/sbin/bacula-dir.mysql
-
+if [ "$1" = 0 ]; then
+ /usr/sbin/alternatives --remove bacula-dir /usr/sbin/bacula-dir.mysql
+fi
%preun director-sqlite
-/usr/sbin/alternatives --remove bacula-dir /usr/sbin/bacula-dir.sqlite
-
+if [ "$1" = 0 ]; then
+ /usr/sbin/alternatives --remove bacula-dir /usr/sbin/bacula-dir.sqlite
+fi
%preun director-postgresql
-/usr/sbin/alternatives --remove bacula-dir /usr/sbin/bacula-dir.postgresql
-
+if [ "$1" = 0 ]; then
+ /usr/sbin/alternatives --remove bacula-dir /usr/sbin/bacula-dir.postgresql
+fi
%pre common
/usr/sbin/fedora-groupadd 33 -r bacula &>/dev/null || :
@@ -658,16 +661,19 @@
%preun storage-mysql
-/usr/sbin/alternatives --remove bacula-sd /usr/sbin/bcopy.mysql
-
+if [ "$1" = 0 ]; then
+ /usr/sbin/alternatives --remove bacula-sd /usr/sbin/bcopy.mysql
+fi
%preun storage-sqlite
-/usr/sbin/alternatives --remove bacula-sd /usr/sbin/bcopy.sqlite
-
+if [ "$1" = 0 ]; then
+ /usr/sbin/alternatives --remove bacula-sd /usr/sbin/bcopy.sqlite
+fi
%preun storage-postgresql
-/usr/sbin/alternatives --remove bacula-sd /usr/sbin/bcopy.postgresql
-
+if [ "$1" = 0 ]; then
+ /usr/sbin/alternatives --remove bacula-sd /usr/sbin/bcopy.postgresql
+fi
%post client
/sbin/chkconfig --add bacula-fd
@@ -922,6 +928,10 @@
%changelog
+* Wed Sep 10 2008 Jon Ciesla <limb at jcomserv.net> - 2.2.8-3
+- Logrotate fix. BZ 457894.
+- Alternatives fix. BZ 458432.
+
* Wed Jul 30 2008 Andreas Thienemann <athienem at redhat.com> - 2.2.8-2
- Fixed %%{fedora} comparision, making bacula-sqlite build on rawhide
- Previous message (by thread): rpms/prelude-manager/F-9 prelude-manager.init, NONE, 1.1 prelude-manager.spec, 1.7, 1.8 sources, 1.6, 1.7 prelude-manager-0.9.7-initd.patch, 1.2, NONE
- Next message (by thread): rpms/snobol/devel import.log, NONE, 1.1 snobol-4.1.1-config.patch, NONE, 1.1 snobol-4.1.1-doc.patch, NONE, 1.1 snobol.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list