rpms/python3/devel python3.spec,1.2,1.3
dmalcolm
dmalcolm at fedoraproject.org
Fri Jan 15 21:08:54 UTC 2010
- Previous message: rpms/yum/devel yum.spec,1.291,1.292
- Next message: rpms/lmms/devel import.log, 1.6, 1.7 lmms-0.4.6-libexecdir.patch, 1.1, 1.2 lmms.spec, 1.9, 1.10 lmms-0.4.6-libdir.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: dmalcolm
Update of /cvs/pkgs/rpms/python3/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv18245
Modified Files:
python3.spec
Log Message:
- fix the URLs output by pydoc so they point at python.org's 3.1 build of the
docs, rather than the 2.6 build
Index: python3.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python3/devel/python3.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- python3.spec 13 Jan 2010 22:33:42 -0000 1.2
+++ python3.spec 15 Jan 2010 21:08:54 -0000 1.3
@@ -24,7 +24,7 @@
Summary: Version 3 of the Python programming language aka Python 3000
Name: python3
Version: %{pybasever}.1
-Release: 14%{?dist}
+Release: 15%{?dist}
License: Python
Group: Development/Languages
Source: http://python.org/ftp/python/%{version}/Python-%{version}.tar.bz2
@@ -163,6 +163,15 @@ chmod +x %{SOURCE1}
%patch200 -p1 -b .pathfix
+# Currently (2010-01-15), http://docs.python.org/library is for 2.6, and there
+# are many differences between 2.6 and the Python 3 library.
+#
+# Fix up the URLs within pydoc to point at the documentation for this
+# MAJOR.MINOR version:
+#
+sed --in-place \
+ --expression="s|http://docs.python.org/library|http://docs.python.org/%{pybasever}/library|g" \
+ Lib/pydoc.py || exit 1
%build
export CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -fPIC"
@@ -476,6 +485,10 @@ rm -fr $RPM_BUILD_ROOT
%{pylibdir}/tkinter/test
%changelog
+* Fri Jan 15 2010 David Malcolm <dmalcolm at redhat.com> - 3.1.1-15
+- fix the URLs output by pydoc so they point at python.org's 3.1 build of the
+docs, rather than the 2.6 build
+
* Wed Jan 13 2010 David Malcolm <dmalcolm at redhat.com> - 3.1.1-14
- replace references to /usr with %%{_prefix}; replace references to
/usr/include with %%{_includedir} (Toshio)
- Previous message: rpms/yum/devel yum.spec,1.291,1.292
- Next message: rpms/lmms/devel import.log, 1.6, 1.7 lmms-0.4.6-libexecdir.patch, 1.1, 1.2 lmms.spec, 1.9, 1.10 lmms-0.4.6-libdir.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list