Small fixes

This commit is contained in:
Simone Caronni 2011-12-05 19:06:44 +01:00
parent 905079f793
commit d49b54f84a

View File

@ -1,6 +1,6 @@
Name: bacula Name: bacula
Version: 5.2.2 Version: 5.2.2
Release: 5%{?dist} Release: 6%{?dist}
Summary: Cross platform network backup for Linux, Unix, Mac and Windows Summary: Cross platform network backup for Linux, Unix, Mac and Windows
# See LICENSE for details # See LICENSE for details
License: GPLv2 with exceptions License: GPLv2 with exceptions
@ -139,8 +139,8 @@ recovery, and verification of computer data across a network of
different computers. It is based on a client/server architecture. different computers. It is based on a client/server architecture.
This package contains the common director files, which are shared This package contains the common director files, which are shared
between all database backends. You have to select a possible between all database back-ends. You have to select a possible
database backend though, which provides the needed bacula-director database back-end though, which provides the needed bacula-director
dependency. Please choose from bacula-director-mysql, dependency. Please choose from bacula-director-mysql,
bacula-director-sqlite or bacula-director-postgresql. bacula-director-sqlite or bacula-director-postgresql.
@ -210,7 +210,7 @@ Summary: Common Bacula utilities
Group: System Environment/Daemons Group: System Environment/Daemons
Requires(pre): fedora-usermgmt Requires(pre): fedora-usermgmt
Obsoletes: bacula-console-gnome <= 2.4, bacula-traymonitor <= 2.4 Obsoletes: bacula-console-gnome <= 2.4, bacula-traymonitor <= 2.4
Obsoletes: bacula-sysconfdir <= 2.4, bacula-console-wxwidgets Obsoletes: bacula-sysconfdir <= 2.4, bacula-console-wxwidgets <= 5.0.3
%description common %description common
Bacula is a set of programs that allow you to manage the backup, Bacula is a set of programs that allow you to manage the backup,
@ -436,8 +436,10 @@ install -m 644 -D %{SOURCE17} %{buildroot}%{_sysconfdir}/sysconfig/bacula-sd
# Create the spooling # Create the spooling
mkdir -p %{buildroot}%{_localstatedir}/spool/bacula mkdir -p %{buildroot}%{_localstatedir}/spool/bacula
# Nuke the scripts we do not need # Nuke the startup scripts we do not need
rm -vf %{buildroot}%{_libexecdir}/bacula/{bacula,bacula-ctl-*,startmysql,stopmysql} rm -f %{buildroot}%{_libexecdir}/bacula/{bacula,bacula-ctl-*,startmysql,stopmysql}
rm -f %{buildroot}%{_sbindir}/bacula
rm -f %{buildroot}%{_mandir}/man8/bacula.8.gz
# Fix up some perms so rpmlint does not complain too much # Fix up some perms so rpmlint does not complain too much
chmod 755 %{buildroot}%{_sbindir}/* chmod 755 %{buildroot}%{_sbindir}/*
@ -647,10 +649,7 @@ fi
%config(noreplace) %{_sysconfdir}/logrotate.d/bacula %config(noreplace) %{_sysconfdir}/logrotate.d/bacula
%dir %{_sysconfdir}/%{name} %dir %{_sysconfdir}/%{name}
%dir %{_libexecdir}/%{name} %dir %{_libexecdir}/%{name}
%{_sbindir}/bsmtp
%{_sbindir}/btraceback %{_sbindir}/btraceback
%{_sbindir}/bacula
%{_libexecdir}/%{name}/mtx-changer.conf
%{_libexecdir}/%{name}/btraceback.dbx %{_libexecdir}/%{name}/btraceback.dbx
%{_libexecdir}/%{name}/btraceback.gdb %{_libexecdir}/%{name}/btraceback.gdb
%{_libexecdir}/%{name}/bacula_config %{_libexecdir}/%{name}/bacula_config
@ -663,8 +662,6 @@ fi
%{_libdir}/libbacfind.so %{_libdir}/libbacfind.so
%{_libdir}/libbacpy-%{version}.so %{_libdir}/libbacpy-%{version}.so
%{_libdir}/libbacpy.so %{_libdir}/libbacpy.so
%{_mandir}/man1/bsmtp.1.gz
%{_mandir}/man8/bacula.8.gz
%{_mandir}/man8/btraceback.8.gz %{_mandir}/man8/btraceback.8.gz
%dir %attr(750, bacula, bacula) %{_localstatedir}/log/bacula %dir %attr(750, bacula, bacula) %{_localstatedir}/log/bacula
%dir %attr(750, bacula, bacula) %{_localstatedir}/spool/bacula %dir %attr(750, bacula, bacula) %{_localstatedir}/spool/bacula
@ -719,12 +716,14 @@ fi
%{_sbindir}/bacula-dir %{_sbindir}/bacula-dir
%{_sbindir}/bregex %{_sbindir}/bregex
%{_sbindir}/bscan %{_sbindir}/bscan
%{_sbindir}/bsmtp
%{_sbindir}/bwild %{_sbindir}/bwild
%{_sbindir}/dbcheck %{_sbindir}/dbcheck
%{_libdir}/libbaccats.so %{_libdir}/libbaccats.so
%attr(755,root,root) %ghost %{_libdir}/libbaccats-%{version}.so %attr(755,root,root) %ghost %{_libdir}/libbaccats-%{version}.so
%{_libdir}/libbacsql.so %{_libdir}/libbacsql.so
%{_libdir}/libbacsql-%{version}.so %{_libdir}/libbacsql-%{version}.so
%{_mandir}/man1/bsmtp.1.gz
%{_mandir}/man8/bacula-dir.8.gz %{_mandir}/man8/bacula-dir.8.gz
%{_mandir}/man8/bregex.8.gz %{_mandir}/man8/bregex.8.gz
%{_mandir}/man8/bscan.8.gz %{_mandir}/man8/bscan.8.gz
@ -818,6 +817,10 @@ fi
%changelog %changelog
* Mon Dec 05 2011 Simone Caronni <negativo17@gmail.com> - 5.2.2-6
- Removed leftover files and small rpmlint fixes.
- Additional file moves between packages.
* Mon Dec 05 2011 Simone Caronni <negativo17@gmail.com> - 5.2.2-5 * Mon Dec 05 2011 Simone Caronni <negativo17@gmail.com> - 5.2.2-5
- Remove redundant user/group in service files. - Remove redundant user/group in service files.
- Reduce patching for what can be passed through configure. - Reduce patching for what can be passed through configure.