rpms/python/devel python-2.5.1-socketmodule-constants2.patch, NONE, 1.1 python.spec, 1.130, 1.131
James Antill (james)
fedora-extras-commits at redhat.com
Tue Mar 25 14:16:01 UTC 2008
- Previous message (by thread): rpms/aimage/devel aimage.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/rsh/devel netkit-rsh-0.17-audit.patch, 1.1, 1.2 rsh.spec, 1.42, 1.43
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: james
Update of /cvs/pkgs/rpms/python/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3202
Modified Files:
python.spec
Added Files:
python-2.5.1-socketmodule-constants2.patch
Log Message:
* Tue Mar 25 2008 James Antill <jantill at redhat.com> - 2.5.1-24
- Add more constants to socketmodule
python-2.5.1-socketmodule-constants2.patch:
--- NEW FILE python-2.5.1-socketmodule-constants2.patch ---
diff -rup Python-2.5.1-orig/Modules/socketmodule.c Python-2.5.1/Modules/socketmodule.c
--- Python-2.5.1-orig/Modules/socketmodule.c 2008-03-25 09:59:38.000000000 -0400
+++ Python-2.5.1/Modules/socketmodule.c 2008-03-25 10:12:24.000000000 -0400
@@ -4977,6 +4977,15 @@ init_socket(void)
#ifdef TCP_QUICKACK
PyModule_AddIntConstant(m, "TCP_QUICKACK", TCP_QUICKACK);
#endif
+#ifdef TCP_CONGESTION
+ PyModule_AddIntConstant(m, "TCP_CONGESTION", TCP_CONGESTION);
+#endif
+#ifdef TCP_MD5SIG
+ PyModule_AddIntConstant(m, "TCP_MD5SIG", TCP_MD5SIG);
+#endif
+#ifdef TCP_MD5SIG_MAXKEYLEN
+ PyModule_AddIntConstant(m, "TCP_MD5SIG_MAXKEYLEN", TCP_MD5SIG_MAXKEYLEN);
+#endif
/* IPX options */
Only in Python-2.5.1/Modules: socketmodule.c~
Index: python.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python/devel/python.spec,v
retrieving revision 1.130
retrieving revision 1.131
diff -u -r1.130 -r1.131
--- python.spec 8 Mar 2008 04:29:13 -0000 1.130
+++ python.spec 25 Mar 2008 14:15:20 -0000 1.131
@@ -20,7 +20,7 @@
Summary: An interpreted, interactive, object-oriented programming language.
Name: %{python}
Version: 2.5.1
-Release: 23%{?dist}
+Release: 24%{?dist}
License: Python Software Foundation License v2
Group: Development/Languages
Provides: python-abi = %{pybasever}
@@ -41,6 +41,7 @@
Patch11: python-2.5.1-codec-ascii-tolower.patch
Patch12: python-2.5.1-pysqlite.patch
Patch13: python-2.5.1-socketmodule-constants.patch
+Patch14: python-2.5.1-socketmodule-constants2.patch
# upstreamed
@@ -207,6 +208,7 @@
%patch11 -p1 -b .ascii-tolower
%patch12 -p1 -b .pysqlite-2.3.3-minimal
%patch13 -p1 -b .socketmodule
+%patch14 -p1 -b .socketmodule
%ifarch alpha ia64
# 64bit, but not lib64 arches need this too...
@@ -504,6 +506,9 @@
%{_libdir}/python%{pybasever}/lib-dynload/_testcapimodule.so
%changelog
+* Tue Mar 25 2008 James Antill <jantill at redhat.com> - 2.5.1-24
+- Add more constants to socketmodule
+
* Sat Mar 8 2008 James Antill <jantill at redhat.com> - 2.5.1-22
- Add constants to socketmodule
- Resolves: bug#436560
- Previous message (by thread): rpms/aimage/devel aimage.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/rsh/devel netkit-rsh-0.17-audit.patch, 1.1, 1.2 rsh.spec, 1.42, 1.43
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list