Changed files:
bacula-dvd_rewind.patch -> 1.1
bacula.spec -> 1.150
--- /dev/null
+--- bacula-5.0.3/src/stored/dev.c.orig 2010-08-05 16:29:51.000000000 +0200
++++ bacula-5.0.3/src/stored/dev.c 2010-09-21 09:53:25.000000000 +0200
+@@ -832,7 +832,7 @@
+ }
+ break;
+ }
+- } else if (is_file() || is_dvd()) {
++ } else if (dcr && (is_file() || is_dvd())) {
+ if (lseek(dcr, (boffset_t)0, SEEK_SET) < 0) {
+ berrno be;
+ dev_errno = errno;
Summary(pl.UTF-8): Bacula - rozwiązanie do wykonywania kopii zapasowych po sieci
Name: bacula
Version: 5.0.3
-Release: 2
+Release: 3
License: extended GPL v2
Group: Networking/Utilities
Source0: http://downloads.sourceforge.net/bacula/%{name}-%{version}.tar.gz
Patch7: %{name}-dbi_fixes.patch
Patch8: %{name}-dbi_dbcheck.patch
Patch9: %{name}-openssl1.patch
+Patch10: %{name}-dvd_rewind.patch
URL: http://www.bacula.org/
BuildRequires: acl-devel
BuildRequires: autoconf
%patch7 -p1
%patch8 -p1
%patch9 -p1
+%patch10 -p1
tar -xf %{SOURCE2} && ln -s bacula-rescue-* rescue