From 2699e3706a785759a6abda5d19c727f0b1ced3d9 Mon Sep 17 00:00:00 2001 From: Matej Stuchlik Date: Jun 19 2015 09:56:26 +0000 Subject: Make relocating Python by changing _prefix work --- diff --git a/python3.spec b/python3.spec index 7c6b68b..fcd3d15 100644 --- a/python3.spec +++ b/python3.spec @@ -1236,7 +1236,7 @@ cp -ar Tools/demo %{buildroot}%{pylibdir}/Tools/ rm -f %{buildroot}%{pylibdir}/email/test/data/audiotest.au %{buildroot}%{pylibdir}/test/audiotest.au %if "%{_lib}" == "lib64" -install -d -m 0755 %{buildroot}/usr/lib/python%{pybasever}/site-packages/__pycache__ +install -d -m 0755 %{buildroot}/%{_prefix}/lib/python%{pybasever}/site-packages/__pycache__ %endif # Make python3-devel multilib-ready (bug #192747, #139911) @@ -1912,6 +1912,10 @@ rm -fr %{buildroot} * Thu Jun 18 2015 Fedora Release Engineering - 3.4.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild +* Wed Jun 17 2015 Matej Stuchlik - 3.4.3-3 +- Make relocating Python by changing _prefix actually work +Resolves: rhbz#1231801 + * Mon May 4 2015 Peter Robinson 3.4.3-2 - Disable test_gdb on aarch64 (rhbz#1196181), it joins all other non x86 arches