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
8099f0e5
Kaydet (Commit)
8099f0e5
authored
Eyl 16, 2000
tarafından
Greg Ward
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Renamed --clean to --no-keep-temp and --noclean to --keep-temp.
üst
84290364
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
bdist_rpm.py
Lib/distutils/command/bdist_rpm.py
+6
-6
No files found.
Lib/distutils/command/bdist_rpm.py
Dosyayı görüntüle @
8099f0e5
...
@@ -97,10 +97,10 @@ class bdist_rpm (Command):
...
@@ -97,10 +97,10 @@ class bdist_rpm (Command):
"capabilities made obsolete by this package"
),
"capabilities made obsolete by this package"
),
# Actions to take when building RPM
# Actions to take when building RPM
(
'clean'
,
None
,
(
'keep-temp'
,
'k'
,
"clean up RPM build directory [default]"
),
(
'no-clean'
,
None
,
"don't clean up RPM build directory"
),
"don't clean up RPM build directory"
),
(
'no-keep-temp'
,
None
,
"clean up RPM build directory [default]"
),
(
'use-rpm-opt-flags'
,
None
,
(
'use-rpm-opt-flags'
,
None
,
"compile with RPM_OPT_FLAGS when building from source RPM"
),
"compile with RPM_OPT_FLAGS when building from source RPM"
),
(
'no-rpm-opt-flags'
,
None
,
(
'no-rpm-opt-flags'
,
None
,
...
@@ -111,7 +111,7 @@ class bdist_rpm (Command):
...
@@ -111,7 +111,7 @@ class bdist_rpm (Command):
"RPM 2 compatibility mode"
),
"RPM 2 compatibility mode"
),
]
]
negative_opt
=
{
'no-
clean'
:
'clean
'
,
negative_opt
=
{
'no-
keep-temp'
:
'keep-temp
'
,
'no-rpm-opt-flags'
:
'use-rpm-opt-flags'
,
'no-rpm-opt-flags'
:
'use-rpm-opt-flags'
,
'rpm2-mode'
:
'rpm3-mode'
}
'rpm2-mode'
:
'rpm3-mode'
}
...
@@ -152,7 +152,7 @@ class bdist_rpm (Command):
...
@@ -152,7 +152,7 @@ class bdist_rpm (Command):
self
.
build_requires
=
None
self
.
build_requires
=
None
self
.
obsoletes
=
None
self
.
obsoletes
=
None
self
.
clean
=
1
self
.
keep_temp
=
0
self
.
use_rpm_opt_flags
=
1
self
.
use_rpm_opt_flags
=
1
self
.
rpm3_mode
=
1
self
.
rpm3_mode
=
1
...
@@ -303,7 +303,7 @@ class bdist_rpm (Command):
...
@@ -303,7 +303,7 @@ class bdist_rpm (Command):
if
self
.
rpm3_mode
:
if
self
.
rpm3_mode
:
rpm_cmd
.
extend
([
'--define'
,
rpm_cmd
.
extend
([
'--define'
,
'_topdir
%
s/
%
s'
%
(
os
.
getcwd
(),
self
.
rpm_base
),])
'_topdir
%
s/
%
s'
%
(
os
.
getcwd
(),
self
.
rpm_base
),])
if
self
.
clean
:
if
not
self
.
keep_temp
:
rpm_cmd
.
append
(
'--clean'
)
rpm_cmd
.
append
(
'--clean'
)
rpm_cmd
.
append
(
spec_path
)
rpm_cmd
.
append
(
spec_path
)
self
.
spawn
(
rpm_cmd
)
self
.
spawn
(
rpm_cmd
)
...
...
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