[packages/python3] - shell aliases commented-out by default

adwol adwol at pld-linux.org
Fri Sep 21 13:59:41 CEST 2018


commit 31f22d7ccfe12485dbacc45a5bb9a359d44d00a7
Author: Adam Osuchowski <adwol at pld-linux.org>
Date:   Fri Sep 21 13:57:47 2018 +0200

    - shell aliases commented-out by default

 python3.spec | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/python3.spec b/python3.spec
index c3bf6d6..7681a48 100644
--- a/python3.spec
+++ b/python3.spec
@@ -592,10 +592,10 @@ ln -s libpython%{py_abi}.so $RPM_BUILD_ROOT%{_libdir}/libpython3.so
 
 # for python devel tools
 for script in timeit profile pdb pstats; do
-	echo "alias ${script}%{py_ver}.py='python%{py_ver} -m ${script}'"
+	echo "#alias ${script}%{py_ver}.py='python%{py_ver} -m ${script}'"
 done > $RPM_BUILD_ROOT/etc/shrc.d/python%{py_ver}-devel.sh
 
-echo "alias pygettext%{py_ver}.py='pygettext%{py_ver}'" \
+echo "#alias pygettext%{py_ver}.py='pygettext%{py_ver}'" \
 	>> $RPM_BUILD_ROOT/etc/shrc.d/python%{py_ver}-devel.sh
 
 sed 's/=/ /' \
@@ -604,7 +604,7 @@ sed 's/=/ /' \
 
 # for python modules
 for script in smtpd webbrowser; do
-	echo "alias ${script}%{py_ver}.py='python%{py_ver} -m ${script}'"
+	echo "#alias ${script}%{py_ver}.py='python%{py_ver} -m ${script}'"
 done > $RPM_BUILD_ROOT/etc/shrc.d/python%{py_ver}-modules.sh
 
 sed 's/=/ /' \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3.git/commitdiff/31f22d7ccfe12485dbacc45a5bb9a359d44d00a7



More information about the pld-cvs-commit mailing list