!27 [sync] PR-26: remove rpath
From: @openeuler-sync-bot Reviewed-by: @caodongxia Signed-off-by: @caodongxia
This commit is contained in:
commit
a6468f59a0
@ -4,7 +4,7 @@
|
||||
|
||||
Name: texlive-base
|
||||
Version: 20180414
|
||||
Release: 32
|
||||
Release: 33
|
||||
Epoch: 7
|
||||
Summary: TeX formatting system
|
||||
License: ASL 2.0 and LGPL-2.1-only and Zlib and OFL-1.1 and Public Domain and LGPL-2.0-only and GPLv2+ and MPL-1.1 and Libpng and LGPL-3.0-only and BSL-1.0 and GPLv2 and GPLv3 and CPL-1.0 and IJG and MIT and LPPL-1.3c and ICU and psutils
|
||||
@ -385,7 +385,7 @@ BuildRequires: xz libXaw-devel libXi-devel ncurses-devel bison flex file perl(D
|
||||
BuildRequires: gd-devel freetype-devel libpng-devel zlib-devel
|
||||
BuildRequires: zziplib-devel libicu-devel cairo-devel harfbuzz-devel perl-generators pixman-devel graphite2-devel
|
||||
BuildRequires: libpaper-devel autoconf automake libtool libgs-devel
|
||||
BuildRequires: gmp-devel mpfr-devel python3-devel
|
||||
BuildRequires: gmp-devel mpfr-devel python3-devel chrpath
|
||||
Provides: texlive-cjk-gs-integrate = %{epoch}:20180414-%{release}
|
||||
Obsoletes: texlive-cjk-gs-integrate <= 7:20170520
|
||||
Provides: tex-cjk-gs-integrate = %{epoch}:20180414-%{release}
|
||||
@ -6045,6 +6045,18 @@ 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 -
|
||||
|
||||
file `find %{buildroot}/%{_bindir} -type f` | grep -w ELF | awk -F: '{print $1}' | xargs chrpath -d
|
||||
file `find %{buildroot}/%{_libdir} -type f` | grep -w ELF | awk -F: '{print $1}' | xargs chrpath -d
|
||||
|
||||
mkdir -p %{buildroot}/etc/ld.so.conf.d
|
||||
echo "/home/abuild/rpmbuild/BUILD/texlive-20180414-source/source/inst/lib" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
|
||||
%pretrans -p <lua>
|
||||
path = "/usr/share/texmf"
|
||||
st = posix.stat(path)
|
||||
@ -6156,6 +6168,7 @@ done <<< "$list"
|
||||
%{_datadir}/texlive/texmf-var
|
||||
%{_datadir}/texlive/texmf-local/
|
||||
%{_datadir}/texmf
|
||||
%config(noreplace) /etc/ld.so.conf.d/*
|
||||
%ghost %{_datadir}/texmf.rpmmoved
|
||||
%exclude %{_datadir}/texlive/install-tl
|
||||
%exclude %{_datadir}/texlive/tlpkg/gpg/
|
||||
@ -8095,6 +8108,9 @@ done <<< "$list"
|
||||
%doc %{_datadir}/texlive/texmf-dist/doc/latex/yplan/
|
||||
|
||||
%changelog
|
||||
* Sat Jul 30 2022 caodongxia <caodongxia@h-partners.com> - 20180414-33
|
||||
- Remove rpath
|
||||
|
||||
* Tue Aug 24 2021 chenchen <chen_aka_jan@163.com> - 20180414-32
|
||||
- remove useless BuildRequires poppler
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user