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
fb66cd25
Kaydet (Commit)
fb66cd25
authored
Mar 31, 2004
tarafından
Martin v. Löwis
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Patch #924497: find(1) all files with /usr/local/bin/python in them.
Backported to 2.3.
üst
59db96f2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
python-2.3.spec
Misc/RPM/python-2.3.spec
+7
-5
No files found.
Misc/RPM/python-2.3.spec
Dosyayı görüntüle @
fb66cd25
...
...
@@ -32,7 +32,7 @@
%define name python
%define version 2.3.3
%define libvers 2.3
%define release
1
pydotorg
%define release
3
pydotorg
%define __prefix /usr
# kludge to get around rpm <percent>define weirdness
...
...
@@ -127,6 +127,10 @@ formats.
%endif
%changelog
* Sat Mar 27 2003 Sean Reifschneider <jafo-rpms@tummy.com> [2.3.2-3pydotorg]
- Being more agressive about finding the paths to fix for
#!/usr/local/bin/python.
* Sat Feb 07 2004 Sean Reifschneider <jafo-rpms@tummy.com> [2.3.3-2pydotorg]
- Adding code to remove "#!/usr/local/bin/python" from particular files and
causing the RPM build to terminate if there are any unexpected files
...
...
@@ -267,10 +271,8 @@ mkdir -p "$RPM_BUILD_ROOT"/var/www/html/python
%endif
# fix the #! line in installed files
for file in \
usr/lib/python2.3/Tools/scripts/parseentities.py \
usr/lib/python2.3/cgi.py \
usr/lib/python2.3/Tools/faqwiz/faqw.py
find . -type f -print0 | xargs -0 grep -l /usr/local/bin/python |
while read file
do
sed 's|^#!.*python|#!/usr/bin/env python'"%{binsuffix}"'|' \
"$RPM_BUILD_ROOT"/"$file" >/tmp/fix-python-path.$$
...
...
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