[bacula] Split out libs package to remove dependency on bacula-common for bconsole, bat and check_bacula.
Simone Caronni
slaanesh at fedoraproject.org
Wed Dec 7 10:16:22 UTC 2011
commit 8390fc1227e51a9ff9effdfa9264433574d6628e
Author: Simone Caronni <negativo17 at gmail.com>
Date: Wed Dec 7 11:15:05 2011 +0100
Split out libs package to remove dependency on bacula-common for bconsole, bat and check_bacula.
bacula.spec | 43 +++++++++++++++++++++++++++++++------------
1 files changed, 31 insertions(+), 12 deletions(-)
---
diff --git a/bacula.spec b/bacula.spec
index 9db7a87..0e38983 100644
--- a/bacula.spec
+++ b/bacula.spec
@@ -68,8 +68,23 @@ storage management features that make it easy to find and recover lost
or damaged files.
+%package libs
+Summary: Bacula libraries
+Group: System Environment/Daemons
+Requires(pre): fedora-usermgmt
+Obsoletes: bacula-console-gnome <= 2.4, bacula-traymonitor <= 2.4
+Obsoletes: bacula-sysconfdir <= 2.4, bacula-console-wxwidgets <= 5.0.3
+
+%description libs
+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 contains basic Bacula libraries.
+
+
%package common
-Summary: Common Bacula utilities
+Summary: Common Bacula files
Group: System Environment/Daemons
Requires(pre): fedora-usermgmt
Obsoletes: bacula-console-gnome <= 2.4, bacula-traymonitor <= 2.4
@@ -80,6 +95,8 @@ 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 contains files common to all Bacula clients and daemons.
+
%package director-common
Summary: Common Bacula Director files
@@ -225,7 +242,6 @@ system to be backed up.
%package console
Summary: Bacula management console
Group: System Environment/Daemons
-Requires: bacula-common%{?_isa} = %{version}-%{release}
%description console
Bacula is a set of programs that allow you to manage the backup,
@@ -240,7 +256,6 @@ backup system.
%package console-bat
Summary: Bacula bat console
Group: System Environment/Daemons
-Requires: bacula-common%{?_isa} = %{version}-%{release}
Requires: usermode
%description console-bat
@@ -248,7 +263,7 @@ 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 contains the bat version of the bacula management console
+This package contains the bat version of the bacula management console.
%endif
@@ -646,6 +661,16 @@ fi
%endif
+%files libs
+%defattr(-,root,root,-)
+%{_libdir}/libbac-%{version}.so
+%{_libdir}/libbac.so
+%{_libdir}/libbaccfg-%{version}.so
+%{_libdir}/libbaccfg.so
+%{_libdir}/libbacfind-%{version}.so
+%{_libdir}/libbacfind.so
+%{_libdir}/libbacpy-%{version}.so
+%{_libdir}/libbacpy.so
%files common
%defattr(-,root,root,-)
@@ -658,14 +683,6 @@ fi
%{_libexecdir}/%{name}/btraceback.gdb
%{_libexecdir}/%{name}/bacula_config
%{_libexecdir}/%{name}/btraceback.mdb
-%{_libdir}/libbac-%{version}.so
-%{_libdir}/libbac.so
-%{_libdir}/libbaccfg-%{version}.so
-%{_libdir}/libbaccfg.so
-%{_libdir}/libbacfind-%{version}.so
-%{_libdir}/libbacfind.so
-%{_libdir}/libbacpy-%{version}.so
-%{_libdir}/libbacpy.so
%{_mandir}/man8/btraceback.8.gz
%dir %attr(750, bacula, bacula) %{_localstatedir}/log/bacula
%dir %attr(750, bacula, bacula) %{_localstatedir}/spool/bacula
@@ -823,6 +840,8 @@ fi
%changelog
* Wed Dec 07 2011 Simone Caronni <negativo17 at gmail.com> - 5.2.2-8
- Fixed building on RHEL/CentOS 4.
+- Split out libs package to remove dependency on bacula-common for
+ bconsole, bat and check_bacula.
* Tue Dec 06 2011 Simone Caronni <negativo17 at gmail.com> - 5.2.2-7
- Added libcap for POSIX.1e capabilities in bacula-fd (5.0.0 feature).
More information about the scm-commits
mailing list