Python2.6 fix.

This commit is contained in:
Jon Ciesla 2008-12-15 21:03:12 +00:00
parent 48cee68270
commit 3c14115d2f
2 changed files with 16 additions and 1 deletions

View File

@ -0,0 +1,10 @@
--- autoconf/configure.in.orig 2008-12-15 14:45:18.000000000 -0600
+++ autoconf/configure.in 2008-12-15 14:45:19.000000000 -0600
@@ -726 +726 @@
- for ver in python2.2 python2.3 python2.4 python2.5; do
+ for ver in python2.2 python2.3 python2.4 python2.5 python2.6; do
--- configure.orig 2008-12-15 14:46:32.000000000 -0600
+++ configure 2008-12-15 14:46:32.000000000 -0600
@@ -15624 +15624 @@
- for ver in python2.2 python2.3 python2.4 python2.5; do
+ for ver in python2.2 python2.3 python2.4 python2.5 python 2.6; do

View File

@ -8,7 +8,7 @@
Summary: Cross platform network backup for Linux, Unix, Mac and Windows
Name: bacula
Version: 2.4.3
Release: 6%{?dist}
Release: 7%{?dist}
# See LICENSE for details
License: GPLv2 with exceptions
Group: System Environment/Daemons
@ -37,6 +37,7 @@ Patch3: bacula-pamd.patch
#Patch9: 2.0.3-tls-disconnect.patch
#Patch10: bacula-web-smarty.patch
Patch11: bacula-2.4.3-orphaned-jobs.patch
Patch12: bacula-2.4.3-python26.patch
URL: http://www.bacula.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: openssl-devel, atk-devel, ncurses-devel, pango-devel, perl
@ -361,6 +362,7 @@ pushd bacula-%{version}
#%patch8 -p0
#%patch9 -p0
%patch11 -p0
%patch12 -p0
# Remove execution permissions from files we're packaging as docs later on
find examples -type f | xargs chmod -x
@ -988,6 +990,9 @@ fi
%changelog
* Mon Dec 15 2008 Jon Ciesla <limb@jcomserv.net - 2.4.3-7
- Patched to support Python 2.6, BZ 476547.
* Fri Dec 12 2008 Jon Ciesla <limb@jcomserv.net - 2.4.3-6
- Fix consolehelper behaviour for bat.