author | wangke |
Thu, 12 Mar 2009 05:05:51 +0000 | |
changeset 15372 | 9709582d5a42 |
parent 15143 | d2d90ead6862 |
child 15650 | dbcf7e3715dd |
permissions | -rw-r--r-- |
14736 | 1 |
# |
2 |
# spec file for package SUNWPython26 |
|
3 |
# |
|
4 |
# includes module(s): Python |
|
5 |
# |
|
6 |
# Copyright 2008 Sun Microsystems, Inc. |
|
7 |
# This file and all modifications and additions to the pristine |
|
8 |
# package are under the same license as the package itself. |
|
9 |
# |
|
15143
d2d90ead6862
* SUNWtgnome-tsoljdsdevmgr.spec : Update Owner format string
mattman
parents:
15138
diff
changeset
|
10 |
# Owner: laca |
15372 | 11 |
# Bugdb:http://bugs.python.org/issue |
14736 | 12 |
# |
13 |
%include Solaris.inc |
|
14 |
||
15 |
Name: SUNWPython26 |
|
16 |
Summary: The Python interpreter, libraries and utilities |
|
17 |
Version: 2.6.1 |
|
18 |
%define majmin 2.6 |
|
19 |
SUNW_BaseDir: %{_basedir} |
|
20 |
SUNW_Copyright: %{name}.copyright |
|
21 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
22 |
Source: http://www.python.org/ftp/python/%{version}/Python-%{version}.tar.bz2 |
|
23 |
# test script for the ucred module implemented in Python26-xx-ucred.diff |
|
24 |
Source1: ucredtest.py |
|
25 |
# test script for the dlpi module implemented in Python26-xx-dlpi.diff |
|
26 |
Source2: dlpitest.py |
|
27 |
# date:2005-10-27 owner:laca type:bug |
|
28 |
# upstreamable |
|
29 |
Patch1: Python26-01-solaris-lib-dirs.diff |
|
30 |
# date:2005-10-30 owner:laca type:feature |
|
31 |
Patch2: Python26-02-pycc.diff |
|
32 |
# date:2006-09-18 owner:laca type:feature |
|
33 |
Patch3: Python26-03-distutils-pycc.diff |
|
34 |
# date:2006-09-18 owner:laca type:bug |
|
35 |
# upstreamable |
|
36 |
Patch4: Python26-04-distutils-log.diff |
|
37 |
# date:2006-09-18 owner:laca type:feature |
|
38 |
# maybe upstreamable |
|
39 |
Patch5: Python26-05-isalibs.diff |
|
40 |
# date:2006-09-18 owner:laca type:bug bugster:6463378 |
|
41 |
# maybe upstreamable |
|
42 |
Patch6: Python26-06-write_compiled_module-atomic.diff |
|
43 |
# date:2007-03-23 owner:laca type:feature |
|
44 |
# written by John.Levon ported to 2.5 by Peter C Norton |
|
45 |
Patch7: Python26-07-dtrace.diff |
|
46 |
# date:2008-05-23 owner:laca type:bug |
|
47 |
# upstreamable |
|
48 |
Patch8: Python26-08-ctypes.diff |
|
49 |
# date:2008-04-10 owner:laca type:feature bugster:6686506 |
|
50 |
# 2008/243 Python interface to ucred_get(3C)/getpeercred(3C) |
|
51 |
# written by [email protected] |
|
52 |
# maybe upstreamable |
|
53 |
Patch9: Python26-09-ucred.diff |
|
54 |
# date:2008-06-06 owner:laca type:bug bugster:6614467 bugid:837046 |
|
55 |
Patch10: Python26-10-gethostname.diff |
|
56 |
# date:2008-08-28 owner:laca type:feature |
|
57 |
# PSARC/2008/514 Python interface to dlpi(7P) |
|
58 |
# written by [email protected] |
|
59 |
Patch11: Python26-11-dlpi.diff |
|
14842 | 60 |
# date:2009-01-06 owner:fujiwara type:feature bugster:6776575 |
14975 | 61 |
Patch12: Python26-12-encoding-alias.diff |
14969 | 62 |
# date:2009-01-23 owner:laca type:bug |
63 |
Patch13: Python26-13-cflags.diff |
|
15372 | 64 |
# date:2009-02-18 owner:wangke type:bug bugid:5289 |
15136 | 65 |
Patch14: Python26-14-ctypes-util-find-library.diff |
14736 | 66 |
|
67 |
%include default-depend.inc |
|
68 |
BuildRequires: SUNWTk |
|
69 |
BuildRequires: SUNWTcl |
|
70 |
BuildRequires: SUNWlexpt |
|
71 |
BuildRequires: SUNWsfwhea |
|
72 |
BuildRequires: SUNWopenssl-libraries |
|
73 |
BuildRequires: SUNWopenssl-include |
|
74 |
BuildRequires: SUNWaudh |
|
75 |
BuildRequires: SUNWlibffi-devel |
|
76 |
Requires: SUNWopenssl-libraries |
|
77 |
Requires: SUNWTk |
|
78 |
Requires: SUNWTcl |
|
79 |
Requires: SUNWlexpt |
|
80 |
Requires: SUNWxwplt |
|
81 |
Requires: SUNWbzip |
|
82 |
Requires: SUNWlibmsr |
|
83 |
Requires: SUNWlibms |
|
84 |
Requires: SUNWzlib |
|
85 |
Requires: SUNWsqlite3 |
|
86 |
Requires: SUNWlibffi |
|
87 |
||
88 |
%package devel |
|
89 |
Summary: %{summary} - development files |
|
90 |
%include default-depend.inc |
|
91 |
Requires: %name |
|
92 |
||
93 |
%prep |
|
94 |
%setup -q -c -n %name-%version |
|
95 |
cd Python-%{version} |
|
96 |
%patch1 -p1 -b .solaris |
|
97 |
%patch2 -p1 |
|
98 |
%patch3 -p1 |
|
99 |
%patch4 -p1 |
|
100 |
%patch5 -p1 -b .isalibs |
|
101 |
%patch6 -p1 |
|
102 |
%patch7 -p1 |
|
103 |
%patch8 -p1 |
|
104 |
%patch9 -p1 |
|
105 |
%patch10 -p1 |
|
106 |
%patch11 -p1 |
|
14842 | 107 |
%patch12 -p1 |
14969 | 108 |
%patch13 -p1 |
15138 | 109 |
%patch14 -p1 |
14736 | 110 |
cd .. |
111 |
||
112 |
echo fixing python binary name/path in python scripts: |
|
113 |
cat > %{_builddir}/%name-%version/is_python_script <<EOF |
|
114 |
#!/bin/sh |
|
115 |
||
116 |
head -1 \$1 | egrep -s '^#!.*python$' |
|
117 |
EOF |
|
118 |
chmod +x %{_builddir}/%name-%version/is_python_script |
|
119 |
||
120 |
cat > %{_builddir}/%name-%version/set_python_interpreter <<EOF |
|
121 |
#!/bin/bash |
|
122 |
interp=\$1 |
|
123 |
fname=\$2 |
|
124 |
line1=\$(head -1 \$fname) |
|
125 |
echo "Changing '\$line1' to '\$interp' (\$fname)"; |
|
126 |
chmod u+w \$fname |
|
127 |
sed -e "1s,^#!.*,#! \$interp," \$fname > \$fname.update-interp && \ |
|
128 |
cat \$fname.update-interp > \$fname && \ |
|
129 |
rm -f \$fname.update-interp || \ |
|
130 |
echo WARNING: set_python_interpreter failed for \$fname |
|
131 |
EOF |
|
132 |
chmod +x %{_builddir}/%name-%version/set_python_interpreter |
|
133 |
||
134 |
find Python-%{version}/Demo \ |
|
135 |
Python-%{version}/Tools \ |
|
136 |
Python-%{version}/Doc \ |
|
137 |
Python-%{version}/Lib \ |
|
138 |
-type f -exec %{_builddir}/%name-%version/is_python_script {} \; \ |
|
139 |
-exec %{_builddir}/%name-%version/set_python_interpreter %{_bindir}/python%{majmin} {} \; |
|
140 |
||
141 |
%ifarch sparcv9 amd64 |
|
142 |
cp -pr Python-%{version} Python-%{version}-64 |
|
143 |
%endif |
|
144 |
||
145 |
%build |
|
146 |
cd Python-%{version} |
|
147 |
autoheader |
|
148 |
autoconf |
|
149 |
export DFLAGS=-32 |
|
150 |
export CC="$CC -xregs=no%frameptr" |
|
151 |
export CXX="$CXX -xregs=no%frameptr -norunpath -compat=5" |
|
152 |
export CFLAGS="%optflags -D_LARGEFILE64_SOURCE `pkg-config --cflags libffi`" |
|
153 |
export CPPFLAGS="-D_LARGEFILE64_SOURCE `pkg-config --cflags libffi`" |
|
154 |
export LDFLAGS="%_ldflags -L." |
|
155 |
||
156 |
./configure --prefix=%{_prefix} \ |
|
157 |
--libdir=%{_libdir} \ |
|
158 |
--mandir=%{_mandir} \ |
|
159 |
--datadir=%{_datadir} \ |
|
160 |
--infodir=%{_datadir}/info \ |
|
161 |
--enable-shared \ |
|
162 |
--with-system-ffi \ |
|
163 |
--disable-static %{?_with_pydebug} |
|
164 |
||
165 |
# These #define's break the build with gcc and cause problems when |
|
166 |
# building c99 compliant python modules |
|
167 |
perl -pi -e 's/^(#define _POSIX_C_SOURCE.*)/\/* $1 *\//' pyconfig.h |
|
168 |
perl -pi -e 's/^(#define _XOPEN_SOURCE.*)/\/* $1 *\//' pyconfig.h |
|
169 |
perl -pi -e 's/^(#define _XOPEN_SOURCE_EXTENDED.*)/\/* $1 *\//' pyconfig.h |
|
170 |
||
171 |
make |
|
172 |
cd .. |
|
173 |
||
174 |
%ifarch sparcv9 amd64 |
|
175 |
cd Python-%{version}-64 |
|
176 |
||
177 |
export CXXFLAGS="%cxx_optflags64" |
|
178 |
export CFLAGS="%optflags64 -D_LARGEFILE64_SOURCE `PKG_CONFIG_PATH=%{_libdir}/_arch64 pkg-config --cflags libffi`" |
|
179 |
export CPPFLAGS="-D_LARGEFILE64_SOURCE `PKG_CONFIG_PATH=%{_libdir}/_arch64 pkg-config --cflags libffi`" |
|
180 |
export CFLAGS="%optflags64" |
|
181 |
export CC="$CC %optflags64" |
|
182 |
export CXX="$CXX %cxx_optflags64" |
|
183 |
export DFLAGS=-64 |
|
184 |
export LDFLAGS="%_ldflags -L." |
|
185 |
||
186 |
autoheader |
|
187 |
autoconf |
|
188 |
./configure --prefix=%{_prefix} \ |
|
189 |
--libdir=%{_libdir}/%{_arch64} \ |
|
190 |
--mandir=%{_mandir} \ |
|
191 |
--datadir=%{_datadir} \ |
|
192 |
--infodir=%{_datadir}/info \ |
|
193 |
--enable-shared \ |
|
194 |
--with-system-ffi \ |
|
195 |
--disable-static %{?_with_pydebug} |
|
196 |
||
197 |
# These #define's break the build with gcc and cause problems when |
|
198 |
# building c99 compliant python modules |
|
199 |
perl -pi -e 's/^(#define _POSIX_C_SOURCE.*)/\/* $1 *\//' pyconfig.h |
|
200 |
perl -pi -e 's/^(#define _XOPEN_SOURCE.*)/\/* $1 *\//' pyconfig.h |
|
201 |
perl -pi -e 's/^(#define _XOPEN_SOURCE_EXTENDED.*)/\/* $1 *\//' pyconfig.h |
|
202 |
||
203 |
make |
|
204 |
%endif |
|
205 |
||
206 |
%install |
|
207 |
rm -rf $RPM_BUILD_ROOT |
|
208 |
%ifarch sparcv9 amd64 |
|
209 |
cd Python-%{version}-64 |
|
210 |
make install DESTDIR=$RPM_BUILD_ROOT BINDIR=%{_bindir}/%{_arch64} |
|
211 |
rm -f $RPM_BUILD_ROOT%{_bindir}/%{_arch64}/idle |
|
212 |
rm -f $RPM_BUILD_ROOT%{_bindir}/%{_arch64}/pydoc |
|
213 |
rm -f $RPM_BUILD_ROOT%{_bindir}/%{_arch64}/smtpd.py |
|
214 |
cd .. |
|
215 |
%endif |
|
216 |
||
217 |
cd Python-%{version} |
|
218 |
make install DESTDIR=$RPM_BUILD_ROOT |
|
219 |
||
220 |
# FIXME: delete while 2.5 is not the default: |
|
221 |
rm $RPM_BUILD_ROOT%{_bindir}/smtpd.py |
|
222 |
#mkdir -p $RPM_BUILD_ROOT%{_prefix}/demo/python |
|
223 |
#mv $RPM_BUILD_ROOT%{_bindir}/smtpd.py $RPM_BUILD_ROOT%{_prefix}/demo/python/ |
|
224 |
||
225 |
# FIXME: rename temporarily while 2.5 is not the default: |
|
226 |
mv $RPM_BUILD_ROOT%{_mandir}/man1/python.1 $RPM_BUILD_ROOT%{_mandir}/man1/python2.6.1 |
|
227 |
||
228 |
# the pycc script is a C/C++ compiler wrapper to be used in |
|
229 |
# the distutils Makefile |
|
230 |
install -m 755 -D pycc $RPM_BUILD_ROOT%{_libdir}/python%{majmin}/pycc |
|
231 |
(cd $RPM_BUILD_ROOT%{_libdir}/python%{majmin}; ln -s pycc pyCC) |
|
232 |
perl -pi -e 's|^(CC=\s*)/.*$|$1%{_libdir}/python%{majmin}/pycc|' \ |
|
233 |
$RPM_BUILD_ROOT%{_libdir}/python%{majmin}/config/Makefile |
|
234 |
perl -pi -e 's|^(CXX=\s*)/.*$|$1%{_libdir}/python%{majmin}/pyCC|' \ |
|
235 |
$RPM_BUILD_ROOT%{_libdir}/python%{majmin}/config/Makefile |
|
236 |
perl -pi -e 's|^(INSTALL=\s*)/.*$|$1install|' \ |
|
237 |
$RPM_BUILD_ROOT%{_libdir}/python%{majmin}/config/Makefile |
|
238 |
perl -pi -e 's|^(OPT=\s*).*$|$1-DNDEBUG|' \ |
|
239 |
$RPM_BUILD_ROOT%{_libdir}/python%{majmin}/config/Makefile |
|
240 |
perl -pi -e 's|^(RUNSHARED=\s*).*$|$1|' \ |
|
241 |
$RPM_BUILD_ROOT%{_libdir}/python%{majmin}/config/Makefile |
|
242 |
perl -pi -e "s|^(CONFIG_ARGS=\s*.*'CC=)[^']*('.*)\$|\$1%{_libdir}/python%{majmin}/pycc\$2|" \ |
|
243 |
$RPM_BUILD_ROOT%{_libdir}/python%{majmin}/config/Makefile |
|
244 |
perl -pi -e "s|^(CONFIG_ARGS=\s*.*'CFLAGS=)[^']*('.*)\$|\$1\$2|" \ |
|
245 |
$RPM_BUILD_ROOT%{_libdir}/python%{majmin}/config/Makefile |
|
246 |
perl -pi -e "s|^(CONFIG_ARGS=\s*.*'CPP=)[^']*('.*)\$|\$1%{_libdir}/python%{majmin}/pycc -E\$2|" \ |
|
247 |
$RPM_BUILD_ROOT%{_libdir}/python%{majmin}/config/Makefile |
|
248 |
||
249 |
# search for vendor packages in /usr/lib/python<version>/vendor-packages |
|
250 |
echo "import site; site.addsitedir('%{_libdir}/python%{majmin}/vendor-packages')" \ |
|
251 |
> $RPM_BUILD_ROOT%{_libdir}/python%{majmin}/site-packages/vendor-packages.pth |
|
252 |
mkdir -p $RPM_BUILD_ROOT%{_libdir}/python%{majmin}/vendor-packages |
|
253 |
||
254 |
# delete stuff that doesn't build/work on Solaris: |
|
255 |
rm $RPM_BUILD_ROOT%{_libdir}/python?.?/config/lib*.a |
|
256 |
rm -r $RPM_BUILD_ROOT%{_libdir}/python?.?/bsddb |
|
257 |
||
258 |
echo deleting pyo files |
|
259 |
find $RPM_BUILD_ROOT -name '*.pyo' -exec rm {} \; |
|
260 |
||
261 |
install -m 755 %SOURCE1 $RPM_BUILD_ROOT%{_libdir}/python%{majmin}/test/ |
|
262 |
install -m 755 %SOURCE2 $RPM_BUILD_ROOT%{_libdir}/python%{majmin}/test/ |
|
263 |
||
264 |
# FIXME: because python 2.5 is not the default |
|
265 |
rm $RPM_BUILD_ROOT%{_bindir}/idle |
|
266 |
rm $RPM_BUILD_ROOT%{_bindir}/pydoc |
|
267 |
||
268 |
cd $RPM_BUILD_ROOT%{_bindir} |
|
269 |
rm python |
|
270 |
||
271 |
mkdir -p %{base_isa} |
|
272 |
mv python%{majmin} %{base_isa}/isapython%{majmin} |
|
273 |
ln -s %{base_isa}/isapython%{majmin} python%{majmin} |
|
274 |
||
275 |
%ifarch amd64 sparcv9 |
|
276 |
cd %{_arch64} |
|
277 |
rm python |
|
278 |
rm python-config |
|
279 |
mv python%{majmin} isapython%{majmin} |
|
280 |
ln -s isapython%{majmin} python%{majmin} |
|
281 |
# don't need a 64-bit version of this tool |
|
282 |
rm 2to3 |
|
283 |
cd .. |
|
284 |
%endif |
|
285 |
||
286 |
ln -s ../lib/isaexec isapython%{majmin} |
|
287 |
# FIXME: because python 2.5 is not the default |
|
288 |
# ln -s python%{majmin} python |
|
289 |
rm python-config |
|
290 |
||
291 |
||
292 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT} |
|
293 |
||
294 |
%clean |
|
295 |
rm -rf $RPM_BUILD_ROOT |
|
296 |
||
297 |
%files |
|
298 |
%defattr (-, root, bin) |
|
299 |
%dir %attr (0755, root, bin) %{_bindir} |
|
300 |
%{_bindir}/python%{majmin} |
|
301 |
# hard link to isaexec |
|
302 |
%hard %{_bindir}/isapython%{majmin} |
|
303 |
%dir %attr (0755, root, bin) %{_bindir}/%{base_isa} |
|
304 |
%{_bindir}/%{base_isa}/isapython%{majmin} |
|
305 |
# FIXME: conflicts with python2.4 |
|
306 |
#%{_prefix}/demo/python/smtpd.py |
|
307 |
%dir %attr (0755, root, bin) %{_libdir} |
|
308 |
%{_libdir}/python?.?/LICENSE.txt |
|
309 |
%{_libdir}/python?.?/*.py* |
|
310 |
%{_libdir}/python?.?/*.doc |
|
311 |
%{_libdir}/python?.?/compiler |
|
312 |
%{_libdir}/python?.?/email |
|
313 |
%{_libdir}/python?.?/encodings |
|
314 |
%{_libdir}/python?.?/hotshot |
|
315 |
%{_libdir}/python?.?/idlelib |
|
316 |
%{_libdir}/python?.?/json |
|
317 |
%{_libdir}/python?.?/lib-dynload |
|
318 |
%{_libdir}/python?.?/lib-tk |
|
319 |
%{_libdir}/python?.?/lib-old |
|
320 |
%{_libdir}/python?.?/logging |
|
321 |
%{_libdir}/python?.?/multiprocessing |
|
322 |
%{_libdir}/python?.?/plat-* |
|
323 |
%{_libdir}/python?.?/site-packages |
|
324 |
%{_libdir}/python?.?/vendor-packages |
|
325 |
%{_libdir}/python?.?/xml |
|
326 |
%{_libdir}/python?.?/curses |
|
327 |
%{_libdir}/python?.?/sqlite3 |
|
328 |
%{_libdir}/python?.?/wsgiref |
|
329 |
%{_libdir}/python?.?/wsgiref.egg-info |
|
330 |
%{_libdir}/python?.?/ctypes |
|
331 |
%{_libdir}/lib*.so* |
|
332 |
%ifarch sparcv9 amd64 |
|
333 |
%dir %attr(0755, root, bin) %{_libdir}/%{_arch64} |
|
334 |
%{_libdir}/%{_arch64}/lib*.so* |
|
335 |
%dir %attr(0755, root, bin) %{_bindir}/%{_arch64} |
|
336 |
%{_bindir}/%{_arch64}/python%{majmin} |
|
337 |
%{_bindir}/%{_arch64}/isapython%{majmin} |
|
338 |
%endif |
|
339 |
%dir %attr(0755, root, sys) %{_datadir} |
|
340 |
%dir %attr(0755, root, bin) %{_mandir} |
|
341 |
%dir %attr(0755, root, bin) %{_mandir}/* |
|
342 |
%{_mandir}/*/* |
|
343 |
%doc(bzip2) -d Python-%{version} README |
|
344 |
%doc -d Python-%{version} LICENSE |
|
14819 | 345 |
%dir %attr (0755, root, other) %{_datadir}/doc |
14736 | 346 |
|
347 |
%files devel |
|
348 |
%defattr (-, root, bin) |
|
349 |
%dir %attr (0755, root, bin) %{_bindir} |
|
350 |
%{_bindir}/python*-config |
|
351 |
%{_bindir}/2to3 |
|
352 |
%ifarch sparcv9 amd64 |
|
353 |
%dir %attr(0755, root, bin) %{_bindir}/%{_arch64} |
|
354 |
%{_bindir}/%{_arch64}/python%{majmin}-config |
|
355 |
%endif |
|
356 |
%dir %attr (0755, root, bin) %{_includedir} |
|
357 |
%{_includedir}/* |
|
358 |
%{_libdir}/python?.?/config |
|
359 |
%{_libdir}/python?.?/distutils |
|
360 |
%{_libdir}/python?.?/lib2to3 |
|
361 |
%{_libdir}/python?.?/test |
|
362 |
%{_libdir}/python?.?/py[cC][cC] |
|
363 |
||
364 |
%changelog |
|
15372 | 365 |
* Thu Mar 12 2009 - [email protected] |
366 |
- change bugdb to http://bugs.python.org/issue |
|
367 |
- correct the comment format of patch14 |
|
15136 | 368 |
* Wed Feb 18 2009 - [email protected] |
369 |
- add patch14 to make ctypes.util.find_library use crle instead of ldconfig |
|
14969 | 370 |
* Fri Jan 23 2009 - [email protected] |
371 |
- add patch cflags.diff, fixes 6792612 |
|
14849 | 372 |
* Tue Jan 06 2009 - [email protected] |
14842 | 373 |
- add patch encoding-alias.diff for Solaris encodings. |
14736 | 374 |
* Wed Sep 17 2008 - [email protected] |
375 |
- delete the python-config symlink until python 2.5 becomes the default |
|
376 |
- move %{_arch64}/python25-config to -devel |
|
377 |
* Thu Aug 28 2008 - [email protected] |
|
378 |
- add patch dlpi.diff |
|
379 |
* Mon Aug 18 2008 - [email protected] |
|
380 |
- port remaining patches from 2.4 |
|
381 |
* Wed Aug 8 2007 - [email protected] |
|
382 |
- add patch shared-expat.diff, fixes 6544688 |
|
383 |
* Tue Mar 27 2007 - [email protected] |
|
384 |
- set DFLAGS to fix phelper.d build |
|
385 |
* Wed Mar 23 2007 - [email protected] |
|
386 |
- add patches dtrace.diff and pty-leak.diff |
|
387 |
* Wed Mar 15 2007 - [email protected] |
|
388 |
- Removed CC64. Not needed anymore |
|
389 |
* Mon Feb 5 2007 - [email protected] |
|
390 |
- add --with-pydebug configure option if --with-debug option (of pkgbuild) |
|
391 |
is used |
|
392 |
* Mon Feb 5 2007 - [email protected] |
|
393 |
- restore some rm lines in %install that were accidentally deleted when |
|
394 |
I removed Python 2.3 |
|
395 |
* Mon Feb 5 2007 - [email protected] |
|
396 |
- Delete bsddb files if SUNWevolution-bdb-devel is not installed. |
|
397 |
* Sun Feb 4 2007 - [email protected] |
|
398 |
- remove python 2.3 as per PSARC/2006/666 |
|
399 |
- define bsddb subpkg which gets built if SUNWevolution-bdb-devel is |
|
400 |
installed |
|
401 |
* Tue Dec 05 2006 - [email protected] |
|
402 |
- Remove "-j$CPUS" from 'make' calls to fix (parallel) build errors. |
|
403 |
* Sat Nov 4 2006 - [email protected] |
|
404 |
- bump to 2.4.4. (also fixes 6483597) |
|
405 |
- add the curses module to %files |
|
406 |
* Tue Oct 3 2006 - [email protected] |
|
407 |
- add patch Python-06-write_compiled_module-atomic.diff, fixes 6463378 |
|
408 |
- make the patches not create .patch<n> backup files because some of them |
|
409 |
ended up in the packages |
|
410 |
- fix the path to the python interpreter in the .py files before they |
|
411 |
are compiled, fixes 6469243; |
|
412 |
* Mon Sep 18 2006 - [email protected] |
|
413 |
- 64-bit python changes |
|
414 |
- Python-01-solaris-lib-dirs.diff: (update) merge for 2.4.3 and fix ssl |
|
415 |
libdir part so that it uses a 64-bit libdir when built in 64-bit mode |
|
416 |
- Python-02-pycc.diff: (update) reset IFS correctly; use = not ==; |
|
417 |
add some hacks at the bottom to use the right gcc options, so 64-bit |
|
418 |
can build |
|
419 |
- Python-03-distutils-pycc.diff: force using pycc/pyCC so that CC/CXX |
|
420 |
CFLAGS/LDFLAGS are picked up from the environment |
|
421 |
- Python-04-distutils-log.diff: fix log.info commands so that they work |
|
422 |
when the '%' char appears in a compiler flags |
|
423 |
- Python-05-isalibs.diff: (new) make .so's be generated as foo.so, |
|
424 |
64/foo.so; some really nasty fixes to pyconfig.h: we cannot use the |
|
425 |
compile-time version of SIZEOF, so we hack them in using _LP64. |
|
426 |
We use PY_CHECK_SIZEOF to avoid autoconf automatically adding them |
|
427 |
to pyconfig.h; in the Makefile, make python obey libdir for libpython, |
|
428 |
but still put the generic stuff in /usr/lib/python2.4 |
|
429 |
(not /usr/lib/amd64/python2.4...) |
|
430 |
* Fri Jul 21 2006 - [email protected] |
|
431 |
- Bump to 2.4.3. |
|
432 |
* Tue Jun 20 2006 - [email protected] |
|
433 |
- Add BuildRequires of the openssl libraries package (already a 'Requires'). |
|
434 |
* Tue May 09 2006 - [email protected] |
|
435 |
- merge -share pkg(s) into the base pkg(s) |
|
436 |
* Sun Oct 30 2005 - [email protected] |
|
437 |
- change interpreter in python scripts to full path to the appropriate |
|
438 |
version (/usr/bin/python2.4 or /usr/sfw/bin/python2.3), fixes 6318475 |
|
439 |
- set the C/C++ compiler in the distutils Makefile to the pycc/pyCC |
|
440 |
wrapper scripts, fixes 6247860 |
|
441 |
* Fri Oct 28 2005 - [email protected] |
|
442 |
- update to 2.4.2 |
|
443 |
- build shared libpython and remove the static one, fixes 6199942 |
|
444 |
- remove XOPEN/POSIX defines from pyconfig.h: fixes 6240077 |
|
445 |
- add missing dependencies, fixes 6318436 |
|
446 |
* Tue Sep 27 2005 - [email protected] |
|
447 |
- omit some unnecessary compiler flags |
|
448 |
- remove .pyo files |
|
449 |
- add a pth file to site-packages that tells python to search for modules |
|
450 |
in the vendor-packages directory too |
|
451 |
- change default permissions to root:bin. |
|
452 |
* Wed Oct 19 2005 - [email protected] |
|
453 |
- Add another missing runtime dependency, SUNWlibmsr, fixes 6208617. |
|
454 |
- Move Pyrex to SUNWPython-extra.spec file. |
|
455 |
* Tue Sep 20 2005 - [email protected] |
|
456 |
- move python 2.4.1 to /usr and keep python 2.3 in /usr/sfw for backcompat |
|
457 |
- omit -xregs=no%frameptr as it breaks the build |
|
458 |
* Fri Aug 26 2005 - [email protected] |
|
459 |
- update to 2.4.1 |
|
460 |
* Tue Aug 02 2005 - [email protected] |
|
461 |
- added SUNWsfwhea build dependency needed for expat headers |
|
462 |
* Tue Aug 02 2005 - [email protected] |
|
463 |
- Add SUNWlexpt dependency as the Expat library is required for building. |
|
464 |
* Fri Jul 29 2005 - [email protected] |
|
465 |
- Add missing runtime dependencies, fixes 6208617. |
|
466 |
* Sun Nov 14 2004 - [email protected] |
|
467 |
- add /usr/sfw/lib to RPATH |
|
468 |
* Fri Oct 22 2004 - [email protected] |
|
469 |
- remove bsddb bits (won't work without bsd db itself), fixes 6176600 |
|
470 |
* Sat Oct 02 2004 - [email protected] |
|
471 |
- added %pkgbuild_postprocess |
|
472 |
* Sat Sep 18 2004 - [email protected] |
|
473 |
- move to /usr/sfw |
|
474 |
* Tue Jun 22 2004 - [email protected] |
|
475 |
- changed install location to /usr/lib and /usr/bin |
|
476 |
* Fri Mar 05 2005 - [email protected] |
|
477 |
- remove package root def'n |
|
478 |
* Thu Mar 04 2004 - [email protected] |
|
479 |
- initial version added to CVS |