Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
cb462f29
Kaydet (Commit)
cb462f29
authored
Eki 07, 2002
tarafından
Martin v. Löwis
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Patch #619352: Update for 2.2.2b1. Install python2 and python2.2.
Add Makefile.pre.in to -devel.
üst
ca514924
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
15 deletions
+26
-15
python-2.2.spec
Misc/RPM/python-2.2.spec
+26
-15
No files found.
Misc/RPM/python-2.2.spec
Dosyayı görüntüle @
cb462f29
...
@@ -4,39 +4,34 @@
...
@@ -4,39 +4,34 @@
# Is the resulting package and the installed binary named "python" or
# Is the resulting package and the installed binary named "python" or
# "python2"?
# "python2"?
#WARNING: Commenting out doesn't work. Last line is what's used.
# Valid values: [none/2/2.2]
%define config_binsuffix none
%define config_binsuffix 2.2.2b1
%define config_binsuffix 2
# Build tkinter? "auto" enables it if /usr/bin/wish exists.
# Build tkinter? "auto" enables it if /usr/bin/wish exists.
#WARNING: Commenting out doesn't work. Last line is what's used.
# Valid values: [no/yes/auto]
%define config_tkinter no
%define config_tkinter yes
%define config_tkinter auto
%define config_tkinter auto
# Use pymalloc? The last line (commented or not) determines wether
# Use pymalloc? The last line (commented or not) determines wether
# pymalloc is used.
# pymalloc is used.
#WARNING: Commenting out doesn't work. Last line is what's used.
# Valid values: [no/yes]
%define config_pymalloc yes
%define config_pymalloc no
%define config_pymalloc no
# Enable IPV6?
# Enable IPV6?
#WARNING: Commenting out doesn't work. Last line is what's used.
# Valid values: [no/yes/auto]
%define config_ipv6 yes
%define config_ipv6 auto
%define config_ipv6 no
#################################
#################################
# End of user-modifiable configs
# End of user-modifiable configs
#################################
#################################
%define name python
%define name python
%define version 2.2.1
%define version 2.2.
2b
1
%define release 1
%define release 1
%define __prefix /usr
%define __prefix /usr
%define libvers %(echo "%{version}" | awk -F. '{ printf "%s.%s", $1, $2 }')
%define libvers %(echo "%{version}" | awk -F. '{ printf "%s.%s", $1, $2 }')
# kludge to get around rpm <percent>define weirdness
# kludge to get around rpm <percent>define weirdness
%define ipv6 %(if [ "%{config_ipv6}" = yes ]; then echo --enable-ipv6; else
echo --disable-ipv6
; fi)
%define ipv6 %(if [ "%{config_ipv6}" = yes ]; then echo --enable-ipv6; else
if [ "%{config_ipv6}" == auto ]; then echo; else echo --disable-ipv6; fi
; fi)
%define pymalloc %(if [ "%{config_pymalloc}" = yes ]; then echo --with-pymalloc; else echo --without-pymalloc; fi)
%define pymalloc %(if [ "%{config_pymalloc}" = yes ]; then echo --with-pymalloc; else echo --without-pymalloc; fi)
%define binsuffix %(if [ "%{config_binsuffix}" = none ]; then echo ; else echo "%{config_binsuffix}"; fi)
%define binsuffix %(if [ "%{config_binsuffix}" = none ]; then echo ; else echo "%{config_binsuffix}"; fi)
%define include_tkinter %(if [ \\( "%{config_tkinter}" = auto -a -f /usr/bin/wish \\) -o "%{config_tkinter}" = yes ]; then echo 1; else echo 0; fi)
%define include_tkinter %(if [ \\( "%{config_tkinter}" = auto -a -f /usr/bin/wish \\) -o "%{config_tkinter}" = yes ]; then echo 1; else echo 0; fi)
...
@@ -127,7 +122,19 @@ formats.
...
@@ -127,7 +122,19 @@ formats.
%endif
%endif
%changelog
%changelog
* Tue Mar 26 2002 Sean Reifschneider <jafo-rpms@tummy.com>
* Sun Oct 06 2002 Sean Reifschneider <jafo-rpms@tummy.com>
[Release 2.2.2b1-1]
- Updated for the 2.2.2b1 release.
- Changing ipv6 settings to include "auto" which will let configure
figure it out. (suggested by Martin v. Loewis)
- Changing the settable flags at the top of this file.
(suggested by Martin v. Loewis)
[Release 2.2.1-2]
- Enabled IPV6 by default. (Suggested by Pekka Pessi)
- Set up to install python2 and python2.2 when using the suffix.
- Added Makefile.pre.in to -devel.
[Release 2.2.1c2-1]
[Release 2.2.1c2-1]
- Updated to 2.2.1c2.
- Updated to 2.2.1c2.
- Changed build pre-req for db to use file instead of package.
- Changed build pre-req for db to use file instead of package.
...
@@ -218,6 +225,9 @@ echo 'install_dir='"${RPM_BUILD_ROOT}/usr/bin" >>setup.cfg
...
@@ -218,6 +225,9 @@ echo 'install_dir='"${RPM_BUILD_ROOT}/usr/bin" >>setup.cfg
mkdir -p $RPM_BUILD_ROOT%{__prefix}/lib/python%{libvers}/lib-dynload
mkdir -p $RPM_BUILD_ROOT%{__prefix}/lib/python%{libvers}/lib-dynload
make prefix=$RPM_BUILD_ROOT%{__prefix} install
make prefix=$RPM_BUILD_ROOT%{__prefix} install
# copy over Makefile.pre.in
cp Makefile.pre.in Makefile.pre $RPM_BUILD_ROOT%{__prefix}/lib/python%{libvers}/config/
# REPLACE PATH IN PYDOC
# REPLACE PATH IN PYDOC
if [ ! -z "%{binsuffix}" ]
if [ ! -z "%{binsuffix}" ]
then
then
...
@@ -234,7 +244,8 @@ fi
...
@@ -234,7 +244,8 @@ fi
# add the binsuffix
# add the binsuffix
if [ ! -z "%{binsuffix}" ]
if [ ! -z "%{binsuffix}" ]
then
then
( cd $RPM_BUILD_ROOT%{__prefix}/bin; rm -f python[0-9a-zA-Z]*;
( cd $RPM_BUILD_ROOT%{__prefix}/bin;
rm -f python"%{binsuffix}";
mv -f python python"%{binsuffix}" )
mv -f python python"%{binsuffix}" )
( cd $RPM_BUILD_ROOT%{__prefix}/man/man1; mv python.1 python%{binsuffix}.1 )
( cd $RPM_BUILD_ROOT%{__prefix}/man/man1; mv python.1 python%{binsuffix}.1 )
( cd $RPM_BUILD_ROOT%{__prefix}/bin; mv -f pydoc pydoc"%{binsuffix}" )
( cd $RPM_BUILD_ROOT%{__prefix}/bin; mv -f pydoc pydoc"%{binsuffix}" )
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment