mirror of
https://abf.rosa.ru/djam/python38.git
synced 2025-02-23 15:22:50 +00:00
Add comment explaining the need to remove files
This commit is contained in:
parent
57bbf7cf48
commit
c4767bebd2
1 changed files with 2 additions and 0 deletions
|
@ -427,6 +427,8 @@ find %{buildroot} -type f -print | while read -r line ; do
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# When packaging a not system version of Python, these files are named like e.g. 2to3-3.8
|
||||||
|
# These files must not be packaged to avoid conflicts with system python3
|
||||||
rm -fr %{buildroot}%{_bindir}/{2to3,idle3,pydoc,pydoc3,python,python3,python3-config,python-config}
|
rm -fr %{buildroot}%{_bindir}/{2to3,idle3,pydoc,pydoc3,python,python3,python3-config,python-config}
|
||||||
rm -fr %{buildroot}%{_libdir}/libpython3.so
|
rm -fr %{buildroot}%{_libdir}/libpython3.so
|
||||||
rm -fr %{buildroot}%{_libdir}/pkgconfig/python3.pc
|
rm -fr %{buildroot}%{_libdir}/pkgconfig/python3.pc
|
||||||
|
|
Loading…
Add table
Reference in a new issue