- update some comments in specfile relating to gdb work
- manually byte-compile the gdb.py file with the freshly-built python to
ensure that .pyx and .pyo files make it into the debuginfo manifest if
they are later byte-compiled after find-debuginfo.sh is run
%%{_prefix}/lib/debug/%%{_libdir}/INSTSONAME.debug-gdb.py to avoid
noise from ldconfig (bug 562980), and which should also ensure it
becomes part of the debuginfo subpackage, rather than the libs
subpackage
- introduce %%{py_SOVERSION} and %%{py_INSTSONAME} to reflect the upstream
configure script, and to avoid fragile scripts that try to figure this
out dynamically (e.g. for the -gdb.py change)
- set %%{_python_bytecompile_errors_terminate_build} to 0 to prevent the
broken test files from killing the build on buildroots where python is
installed
- update libs requirement on base package to use %%{name} for consistency's
sake
- convert from backticks to $() syntax throughout
- wrap value of LD_LIBRARY_PATH in quotes
- convert "/usr/bin/find" requirement to "findutils"
- remove trailing periods from summaries of -devel and -tools subpackages
- fix spelling mistake in description of -test subpackage
- convert usage of $$RPM_BUILD_ROOT to %%{buildroot} throughout, for
stylistic consistency
- supply dirmode arguments to defattr directives
build of pyexpat and elementtree modules
- add patch adapted from upstream (patch 3) to add support for building
against system expat; add --with-system-expat to "configure" invocation
- remove embedded copy of expat from source tree during "prep"
throughout: %%{pylibdir}, %%{dynload_dir}, %%{site_packages}
- explicitly list all lib-dynload files, rather than dynamically gathering
the payload into a temporary text file, so that we can be sure what we
are shipping; remove now-redundant testing for presence of certain .so
files
- remove embedded copy of zlib from source tree before building
curses configuration in Modules/Setup.dist, so that the curses modules
are built using setup.py with the downstream default (linking against
libncursesw.so, rather than libncurses.so), rather than within the
Makefile; add a test to %%install to verify the dso files that the
curses module is linked against the correct DSO (bug 539917; changes
_cursesmodule.so -> _curses.so)
- use the %%{_isa} macro to ensure that the python-devel dependency on
python is for the correct multilib arch (#555943)
- delete bundled copy of libffi to make sure we use the system one
- replace references to /usr with %%{_prefix}; replace references to
/usr/include with %%{_includedir}
issue 2422; patch 52)
- add patch from Josh Boyer containing diff against upstream PyBSDDB to
make the bsddb module compile against db-4.8 (patch 53, #544275); bump
the necessary version of db4-devel to 4.8
- patch setup.py so that it searches for db-4.8, and enable debug output
for said search; make Setup.dist use db-4.8 (patch 54)
- Relates: rhbz#418621
- Add new API from 2.6, set_wakeup_fd ... use at own risk, presumably won't
- change but I have no control to guarantee that.
- Resolves: rhbz#427794
- Add gdbinit support file, as doc, to python-devel