[packages/python3] Package compiled py-config.py

jajcus jajcus at pld-linux.org
Wed Dec 2 21:23:27 CET 2015


commit e0b2c81117672beb58ed3a74aef92e3c7b0ffb91
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Wed Dec 2 21:21:47 2015 +0100

    Package compiled py-config.py
    
    Those files would be generated anyway the first time root imports this
    module for whatever reason.

 python3.spec | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/python3.spec b/python3.spec
index 686c8ce..09d439c 100644
--- a/python3.spec
+++ b/python3.spec
@@ -1247,6 +1247,8 @@ rm -rf $RPM_BUILD_ROOT
 %{py_libdir}/config-%{py_abi}/config.c.in
 %{py_libdir}/config-%{py_abi}/python.o
 %{py_libdir}/config-%{py_abi}/python-config.py
+%dir %{py_libdir}/config-%{py_abi}/__pycache__
+%{py_libdir}/config-%{py_abi}/__pycache__/python-config.*
 %{_pkgconfigdir}/python-%{py_ver}.pc
 %{_pkgconfigdir}/python-%{py_abi}.pc
 %{_pkgconfigdir}/python3.pc
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3.git/commitdiff/e0b2c81117672beb58ed3a74aef92e3c7b0ffb91



More information about the pld-cvs-commit mailing list