[bacula2/f14/master] * Fri Jul 30 2010 Jon Ciesla <limb at jcomserv.net> 2.4.4-6 - Python 2.7 patch.
Orcan Ogetbil
oget at fedoraproject.org
Sun Aug 1 16:14:35 UTC 2010
commit 3c3adf3623c224db55a793eba09d194a31ba6998
Author: Orcan Ogetbil <oget.fedora at gmail.com>
Date: Sun Aug 1 12:14:32 2010 -0400
* Fri Jul 30 2010 Jon Ciesla <limb at jcomserv.net> 2.4.4-6
- Python 2.7 patch.
bacula2-2.4.4-python27.patch | 11 +++++++++++
bacula2.spec | 10 +++++++++-
2 files changed, 20 insertions(+), 1 deletions(-)
---
diff --git a/bacula2-2.4.4-python27.patch b/bacula2-2.4.4-python27.patch
new file mode 100644
index 0000000..30ce4de
--- /dev/null
+++ b/bacula2-2.4.4-python27.patch
@@ -0,0 +1,11 @@
+--- configure~ 2008-12-28 04:41:33.000000000 -0600
++++ configure 2010-07-30 08:50:59.544181898 -0500
+@@ -15621,7 +15621,7 @@
+ if test "$withval" != "no"; then
+ if test "$withval" = "yes"; then
+ for python_root in /usr /usr/local /usr/sfw; do
+- for ver in python2.2 python2.3 python2.4 python2.5 python2.6 python3; do
++ for ver in python2.2 python2.3 python2.4 python2.5 python2.6 python2.7 python3; do
+ if test -f $python_root/include/${ver}/Python.h; then
+ PYTHON_INCDIR=-I$python_root/include/${ver}
+ if test -d $python_root/lib64/${ver}/config; then
diff --git a/bacula2.spec b/bacula2.spec
index 63e07e8..7d779d4 100644
--- a/bacula2.spec
+++ b/bacula2.spec
@@ -4,7 +4,7 @@
Summary: Backup client for bacula version 2 server
Name: bacula2
Version: 2.4.4
-Release: 4%{?dist}
+Release: 6%{?dist}
# See LICENSE for details
License: GPLv2 with exceptions
Group: System Environment/Daemons
@@ -13,6 +13,7 @@ Source7: bacula2-fd.init
Patch0: bacula2-2.4.4-utf8.patch
Patch1: bacula2-config.patch
Patch2: bacula2-3.0.2-openssl.patch
+Patch3: bacula2-2.4.4-python27.patch
URL: http://www.bacula.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: openssl-devel, perl
@@ -70,6 +71,7 @@ The bacula2 packages are clients suitable for use with a bacula version
%patch0 -p1
%patch1 -p1
%patch2 -p2
+%patch3 -p0
# Remove execution permissions from files we're packaging as docs later on
find examples -type f | xargs chmod -x
@@ -180,6 +182,12 @@ fi
%{_mandir}/man8/bacula2-fd.8*
%changelog
+* Fri Jul 30 2010 Jon Ciesla <limb at jcomserv.net> 2.4.4-6
+- Python 2.7 patch.
+
+* Fri Jul 30 2010 Jon Ciesla <limb at jcomserv.net> 2.4.4-5
+- Python 2.7 rebuild.
+
* Mon Mar 22 2010 Jon Ciesla <limb at jcomserv.net> 2.4.4-4
- Renamed sources and patches to avoid clobering Bacula SRPM.
More information about the scm-commits
mailing list