fixed filelist
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=115
This commit is contained in:
parent
a2b3f5f125
commit
7a35892e2a
@ -195,7 +195,7 @@ find . -wholename "./Parser" -prune -o -name '*.py' -type f -print0 | xargs -0 g
|
|||||||
########################################
|
########################################
|
||||||
%make_install OPT="%{optflags} -fPIC"
|
%make_install OPT="%{optflags} -fPIC"
|
||||||
# install site-specific tweaks
|
# 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 %{SOURCE4} %{buildroot}%{_libdir}/python%{python_version}/distutils
|
||||||
install -m 644 %{SOURCE5} %{buildroot}%{_libdir}/python%{python_version}/site-packages
|
install -m 644 %{SOURCE5} %{buildroot}%{_libdir}/python%{python_version}/site-packages
|
||||||
install -d -m 755 %{buildroot}%{_sysconfdir}/rpm
|
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}/libpython*.so
|
||||||
%{_libdir}/pkgconfig/python-%{python_version}.pc
|
%{_libdir}/pkgconfig/python-%{python_version}.pc
|
||||||
%{_libdir}/pkgconfig/python.pc
|
%{_libdir}/pkgconfig/python.pc
|
||||||
|
%{_libdir}/pkgconfig/python2.pc
|
||||||
%{_includedir}/python*
|
%{_includedir}/python*
|
||||||
%exclude %{_includedir}/python%{python_version}/pyconfig.h
|
%exclude %{_includedir}/python%{python_version}/pyconfig.h
|
||||||
%{_libdir}/python%{python_version}/test
|
%{_libdir}/python%{python_version}/test
|
||||||
%defattr(755, root, root)
|
%defattr(755, root, root)
|
||||||
%{_bindir}/python-config
|
%{_bindir}/python-config
|
||||||
|
%{_bindir}/python2-config
|
||||||
%{_bindir}/python%{python_version}-config
|
%{_bindir}/python%{python_version}-config
|
||||||
|
|
||||||
%files -n python-xml
|
%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/zlib.so
|
||||||
%{_libdir}/python%{python_version}/lib-dynload/_codecs*.so
|
%{_libdir}/python%{python_version}/lib-dynload/_codecs*.so
|
||||||
%{_libdir}/python%{python_version}/lib-dynload/_multibytecodec.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)
|
# these modules don't support 64-bit arches (disabled by setup.py)
|
||||||
%ifnarch alpha ia64 x86_64 s390x ppc64 sparc64
|
%ifnarch alpha ia64 x86_64 s390x ppc64 sparc64
|
||||||
# requires sizeof(int) == sizeof(long) == sizeof(char*)
|
# requires sizeof(int) == sizeof(long) == sizeof(char*)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user