packages: python3/python3.spec - include __pycache__ subdirs in site-packag...

jajcus jajcus at pld-linux.org
Fri Jul 15 20:47:05 CEST 2011


Author: jajcus                       Date: Fri Jul 15 18:47:05 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- include __pycache__ subdirs in site-packages
- Release: 4

---- Files affected:
packages/python3:
   python3.spec (1.58 -> 1.59) 

---- Diffs:

================================================================
Index: packages/python3/python3.spec
diff -u packages/python3/python3.spec:1.58 packages/python3/python3.spec:1.59
--- packages/python3/python3.spec:1.58	Fri Jul 15 20:20:10 2011
+++ packages/python3/python3.spec	Fri Jul 15 20:46:59 2011
@@ -35,7 +35,7 @@
 Summary(uk.UTF-8):	Мова програмування дуже високого рівня з X-інтерфейсом
 Name:		python3
 Version:	%{py_ver}.1
-Release:	3
+Release:	4
 Epoch:		1
 License:	PSF
 Group:		Applications
@@ -494,9 +494,9 @@
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}} \
-	$RPM_BUILD_ROOT{%{py_sitedir},%{_mandir}/man1} \
+	$RPM_BUILD_ROOT{%{py_sitedir},%{py_sitescriptdir}}/__pycache__ \
 	$RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} \
-	$RPM_BUILD_ROOT%{_infodir} \
+	$RPM_BUILD_ROOT{%{_infodir},%{_mandir}/man1} \
 	$RPM_BUILD_ROOT/etc/shrc.d
 
 %{__make} install \
@@ -598,8 +598,10 @@
 %dir %{py_libdir}
 %dir %{py_dyndir}
 %dir %{py_sitedir}
+%dir %{py_sitedir}/__pycache__
 %dir %{py_scriptdir}
 %dir %{py_sitescriptdir}
+%dir %{py_sitescriptdir}/__pycache__
 %{py_scriptdir}/__pycache__
 
 # shared modules required by python library
@@ -914,6 +916,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.59  2011/07/15 18:46:59  jajcus
+- include __pycache__ subdirs in site-packages
+- Release: 4
+
 Revision 1.58  2011/07/15 18:20:10  jajcus
 - sysconfig.get_path('purelib') fix (it is our %py3_sitescriptdir)
 - Release: 3
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/python3/python3.spec?r1=1.58&r2=1.59&f=u



More information about the pld-cvs-commit mailing list