Accepting request 40184 from devel:languages:python:Factory
Copy from devel:languages:python:Factory/python based on submit request 40184 from user matejcik OBS-URL: https://build.opensuse.org/request/show/40184 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python?expand=0&rev=48
This commit is contained in:
parent
a753be95a9
commit
61aa2e864b
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon May 17 17:07:33 CEST 2010 - matejcik@suse.cz
|
||||
|
||||
- dropped audioop.so because of security vulnerabilities
|
||||
(bnc#603255)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 7 20:35:26 CEST 2010 - matejcik@suse.cz
|
||||
|
||||
|
@ -33,7 +33,7 @@ Obsoletes: python-64bit
|
||||
#
|
||||
Summary: Python Interpreter base package
|
||||
Version: 2.6.5
|
||||
Release: 1
|
||||
Release: 2
|
||||
%define tarversion %{version}
|
||||
%define tarname Python-%{tarversion}
|
||||
Source0: %{tarname}.tar.bz2
|
||||
@ -229,8 +229,9 @@ done
|
||||
CLEANUP_DIR="$RPM_BUILD_ROOT%{_libdir}/python%{python_version}"
|
||||
# don't distribute precompiled windows installers (duh)
|
||||
rm -f $CLEANUP_DIR/distutils/command/*.exe
|
||||
# kill imageop.so, it's insecure
|
||||
# kill imageop.so and audioop.so, they are rarely used and insecure
|
||||
rm -f $CLEANUP_DIR/lib-dynload/imageop.so
|
||||
rm -f $CLEANUP_DIR/lib-dynload/audioop.so
|
||||
# remove various things that don't need to be in python-base
|
||||
rm $RPM_BUILD_ROOT%{_bindir}/idle
|
||||
rm -r $CLEANUP_DIR/{curses,bsddb,idlelib,lib-tk,sqlite3}
|
||||
@ -380,7 +381,6 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_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/audioop.so
|
||||
%{_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
|
||||
|
@ -24,7 +24,7 @@ Group: Development/Languages/Python
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Summary: Additional Package Documentation for Python.
|
||||
Version: 2.6
|
||||
Release: 22
|
||||
Release: 23
|
||||
%define pyver 2.6.5
|
||||
BuildArch: noarch
|
||||
%define tarname Python-%{pyver}
|
||||
|
@ -35,7 +35,7 @@ Obsoletes: python-64bit
|
||||
Obsoletes: python-nothreads python21 python-elementtree python-sqlite
|
||||
Summary: Python Interpreter
|
||||
Version: 2.6.5
|
||||
Release: 1
|
||||
Release: 2
|
||||
Requires: python-base = %{version}
|
||||
%define tarversion %{version}
|
||||
%define tarname Python-%{tarversion}
|
||||
|
Loading…
Reference in New Issue
Block a user