Commit Graph

407 Commits

Author SHA1 Message Date
Iryna Shcherbina
ffaa0f3078 Remove unused Postfix argument from InstallPython
It was used for Systemtap hooks, which were removed recently:
dd3cb47629
2018-02-16 18:32:06 +01:00
Iryna Shcherbina
3bbc2a0bdf Fix rpmlint errors: spelling, tabs (bz#1535596) 2018-02-16 18:32:06 +01:00
Iryna Shcherbina
d938460ea1 Remove the python3-tools package (bz#1312030)
For more details see https://bugzilla.redhat.com/show_bug.cgi?id=1312030

Scope:

- Remove the python3-tools package and `Tools/` library
- Move /usr/bin/2to3 to python3-devel
- Move /usr/bin/idle and idlelib to python3-idle
- Provide python3-tools from python3-idle to keep upgrades sane
- Remove tests for tools from python3-tests package

Backported from https://src.fedoraproject.org/rpms/python37/pull-request/4
2018-02-15 21:14:03 +01:00
Miro Hrončok
2bcebb2b16 Fix the name macro in the description 2 2018-02-15 14:35:08 +01:00
Igor Gnatenko
40b8f9ece2
Escape macros in %changelog
Reference: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/Y2ZUKK2B7T2IKXPMODNF6HB2O5T5TS6H/
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-09 09:05:39 +01:00
Charalampos Stratakis
af1dc2628d Fix the name macro in the description 2018-02-08 14:54:08 +01:00
Michal Cyprian
08ffd081b5 Remove sys.executable check from change-user-install-location patch
Resolves: rhbz#1532287
2018-02-07 14:37:45 +01:00
Charalampos Stratakis
14deb52d02 Remove obsolete scriptlets that are now automatic. 2018-02-05 17:50:53 +01:00
Charalampos Stratakis
969d51434e Define TLS cipher suite on build time 2018-02-01 11:20:15 +01:00
Tomas Orsava
be04920913 Disable test_gdb for all arches and test_buffer for ppc64le in anticipation of the F28 mass rebuild
- Re-enable these tests after the mass rebuild when they can be properly
  addressed
2018-01-31 18:55:27 +01:00
Charalampos Stratakis
d623e929ca Restore the PyExc_RecursionErrorInst public symbol 2018-01-23 18:09:30 +01:00
Charalampos Stratakis
434d469259 Synced patch for libxcrypt with upstream 2018-01-23 18:09:27 +01:00
Björn Esser
ce6ec4f16a
Add patch to explicitly link _ctypes module with -ldl (#1537489)
Refactored patch for libxcrypt
Re-enable strict symbol checks in the link editor
2018-01-23 15:39:07 +01:00
Charalampos Stratakis
5a8bf97593 Disable strict symbol checks in the link editor. 2018-01-23 13:22:12 +01:00
Björn Esser
5ea7bf417d
Add patch for libxcrypt 2018-01-22 21:10:32 +01:00
Björn Esser
085ae328d4
Rebuilt for switch to libxcrypt 2018-01-20 23:07:42 +01:00
Charalampos Stratakis
26024771df Fix localeconv() encoding for LC_NUMERIC 2018-01-19 17:36:05 +01:00
Igor Gnatenko
57ec20127d
R: gdbm-devel → R: gdbm for python3-libs
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-01-18 19:41:19 +01:00
Miro Hrončok
1a43a65185 Require large enough gdbm (fixup for previous commit) 2018-01-17 11:50:59 +01:00
Charalampos Stratakis
6e38667b8a Rebuild for reverted gdbm 1:1.13 on F27 2018-01-16 20:36:17 +01:00
Charalampos Stratakis
0077a19780 Update to version 3.6.4
Rebased patches: 189, 262

Dropped patches due to being upstreamed: 277, 279
2018-01-15 15:52:17 +01:00
Charalampos Stratakis
6ff303ee10 Fix the compilation of the nis module.
The headers required to build the nis module were removed
from glibc and they are now provided by the libtirpc and libnsl2
packages, thus adding their respective -devel subpackages as
BuildRequires and the upstream fix to search for the headers
and the shared libraries at the appropriate locations.
2018-01-15 15:31:28 +01:00
Charalampos Stratakis
ec5f432a6e Remove a ppc64 segfault workaround which provided a larger stack for that
arch, as it doesn't seem to affect the build anymore.
2017-12-04 17:53:50 +01:00
Charalampos Stratakis
15a050eb4b Masc two macros in comments that were expanded.
Remove the commented out file for the time shared library.
2017-12-04 14:41:46 +01:00
Charalampos Stratakis
dd3cb47629 Remove our downstream systemtap instrumentation as now upstream provides us
with dtrace hooks.
2017-12-04 14:40:33 +01:00
Miro Hrončok
1f528dac57 Raise the release of platform-python obsoletes for better maintainability 2017-11-21 11:04:48 +01:00
Miro Hrončok
e522c84bc5 Obsolete platform-python and it's subpackages 2017-11-15 16:05:21 +01:00
Charalampos Stratakis
a8c86d3aed Apply the patch 279 correctly. 2017-10-09 13:21:53 +02:00
Charalampos Stratakis
22b8f2b10b Fix memory corruption due to allocator mix (rhbz#1498207) 2017-10-09 13:10:17 +02:00
Charalampos Stratakis
47069ff417 Update to Python 3.6.3
Patches 270, 271, 272 were removed as they have been upstreamed.

Patch 277 was added to fix two hanging tests from test_subprocess.

Added gdb at the build dependencies, since gdb is not anymore in the
buildroot, and that made test_gdb to be skipped.
2017-10-06 13:30:25 +02:00
Miro Hrončok
71718b673e Make the -devel package require redhat-rpm-config
https://bugzilla.redhat.com/show_bug.cgi?id=1217376
https://bugzilla.redhat.com/show_bug.cgi?id=1496757
https://bugzilla.redhat.com/show_bug.cgi?id=1218294

Later should be changed to a specific subpackage.
2017-09-29 12:30:12 +02:00
Miro Hrončok
0652b06063 Move pathfix.py to bindir
See https://github.com/fedora-python/python-rpm-porting/issues/24
2017-09-20 14:16:59 +02:00
Iryna Shcherbina
685fb7bc99 Fix /usr/bin/env dependency from python3-tools (rhbz#1482118) 2017-09-14 15:30:27 +02:00
Iryna Shcherbina
87e35ed7a5 Include -g in LDFLAGS sent to the linker (rhbz#1483222)
Include -g flag for both compilation and linking so that the debugging
information is correctly generated.
2017-09-06 17:19:02 +02:00
Petr Viktorin
7d6b083b83 Add changelog entry for this round of cleanups 2017-09-05 17:31:28 +02:00
Petr Viktorin
15a5ab1694 Make the main description also applicable to the SRPM
Also, add a comment to highlight its dual purpose
2017-09-05 11:54:13 +02:00
Petr Viktorin
7c72174fbd Snipe a typo 2017-09-05 11:54:06 +02:00
Petr Viktorin
4ced9a188e Check %{_lib} rather than hardcode all 64-bit arches
Checking %{lib} isn't guaranteed to determine the word size
correctly, but it works for current arches and is more likely
to stay correct when a new arch are added.
2017-09-05 11:43:32 +02:00
Petr Viktorin
4f6b427d2e Include audiotest.au again
These files were removed because historically they included
a short sound clip from Monty Python shows, which might fall
under copyright.
In 2010 this was replaced upstream by a recording of Guido
van Rossum saying something silly in Dutch. So, there's no
reason to exclude the file anymore.

The bug mentioned in the removed comment is private due to
corporate policy from 2004. Sorry for that!
The problem itself is discussed at: http://bugs.python.org/issue7755
2017-09-05 11:33:00 +02:00
Petr Viktorin
39c4234d48 Remove the %clean section 2017-09-04 16:06:13 +02:00
Petr Viktorin
64593af0dd Move systemtap tapfile installation into the per-build function 2017-09-04 16:06:13 +02:00
Petr Viktorin
6c5169565e Move multilib support for pyconfig.h to the per-build section 2017-09-04 16:06:13 +02:00
Petr Viktorin
474cc9f637 install: Move renaming -devel scripts to the per-build function 2017-09-04 16:06:13 +02:00
Petr Viktorin
ec8375ccf7 Move packaging checks from %install to %check 2017-09-04 16:06:13 +02:00
Petr Viktorin
d54a775b46 Remove some unneeded old cleanups in %install 2017-09-04 16:06:13 +02:00
Petr Viktorin
f86b3d1707 Move creation of site-packages/__pycache__ dirs together 2017-09-04 16:06:13 +02:00
Petr Viktorin
208332b1c9 Clean up the start of the %install section
- Rewrite comments
- Move common part of GDB hook install out of the per-build function
2017-09-04 16:06:13 +02:00
Petr Viktorin
b3fc51be32 Replace ${RPM_BUILD_ROOT} by %{buildroot} 2017-09-04 16:06:13 +02:00
Petr Viktorin
db2797c8b7 Clean up the %build section
- Add more explanatory comments, remove historical notes
- Put configuration options in %%global
- Shell: use $() instead of backticks
- Remove unused aruments to BuildPython()! (fun fact: most were *never* used!)
2017-09-04 16:06:13 +02:00
Petr Viktorin
e441743e28 Don't remove the buildroot in %install 2017-09-04 16:06:13 +02:00