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
This commit is contained in:
OBS User autobuild 2010-02-05 12:55:54 +00:00 committed by Git OBS Bridge
parent b557378c0d
commit 804883eb48
4 changed files with 10 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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}

View File

@ -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