Revert "Remove /usr/bin/python link" 72/325172/1 accepted/tizen_base accepted/tizen_base_dev accepted/tizen_base_x tizen_base accepted/tizen/base/20250611.211644 accepted/tizen/base/dev/20250616.062549 accepted/tizen/base/x/20250611.211713
authorDongHun Kwak <dh0128.kwak@samsung.com>
Wed, 4 Jun 2025 06:29:20 +0000 (15:29 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Wed, 4 Jun 2025 06:29:20 +0000 (15:29 +0900)
Change-Id: I57cee5a65d287e05b96975ca4527bfa624254405

packaging/python.spec

index 1d61c16f748ada9c8f5d0947d368930c267d8e24..f37b7546206c2824f3d0e98a7ca894fc875b35f4 100644 (file)
@@ -142,7 +142,7 @@ mkdir -p %{buildroot}%{_prefix}/lib/python%{python_version}/site-packages
 # some cleanups
 ########################################
 # remove hard links and replace them with symlinks
-rm -f %{buildroot}/%{_prefix}/bin/python
+rm -f %{buildroot}/%{_prefix}/bin/python
 
 for dir in include %{_lib} ; do
     rm -f %{buildroot}/%{_prefix}/$dir/python
@@ -306,6 +306,7 @@ rm -rf %{buildroot}%{_libdir}/python%{python_version}/lib-tk
 %doc %{_mandir}/man1/python2.*
 %doc %{_mandir}/man1/python%{python_version}.1*
 %attr(755, root, root) %{_bindir}/pydoc
+%attr(755, root, root) %{_bindir}/python
 %attr(755, root, root) %{_bindir}/python%{python_version}
 %attr(755, root, root) %{_bindir}/smtpd.py
 %{_bindir}/python2