packages: python3/python3.spec - %install and %files fixes

jajcus jajcus at pld-linux.org
Fri Jul 15 16:01:23 CEST 2011


Author: jajcus                       Date: Fri Jul 15 14:01:23 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- %install and %files fixes

---- Files affected:
packages/python3:
   python3.spec (1.54 -> 1.55) 

---- Diffs:

================================================================
Index: packages/python3/python3.spec
diff -u packages/python3/python3.spec:1.54 packages/python3/python3.spec:1.55
--- packages/python3/python3.spec:1.54	Fri Jul 15 15:39:21 2011
+++ packages/python3/python3.spec	Fri Jul 15 16:01:17 2011
@@ -546,7 +546,7 @@
 install Tools/i18n/pygettext.py $RPM_BUILD_ROOT%{_bindir}/pygettext%{py_ver}
 
 # just to cut the noise, as they are not packaged (now)
-# first tests
+# first tests (probably could be packaged)
 %{__rm} -r $RPM_BUILD_ROOT%{py_scriptdir}/test
 %{__rm} -r $RPM_BUILD_ROOT%{py_scriptdir}/ctypes/test
 %{__rm} -r $RPM_BUILD_ROOT%{py_scriptdir}/distutils/tests
@@ -564,6 +564,13 @@
 %{__rm} $RPM_BUILD_ROOT%{py_scriptdir}/distutils/command/wininst*.exe
 %{__rm} $RPM_BUILD_ROOT%{py_scriptdir}/idlelib/*.bat
 %{__rm} $RPM_BUILD_ROOT%{py_scriptdir}/idlelib/*.pyw
+
+# currently provided by python-2to3, consider switching to this one
+%{__rm} $RPM_BUILD_ROOT%{_bindir}/2to3
+
+# that seems to be only an empty extension template
+%{__rm} $RPM_BUILD_ROOT%{py_dyndir}/xxlimited.*.so
+
 # already in %%doc
 %{__rm} $RPM_BUILD_ROOT%{py_scriptdir}/LICENSE.txt
 
@@ -647,7 +654,7 @@
 
 %{py_scriptdir}/*.py
 
-%{py_dyndir}/Python-%{py_ver}-py*.egg-info
+%{py_dyndir}/Python-%{version}-py*.egg-info
 
 #
 # list .so modules to be sure that all of them are built
@@ -849,7 +856,9 @@
 %attr(755,root,root) %{_libdir}/libpython3.so
 %dir %{py_incdir}
 %{py_incdir}/*.h
+%{_pkgconfigdir}/python3.pc
 %{_pkgconfigdir}/python-%{py_ver}.pc
+%{_pkgconfigdir}/python-%{py_ver}mu.pc
 
 %dir %{py_libdir}/config-%{py_abi}
 %attr(755,root,root) %{py_libdir}/config-%{py_abi}/makesetup
@@ -916,6 +925,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.55  2011/07/15 14:01:17  jajcus
+- %install and %files fixes
+
 Revision 1.54  2011/07/15 13:39:21  jajcus
 - do not include minor number in %%{py_ver}
 
================================================================

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



More information about the pld-cvs-commit mailing list