rpms/python3/devel python-2.6.5-statvfs-f_flag-constants.patch, NONE, 1.1 python3.spec, 1.23, 1.24
dmalcolm
dmalcolm at fedoraproject.org
Wed May 26 10:34:27 UTC 2010
- Previous message: [pkgdb] memcached had acl change status
- Next message: rpms/curl/F-13 0000-curl-7.20.0-e32fe30.patch, NONE, 1.1 0001-curl-7.20.1-d487ade.patch, NONE, 1.1 0002-curl-7.20.1-82e9b78.patch, NONE, 1.1 0003-curl-7.20.1-crl.patch, NONE, 1.1 0004-curl-7.20.1-crl-test.patch, NONE, 1.1 0005-curl-7.20.1-47dda4a.patch, NONE, 1.1 0101-curl-7.20.0-multilib.patch, NONE, 1.1 0102-curl-7.20.0-lrt.patch, NONE, 1.1 0103-curl-7.19.4-debug.patch, NONE, 1.1 0104-curl-7.20.1-test-delay.patch, NONE, 1.1 0105-curl-7.19.7-localhost6.patch, NONE, 1.1 0106-curl-7.20.1-threaded-dns.patch, NONE, 1.1 0107-curl-7.20.0-disable-test1112.patch, NONE, 1.1 .cvsignore, 1.39, 1.40 curl.spec, 1.145, 1.146 sources, 1.39, 1.40 curl-7.19.4-debug.patch, 1.3, NONE curl-7.19.7-ares-ipv6.patch, 1.2, NONE curl-7.19.7-localhost6.patch, 1.1, NONE curl-7.20.0-19ca0c0.patch, 1.1, NONE curl-7.20.0-b4ff6d3.patch, 1.1, NONE curl-7.20.0-disable-test1112.patch, 1.1, NONE curl-7.20.0-ef1ac36.patch, 1.1, NONE curl-7.20.0-ff87111.patch, 1.1, NONE curl-7.20.0-lrt.patch, 1.1, NONE curl-7.20.0-multilib.patch, 1.1, NONE curl-7.20.1-82e9b78.patch, 1.1, NONE curl-7.20.1-test-delay.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: dmalcolm
Update of /cvs/pkgs/rpms/python3/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv725
Modified Files:
python3.spec
Added Files:
python-2.6.5-statvfs-f_flag-constants.patch
Log Message:
* Wed May 26 2010 David Malcolm <dmalcolm at redhat.com> - 3.1.2-8
- add flags for statvfs.f_flag to the constant list in posixmodule (i.e. "os")
(patch 105)
python-2.6.5-statvfs-f_flag-constants.patch:
posixmodule.c | 38 +++++++++++++++++++++++++++++++++++++-
1 file changed, 37 insertions(+), 1 deletion(-)
--- NEW FILE python-2.6.5-statvfs-f_flag-constants.patch ---
>From 21fda4c78000d78cb1824fdf0373031d07f5325a Mon Sep 17 00:00:00 2001
From: Peter Jones <pjones at redhat.com>
Date: Wed, 6 Jan 2010 15:22:38 -0500
Subject: [PATCH] Add flags for statvfs.f_flag to constant list.
You really need these to figure out what statvfs is trying to say to
you, so add them here.
---
Modules/posixmodule.c | 37 +++++++++++++++++++++++++++++++++++++
1 files changed, 37 insertions(+), 0 deletions(-)
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index ebdbc8d..d79013b 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -8990,6 +8990,43 @@ all_ins(PyObject *d)
#endif
#endif
+ /* These came from statvfs.h */
+#ifdef ST_RDONLY
+ if (ins(d, "ST_RDONLY", (long)ST_RDONLY)) return -1;
+#endif /* ST_RDONLY */
+#ifdef ST_NOSUID
+ if (ins(d, "ST_NOSUID", (long)ST_NOSUID)) return -1;
+#endif /* ST_NOSUID */
+
+ /* GNU extensions */
+#ifdef ST_NODEV
+ if (ins(d, "ST_NODEV", (long)ST_NODEV)) return -1;
+#endif /* ST_NODEV */
+#ifdef ST_NOEXEC
+ if (ins(d, "ST_NOEXEC", (long)ST_NOEXEC)) return -1;
+#endif /* ST_NOEXEC */
+#ifdef ST_SYNCHRONOUS
+ if (ins(d, "ST_SYNCHRONOUS", (long)ST_SYNCHRONOUS)) return -1;
+#endif /* ST_SYNCHRONOUS */
+#ifdef ST_MANDLOCK
+ if (ins(d, "ST_MANDLOCK", (long)ST_MANDLOCK)) return -1;
+#endif /* ST_MANDLOCK */
+#ifdef ST_WRITE
+ if (ins(d, "ST_WRITE", (long)ST_WRITE)) return -1;
+#endif /* ST_WRITE */
+#ifdef ST_APPEND
+ if (ins(d, "ST_APPEND", (long)ST_APPEND)) return -1;
+#endif /* ST_APPEND */
+#ifdef ST_NOATIME
+ if (ins(d, "ST_NOATIME", (long)ST_NOATIME)) return -1;
+#endif /* ST_NOATIME */
+#ifdef ST_NODIRATIME
+ if (ins(d, "ST_NODIRATIME", (long)ST_NODIRATIME)) return -1;
+#endif /* ST_NODIRATIME */
+#ifdef ST_RELATIME
+ if (ins(d, "ST_RELATIME", (long)ST_RELATIME)) return -1;
+#endif /* ST_RELATIME */
+
#if defined(PYOS_OS2)
if (insertvalues(d)) return -1;
#endif
--
1.6.6
Index: python3.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python3/devel/python3.spec,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -p -r1.23 -r1.24
--- python3.spec 25 May 2010 17:16:11 -0000 1.23
+++ python3.spec 26 May 2010 10:34:27 -0000 1.24
@@ -40,7 +40,7 @@
Summary: Version 3 of the Python programming language aka Python 3000
Name: python3
Version: %{pybasever}.2
-Release: 7%{?dist}
+Release: 8%{?dist}
License: Python
Group: Development/Languages
Source: http://python.org/ftp/python/%{version}/Python-%{version}.tar.bz2
@@ -200,6 +200,9 @@ Patch103: python-3.1.2-debug-build.patch
# extension modules will reliably use them
Patch104: python-3.1.2-more-configuration-flags.patch
+# Add flags for statvfs.f_flag to the constant list in posixmodule (i.e. "os")
+# (rhbz:553020); partially upstream as http://bugs.python.org/issue7647
+Patch105: python-2.6.5-statvfs-f_flag-constants.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: readline-devel, openssl-devel, gmp-devel
@@ -352,6 +355,7 @@ rm -r Modules/zlib || exit 1
%patch103 -p1 -b .debug-build
%patch104 -p1 -b .more-configuration-flags
+%patch105 -p1 -b .statvfs-f-flag-constants
# Currently (2010-01-15), http://docs.python.org/library is for 2.6, and there
@@ -1030,6 +1034,10 @@ rm -fr %{buildroot}
%changelog
+* Wed May 26 2010 David Malcolm <dmalcolm at redhat.com> - 3.1.2-8
+- add flags for statvfs.f_flag to the constant list in posixmodule (i.e. "os")
+(patch 105)
+
* Tue May 25 2010 David Malcolm <dmalcolm at redhat.com> - 3.1.2-7
- add configure-time support for COUNT_ALLOCS and CALL_PROFILE debug options
(patch 104); enable them and the WITH_TSC option within the debug build
- Previous message: [pkgdb] memcached had acl change status
- Next message: rpms/curl/F-13 0000-curl-7.20.0-e32fe30.patch, NONE, 1.1 0001-curl-7.20.1-d487ade.patch, NONE, 1.1 0002-curl-7.20.1-82e9b78.patch, NONE, 1.1 0003-curl-7.20.1-crl.patch, NONE, 1.1 0004-curl-7.20.1-crl-test.patch, NONE, 1.1 0005-curl-7.20.1-47dda4a.patch, NONE, 1.1 0101-curl-7.20.0-multilib.patch, NONE, 1.1 0102-curl-7.20.0-lrt.patch, NONE, 1.1 0103-curl-7.19.4-debug.patch, NONE, 1.1 0104-curl-7.20.1-test-delay.patch, NONE, 1.1 0105-curl-7.19.7-localhost6.patch, NONE, 1.1 0106-curl-7.20.1-threaded-dns.patch, NONE, 1.1 0107-curl-7.20.0-disable-test1112.patch, NONE, 1.1 .cvsignore, 1.39, 1.40 curl.spec, 1.145, 1.146 sources, 1.39, 1.40 curl-7.19.4-debug.patch, 1.3, NONE curl-7.19.7-ares-ipv6.patch, 1.2, NONE curl-7.19.7-localhost6.patch, 1.1, NONE curl-7.20.0-19ca0c0.patch, 1.1, NONE curl-7.20.0-b4ff6d3.patch, 1.1, NONE curl-7.20.0-disable-test1112.patch, 1.1, NONE curl-7.20.0-ef1ac36.patch, 1.1, NONE curl-7.20.0-ff87111.patch, 1.1, NONE curl-7.20.0-lrt.patch, 1.1, NONE curl-7.20.0-multilib.patch, 1.1, NONE curl-7.20.1-82e9b78.patch, 1.1, NONE curl-7.20.1-test-delay.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list