Add back old query.sql which has now moved to examples
This commit is contained in:
parent
54639b950b
commit
9e56892319
10
bacula.spec
10
bacula.spec
@ -1,6 +1,6 @@
|
|||||||
Name: bacula
|
Name: bacula
|
||||||
Version: 5.2.2
|
Version: 5.2.2
|
||||||
Release: 8%{?dist}
|
Release: 9%{?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
|
||||||
@ -302,7 +302,6 @@ Provides check_bacula support for Nagios.
|
|||||||
%patch8 -p1 -b .optflags
|
%patch8 -p1 -b .optflags
|
||||||
|
|
||||||
# Remove execution permissions from files we're packaging as docs later on
|
# 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
|
find updatedb -type f | xargs chmod -x
|
||||||
|
|
||||||
# Remove cvs left-overs
|
# Remove cvs left-overs
|
||||||
@ -408,6 +407,9 @@ rm -f %{buildroot}%{_mandir}/man1/bacula-tray-monitor.1*
|
|||||||
rm -f %{buildroot}%{_libdir}/libbaccats-%{version}.so
|
rm -f %{buildroot}%{_libdir}/libbaccats-%{version}.so
|
||||||
%{__install} -m0755 src/cats/.libs/libbaccats-%{version}.so %{buildroot}%{_libdir}/
|
%{__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}
|
mkdir -p %{buildroot}%{_bindir}
|
||||||
|
|
||||||
# Bat
|
# Bat
|
||||||
@ -692,6 +694,7 @@ fi
|
|||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc updatedb
|
%doc updatedb
|
||||||
%attr(640,root,bacula) %config(noreplace) %{_sysconfdir}/bacula/bacula-dir.conf
|
%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/logfiles/bacula.conf
|
||||||
%config(noreplace) %{_sysconfdir}/logwatch/conf/services/bacula.conf
|
%config(noreplace) %{_sysconfdir}/logwatch/conf/services/bacula.conf
|
||||||
%config(noreplace) %{_sysconfdir}/sysconfig/bacula-dir
|
%config(noreplace) %{_sysconfdir}/sysconfig/bacula-dir
|
||||||
@ -838,6 +841,9 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Dec 07 2011 Simone Caronni <negativo17@gmail.com> - 5.2.2-8
|
||||||
- Fixed building on RHEL/CentOS 4.
|
- Fixed building on RHEL/CentOS 4.
|
||||||
- Split out libs package to remove dependency on bacula-common for
|
- Split out libs package to remove dependency on bacula-common for
|
||||||
|
Loading…
Reference in New Issue
Block a user