- Fixed dependency "issues" #473627 by adding the sysconfdir subpackage.
This commit is contained in:
parent
543315a161
commit
d0bfbcb8a5
31
bacula.spec
31
bacula.spec
@ -9,7 +9,7 @@
|
||||
Summary: Cross platform network backup for Linux, Unix, Mac and Windows
|
||||
Name: bacula
|
||||
Version: 2.4.3
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
# See LICENSE for details
|
||||
License: GPLv2 with exceptions
|
||||
Group: System Environment/Daemons
|
||||
@ -121,6 +121,7 @@ Summary: Common Bacula Director files
|
||||
Group: System Environment/Daemons
|
||||
Requires: bacula-director = %{version}-%{release}
|
||||
Requires: bacula-common = %{version}-%{release}
|
||||
Requires: logwatch
|
||||
Requires(pre): fedora-usermgmt
|
||||
Requires(postun): fedora-usermgmt
|
||||
|
||||
@ -224,6 +225,7 @@ mass storage devices.
|
||||
%package common
|
||||
Summary: Common Bacula utilities
|
||||
Group: System Environment/Daemons
|
||||
Requires: bacula-sysconfdir = %{version}-%{release}
|
||||
Requires(pre): fedora-usermgmt
|
||||
Requires(postun): fedora-usermgmt
|
||||
|
||||
@ -236,6 +238,7 @@ different computers. It is based on a client/server architecture.
|
||||
%package console
|
||||
Summary: Bacula management console
|
||||
Group: System Environment/Daemons
|
||||
Requires: bacula-sysconfdir = %{version}-%{release}
|
||||
|
||||
%description console
|
||||
Bacula is a set of programs that allow you to manage the backup,
|
||||
@ -249,6 +252,7 @@ backup system.
|
||||
%package console-gnome
|
||||
Summary: Bacula console for the Gnome desktop environment
|
||||
Group: System Environment/Daemons
|
||||
Requires: bacula-sysconfdir = %{version}-%{release}
|
||||
Requires: usermode
|
||||
|
||||
%description console-gnome
|
||||
@ -261,6 +265,7 @@ This package contains the gnome version of the bacula management console
|
||||
%package console-bat
|
||||
Summary: Bacula bat console
|
||||
Group: System Environment/Daemons
|
||||
Requires: bacula-sysconfdir = %{version}-%{release}
|
||||
Requires: usermode
|
||||
|
||||
%description console-bat
|
||||
@ -274,6 +279,7 @@ This package contains the bat version of the bacula management console
|
||||
%package console-wxwidgets
|
||||
Summary: Bacula console using the wx widgets toolkit
|
||||
Group: System Environment/Daemons
|
||||
Requires: bacula-sysconfdir = %{version}-%{release}
|
||||
Requires: usermode
|
||||
|
||||
%description console-wxwidgets
|
||||
@ -285,6 +291,18 @@ This package contains the wxWidgets version of the bacula management
|
||||
console.
|
||||
|
||||
|
||||
%package sysconfdir
|
||||
Summary: /etc/bacula dependency for Bacula
|
||||
Group: System Environment/Daemons
|
||||
|
||||
%description sysconfdir
|
||||
Bacula is a set of programs that allow you to manage the backup,
|
||||
recovery, and verification of computer data across a network of
|
||||
different computers. It is based on a client/server architecture.
|
||||
|
||||
This package provides the /etc/bacula directory in order to satisfy
|
||||
certain scripted checks.
|
||||
|
||||
%package traymonitor
|
||||
Summary: Bacula monitor for the Gnome and KDE system tray
|
||||
Group: System Environment/Daemons
|
||||
@ -750,13 +768,19 @@ if [ "$1" -ge "1" ]; then
|
||||
fi
|
||||
|
||||
|
||||
# For this braindeadness, please see
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=473627
|
||||
%files sysconfdir
|
||||
%defattr(-,root,root,-)
|
||||
%dir %{_sysconfdir}/bacula
|
||||
|
||||
|
||||
%files common
|
||||
%defattr(-,root,root,-)
|
||||
%doc bacula-%{version}/AUTHORS bacula-%{version}/ChangeLog bacula-%{version}/COPYING bacula-%{version}/LICENSE
|
||||
%doc bacula-%{version}/README bacula-%{version}/SUPPORT bacula-%{version}/VERIFYING
|
||||
%doc bacula-%{version}/examples/
|
||||
%config(noreplace) %{_sysconfdir}/logrotate.d/bacula
|
||||
%dir %{_sysconfdir}/bacula
|
||||
%dir %{_libexecdir}/bacula
|
||||
%{_sbindir}/bsmtp
|
||||
%{_sbindir}/btraceback
|
||||
@ -962,6 +986,9 @@ fi
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Dec 1 2008 Andreas Thienemann <andreas@bawue.net> - 2.4.3-4
|
||||
- Fixed dependency "issues" #473627 by adding the sysconfdir subpackage.
|
||||
|
||||
* Mon Nov 17 2008 Jon Ciesla <limb@jcomserv.net> - 2.4.3-3
|
||||
- Added upstream orphaned jobs patch.
|
||||
- Fixed logrotate file.
|
||||
|
Loading…
Reference in New Issue
Block a user