This commit is contained in:
parent
eed0cf819e
commit
5ea972e63f
@ -1,2 +1,6 @@
|
|||||||
|
[build_py]
|
||||||
|
optimize=0
|
||||||
|
|
||||||
[install]
|
[install]
|
||||||
prefix=/usr/local
|
prefix=/usr/local
|
||||||
|
optimize=0
|
||||||
|
@ -17,7 +17,7 @@ Group: Development/Languages/Python
|
|||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Summary: Additional Package Documentation for Python.
|
Summary: Additional Package Documentation for Python.
|
||||||
Version: 2.5.1
|
Version: 2.5.1
|
||||||
Release: 15
|
Release: 19
|
||||||
%define pyver %{version}
|
%define pyver %{version}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%define tarname Python-%{pyver}
|
%define tarname Python-%{pyver}
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 3 15:25:32 CEST 2007 - jmatejek@suse.cz
|
||||||
|
|
||||||
|
- replaced duplicate files with hardlinks
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jul 27 14:51:03 CEST 2007 - jmatejek@suse.cz
|
Fri Jul 27 14:51:03 CEST 2007 - jmatejek@suse.cz
|
||||||
|
|
||||||
|
13
python.spec
13
python.spec
@ -11,8 +11,8 @@
|
|||||||
# norootforbuild
|
# norootforbuild
|
||||||
|
|
||||||
Name: python
|
Name: python
|
||||||
BuildRequires: blt db-devel gcc-c++ gdbm-devel gmp-devel libbz2-devel ncurses-devel openssl-devel readline-devel sqlite-devel tk-devel xorg-x11-devel
|
BuildRequires: blt db-devel fdupes gcc-c++ gdbm-devel gmp-devel libbz2-devel libopenssl-devel ncurses-devel readline-devel sqlite-devel tk-devel xorg-x11-devel
|
||||||
Requires: openssl >= 0.9.8e
|
#Requires: openssl >= 0.9.8e
|
||||||
URL: http://www.python.org/
|
URL: http://www.python.org/
|
||||||
License: X11/MIT, PSF LICENSE AGREEMENT FOR PYTHON 2.3
|
License: X11/MIT, PSF LICENSE AGREEMENT FOR PYTHON 2.3
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
@ -20,7 +20,7 @@ Autoreqprov: on
|
|||||||
Obsoletes: python-nothreads python21
|
Obsoletes: python-nothreads python21
|
||||||
Summary: Python Interpreter
|
Summary: Python Interpreter
|
||||||
Version: 2.5.1
|
Version: 2.5.1
|
||||||
Release: 18
|
Release: 23
|
||||||
%define tarname Python-%{version}
|
%define tarname Python-%{version}
|
||||||
Source0: %{tarname}.tar.bz2
|
Source0: %{tarname}.tar.bz2
|
||||||
Source6: README.SUSE
|
Source6: README.SUSE
|
||||||
@ -270,6 +270,11 @@ for dir in bin include %{_lib} ; do
|
|||||||
rm -f $RPM_BUILD_ROOT/%{_prefix}/$dir/python
|
rm -f $RPM_BUILD_ROOT/%{_prefix}/$dir/python
|
||||||
ln -s python%{python_version} $RPM_BUILD_ROOT/%{_prefix}/$dir/python
|
ln -s python%{python_version} $RPM_BUILD_ROOT/%{_prefix}/$dir/python
|
||||||
done
|
done
|
||||||
|
# replace duplicate .pyo/.pyc with hardlinks
|
||||||
|
fdupes -qr1 $RPM_BUILD_ROOT/%{_libdir}/python%{python_version} | \
|
||||||
|
grep '^.*py[oc] .*py[oc] $' | \
|
||||||
|
sed -r 's#^(.*\.py)[oc] .+$#\1c \1o#' | \
|
||||||
|
xargs -L 1 ln -f
|
||||||
########################################
|
########################################
|
||||||
# documentation
|
# documentation
|
||||||
########################################
|
########################################
|
||||||
@ -461,6 +466,8 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%attr(755, root, root) %{_bindir}/smtpd.py
|
%attr(755, root, root) %{_bindir}/smtpd.py
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Aug 03 2007 - jmatejek@suse.cz
|
||||||
|
- replaced duplicate files with hardlinks
|
||||||
* Fri Jul 27 2007 - jmatejek@suse.cz
|
* Fri Jul 27 2007 - jmatejek@suse.cz
|
||||||
- removed emacs python-mode and dependency on emacs
|
- removed emacs python-mode and dependency on emacs
|
||||||
* Fri Jun 08 2007 - jmatejek@suse.cz
|
* Fri Jun 08 2007 - jmatejek@suse.cz
|
||||||
|
Loading…
x
Reference in New Issue
Block a user