summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-04-14 16:03:03 +0000
committerCoprDistGit <infra@openeuler.org>2024-04-14 16:03:03 +0000
commit009f839e543675b5009515533788f69b71287c81 (patch)
treecba962d5480c9271c3d6f8b253889c0574dcacbd
parent2a4c888484be8d12bcb110e11b5ef04667716dab (diff)
automatic import of python-av
-rw-r--r--python-av.spec6
1 files changed, 5 insertions, 1 deletions
diff --git a/python-av.spec b/python-av.spec
index 543cbf0..128d848 100644
--- a/python-av.spec
+++ b/python-av.spec
@@ -42,7 +42,11 @@ Summary: %{pkg_summary}
%{pkg_description}
%prep
-echo "alias python=python3" >> ~/.bashrc
+
+cat << EOF | tee -a ~/.bashrc
+alias python=python3
+EOF
+
source ~/.bashrc
%autosetup -p1 -n PyAV-%{pypi_version}