From 54cad4b2151b7f0cd260f219fe338c2284353910 Mon Sep 17 00:00:00 2001 From: Petr Hracek Date: Oct 21 2013 13:43:17 +0000 Subject: Introduce amanda-libs package (#881128) --- diff --git a/amanda.spec b/amanda.spec index 6dd9248..560d457 100644 --- a/amanda.spec +++ b/amanda.spec @@ -10,7 +10,7 @@ Summary: A network-capable tape backup solution Name: amanda Version: 3.3.3 -Release: 6%{?dist} +Release: 7%{?dist} Source: http://downloads.sourceforge.net/amanda/amanda-%{version}.tar.gz Source1: amanda.crontab Source4: disklist @@ -47,6 +47,7 @@ Requires(preun): systemd-units Requires(postun): systemd-units Requires: fileutils grep initscripts tar /bin/mail Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: amanda-libs%{?_isa} = %{version}-%{release} Obsoletes: amanda-devel < 2.6.1p2-5 Provides: amanda-devel = 2.6.1p2-5 @@ -65,6 +66,15 @@ be installed on both AMANDA clients and AMANDA servers. Note that you will have to install the amanda-client and/or amanda-server packages as well. +%package libs +Summary: Amanda libraries +Group: Applications/System +Requires: fileutils grep + +%description libs +This package contains basic Amanda libraries, which are used by all +Amanda programs. + %package client Summary: The client component of the AMANDA tape backup system Group: Applications/System @@ -205,16 +215,6 @@ rm -rf ${RPM_BUILD_ROOT} %{_unitdir}/amanda-udp@.service %{_unitdir}/amanda-udp.socket - -%{_libdir}/libamanda-*.so -%{_libdir}/libamanda.so -%{_libdir}/libamandad*.so -%{_libdir}/libamar*.so -%{_libdir}/libamglue*.so -%{_libdir}/libamxfer*.so -%{_libdir}/libndmjob*.so -%{_libdir}/libndmlib*.so - %dir %{_libexecdir}/amanda %{_libexecdir}/amanda/amandad %{_libexecdir}/amanda/amanda-sh-lib.sh @@ -293,10 +293,22 @@ rm -rf ${RPM_BUILD_ROOT} %attr(600,%amanda_user,%amanda_group) %config(noreplace) %{_localstatedir}/lib/amanda/.amandahosts %attr(02700,%amanda_user,%amanda_group) %dir /var/log/amanda -%files server +%files libs %defattr(-,root,root) %{_libdir}/libamdevice*.so %{_libdir}/libamserver*.so +%{_libdir}/libamclient*.so +%{_libdir}/libamanda-*.so +%{_libdir}/libamanda.so +%{_libdir}/libamandad*.so +%{_libdir}/libamar*.so +%{_libdir}/libamglue*.so +%{_libdir}/libamxfer*.so +%{_libdir}/libndmjob*.so +%{_libdir}/libndmlib*.so + +%files server +%defattr(-,root,root) %{_libexecdir}/amanda/amdumpd %{_libexecdir}/amanda/amcheck-device %{_libexecdir}/amanda/amidxtaped @@ -408,7 +420,6 @@ rm -rf ${RPM_BUILD_ROOT} %files client %defattr(-,root,root) -%{_libdir}/libamclient*.so %dir %{_libexecdir}/amanda/application/ %attr(4750,root,%amanda_group) %{_libexecdir}/amanda/application/amgtar @@ -463,6 +474,9 @@ rm -rf ${RPM_BUILD_ROOT} %changelog +* Mon Oct 21 2013 Petr Hracek - 3.3.3-7 +- package amanda-libs introduced because of multilib issue + * Sat Aug 03 2013 Fedora Release Engineering - 3.3.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild @@ -470,7 +484,7 @@ rm -rf ${RPM_BUILD_ROOT} - Perl 5.18 rebuild * Tue Jul 16 2013 Petr Hracek - 3.3.3-4 -- Correct problem with man page killpgrp (#881128)" +- Correct problem with man page killpgrp (#881128) * Tue Jun 25 2013 Petr Hracek - 3.3.3-3 - Remove dependency on dump in RHEL-7