From 804883eb48bc81e1811a651a6a8f85370481e89fd2f85f512c987737507d7502 Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Fri, 5 Feb 2010 12:55:54 +0000 Subject: [PATCH] Accepting request 31577 from devel:languages:python:Factory Copy from devel:languages:python:Factory/python based on submit request 31577 from user matejcik OBS-URL: https://build.opensuse.org/request/show/31577 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python?expand=0&rev=43 --- python-base.changes | 5 +++++ python-base.spec | 4 +++- python-doc.spec | 2 +- python.spec | 2 +- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/python-base.changes b/python-base.changes index b612b4a..e14ab3f 100644 --- a/python-base.changes +++ b/python-base.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Feb 4 20:46:03 CET 2010 - matejcik@suse.cz + +- removed precompiled exe files (as noted in bnc#577032) + ------------------------------------------------------------------- Fri Jan 29 15:44:15 CET 2010 - matejcik@suse.cz diff --git a/python-base.spec b/python-base.spec index a3cbd6b..1aabd10 100644 --- a/python-base.spec +++ b/python-base.spec @@ -33,7 +33,7 @@ Obsoletes: python-64bit # Summary: Python Interpreter base package Version: 2.6.2 -Release: 8 +Release: 9 %define tarname Python-%{version} Source0: %{tarname}.tar.bz2 Source1: macros.python @@ -230,6 +230,8 @@ for dir in bin include %{_lib} ; do ln -s python%{python_version} $RPM_BUILD_ROOT/%{_prefix}/$dir/python 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 rm -f $CLEANUP_DIR/lib-dynload/imageop.so # remove various things that don't need to be in python-base diff --git a/python-doc.spec b/python-doc.spec index e605d7f..0abe2f8 100644 --- a/python-doc.spec +++ b/python-doc.spec @@ -24,7 +24,7 @@ Group: Development/Languages/Python BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: Additional Package Documentation for Python. Version: 2.6 -Release: 18 +Release: 19 %define pyver 2.6.2 BuildArch: noarch %define tarname Python-%{pyver} diff --git a/python.spec b/python.spec index 4422936..ded52a5 100644 --- a/python.spec +++ b/python.spec @@ -35,7 +35,7 @@ Obsoletes: python-64bit Obsoletes: python-nothreads python21 python-elementtree python-sqlite Summary: Python Interpreter Version: 2.6.2 -Release: 8 +Release: 9 Requires: python-base = %{version} %define tarname Python-%{version} Source0: %{tarname}.tar.bz2