From 807a2452d82666134140efafbdf0419370390050 Mon Sep 17 00:00:00 2001 From: si-gui <245140120@qq.com> Date: Thu, 18 Mar 2021 15:01:15 +0800 Subject: [PATCH] delete rpath in some binaries --- texlive-base.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/texlive-base.spec b/texlive-base.spec index 8e07f2a..f0d9922 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 -- Gitee