From 7a35892e2a9d924ac24c497d5023b23de375335da18c85049059a8e8400624d6 Mon Sep 17 00:00:00 2001 From: Jan Matejek Date: Thu, 29 Mar 2012 14:11:03 +0000 Subject: [PATCH] fixed filelist OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=115 --- python-base.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/python-base.spec b/python-base.spec index 83e4e47..dc95d1c 100644 --- a/python-base.spec +++ b/python-base.spec @@ -195,7 +195,7 @@ find . -wholename "./Parser" -prune -o -name '*.py' -type f -print0 | xargs -0 g ######################################## %make_install OPT="%{optflags} -fPIC" # install site-specific tweaks -ln -s python%{python_version} %{buildroot}%{_bindir}/python2 +#ln -s python%{python_version} %{buildroot}%{_bindir}/python2 install -m 644 %{SOURCE4} %{buildroot}%{_libdir}/python%{python_version}/distutils install -m 644 %{SOURCE5} %{buildroot}%{_libdir}/python%{python_version}/site-packages install -d -m 755 %{buildroot}%{_sysconfdir}/rpm @@ -250,11 +250,13 @@ cp Makefile Makefile.pre.in Makefile.pre %{buildroot}%{_libdir}/python%{python_v %{_libdir}/libpython*.so %{_libdir}/pkgconfig/python-%{python_version}.pc %{_libdir}/pkgconfig/python.pc +%{_libdir}/pkgconfig/python2.pc %{_includedir}/python* %exclude %{_includedir}/python%{python_version}/pyconfig.h %{_libdir}/python%{python_version}/test %defattr(755, root, root) %{_bindir}/python-config +%{_bindir}/python2-config %{_bindir}/python%{python_version}-config %files -n python-xml @@ -358,7 +360,7 @@ cp Makefile Makefile.pre.in Makefile.pre %{buildroot}%{_libdir}/python%{python_v %{_libdir}/python%{python_version}/lib-dynload/zlib.so %{_libdir}/python%{python_version}/lib-dynload/_codecs*.so %{_libdir}/python%{python_version}/lib-dynload/_multibytecodec.so -%{_libdir}/python%{python_version}/lib-dynload/Python-%{version}-py%{python_version}.egg-info +%{_libdir}/python%{python_version}/lib-dynload/Python-%{tarversion}-py%{python_version}.egg-info # these modules don't support 64-bit arches (disabled by setup.py) %ifnarch alpha ia64 x86_64 s390x ppc64 sparc64 # requires sizeof(int) == sizeof(long) == sizeof(char*)