diff --git a/texlive-base.spec b/texlive-base.spec index 8e07f2acbf9b54d848d9c4671dadb927e36fc86d..f0d992268cc56151e315bffd1d10a5dcb61efae7 100644 --- a/texlive-base.spec +++ b/texlive-base.spec @@ -4,7 +4,7 @@ Name: texlive-base Version: 20180414 -Release: 29 +Release: 30 Epoch: 7 Summary: TeX formatting system License: ASL 2.0 and Artistic 2.0 and BSD and GFDL and GPL+ and GPLv2 and GPLv3 and Knuth and LGPLv2+ and LGPLv3+ and LPPL and OFL and Public Domain @@ -6045,6 +6045,9 @@ find -type f -exec sed -i '1s|^#!/usr/bin/env python$|#!%{__python3}|' {} + sed -i '1s|^#!/usr/bin/python |#!%{__python3} |' ./%{_datadir}/texlive/texmf-dist/scripts/de-macro/de-macro cd - +find %{buildroot}%{_bindir} -type f -exec sh -c "file {} | grep -Pi ': elf (32|64)-bit' > /dev/null" \; -print | xargs chrpath -d +chrpath -d %{buildroot}%{_libdir}/libptexenc.so.1.3.6 + %pretrans -p path = "/usr/share/texmf" st = posix.stat(path) @@ -8095,6 +8098,9 @@ done <<< "$list" %doc %{_datadir}/texlive/texmf-dist/doc/latex/yplan/ %changelog +* Thu Mar 18 14:50:33 CST 2021 sunguoshuai - 20180414-30 +- delete rpath in some binaries + * Thu Sep 10 2020 baizhonggui - 20180414-29 - modify source0