Add back old query.sql which has now moved to examples

This commit is contained in:
Simone Caronni 2011-12-07 15:34:15 +01:00
parent 54639b950b
commit 9e56892319

View File

@ -1,6 +1,6 @@
Name: bacula
Version: 5.2.2
Release: 8%{?dist}
Release: 9%{?dist}
Summary: Cross platform network backup for Linux, Unix, Mac and Windows
# See LICENSE for details
License: GPLv2 with exceptions
@ -302,7 +302,6 @@ Provides check_bacula support for Nagios.
%patch8 -p1 -b .optflags
# Remove execution permissions from files we're packaging as docs later on
find examples -type f | xargs chmod -x
find updatedb -type f | xargs chmod -x
# Remove cvs left-overs
@ -408,6 +407,9 @@ rm -f %{buildroot}%{_mandir}/man1/bacula-tray-monitor.1*
rm -f %{buildroot}%{_libdir}/libbaccats-%{version}.so
%{__install} -m0755 src/cats/.libs/libbaccats-%{version}.so %{buildroot}%{_libdir}/
# Install sample query file
%{__install} -m0640 examples/sample-query.sql %{buildroot}%{_sysconfdir}/bacula/query.sql
mkdir -p %{buildroot}%{_bindir}
# Bat
@ -692,6 +694,7 @@ fi
%defattr(-,root,root,-)
%doc updatedb
%attr(640,root,bacula) %config(noreplace) %{_sysconfdir}/bacula/bacula-dir.conf
%attr(640,root,bacula) %config(noreplace) %{_sysconfdir}/bacula/query.sql
%config(noreplace) %{_sysconfdir}/logwatch/conf/logfiles/bacula.conf
%config(noreplace) %{_sysconfdir}/logwatch/conf/services/bacula.conf
%config(noreplace) %{_sysconfdir}/sysconfig/bacula-dir
@ -838,6 +841,9 @@ fi
%changelog
* Wed Dec 07 2011 Simone Caronni <negativo17@gmail.com> - 5.2.2-9
- Add sample-query.sql as config file.
* Wed Dec 07 2011 Simone Caronni <negativo17@gmail.com> - 5.2.2-8
- Fixed building on RHEL/CentOS 4.
- Split out libs package to remove dependency on bacula-common for