rpms/python-krbV/EL-4 rd_rep-python2.3-compat.patch, NONE, 1.1 python-krbV.spec, 1.8, 1.9

Mike Bonnet mikeb at fedoraproject.org
Tue Jul 13 14:50:48 UTC 2010


Author: mikeb

Update of /cvs/pkgs/rpms/python-krbV/EL-4
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv21005

Modified Files:
	python-krbV.spec 
Added Files:
	rd_rep-python2.3-compat.patch 
Log Message:
maintain python 2.3 compatibility

rd_rep-python2.3-compat.patch:
 krb5module.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE rd_rep-python2.3-compat.patch ---
diff -uNr python-krbV-1.0.90.orig/krb5module.c python-krbV-1.0.90/krb5module.c
--- python-krbV-1.0.90.orig/krb5module.c	2010-05-24 14:57:11.000000000 -0400
+++ python-krbV-1.0.90/krb5module.c	2010-07-13 10:41:49.594073921 -0400
@@ -1492,7 +1492,7 @@
   if(rc)
     return pk_error(rc);
 
-  retval = Py_BuildValue("(iiNI)",
+  retval = Py_BuildValue("(iiNi)",
 			 repl->ctime, repl->cusec,
 			 make_keyblock(repl->subkey),
 			 repl->seq_number);


Index: python-krbV.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-krbV/EL-4/python-krbV.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -p -r1.8 -r1.9
--- python-krbV.spec	24 May 2010 21:11:44 -0000	1.8
+++ python-krbV.spec	13 Jul 2010 14:50:48 -0000	1.9
@@ -2,7 +2,7 @@
 
 Name: python-krbV
 Version: 1.0.90
-Release: 1%{?dist}
+Release: 2%{?dist}
 Summary: Python extension module for Kerberos 5
 
 Group: Development/Languages
@@ -11,6 +11,8 @@ License: LGPLv2+
 URL: http://fedorahosted.org/python-krbV/
 Source: http://fedorahosted.org/python-krbV/attachment/wiki/Releases/python-krbV-%{version}.tar.bz2
 
+Patch0: rd_rep-python2.3-compat.patch
+
 BuildRequires: python-devel
 BuildRequires: krb5-devel >= 1.2.2
 BuildRequires: /bin/awk
@@ -22,6 +24,7 @@ python-krbV allows python programs to us
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 export LIBNAME="%{_lib}"
@@ -43,6 +46,9 @@ export CFLAGS="%{optflags} -Wextra"
 %{python_sitearch}/krbVmodule.so
 
 %changelog
+* Tue Jul 13 2010 Mike Bonnet <mikeb at redhat.com> - 1.0.90-2
+- maintain python 2.3 compatibility
+
 * Tue May 18 2010 Mike Bonnet <mikeb at redhat.com> - 1.0.90-1
 - return the contents of the AP_REP message from rd_rep()
 - improved memory handling



More information about the scm-commits mailing list