!21 [sync] PR-15: fix issue:#I63PB2

From: @openeuler-sync-bot 
Reviewed-by: @yeqinglong01 
Signed-off-by: @yeqinglong01
This commit is contained in:
openeuler-ci-bot 2022-12-07 09:35:17 +00:00 committed by Gitee
commit 13c908665e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,7 +1,7 @@
%global debug_package %{nil}
%define specrelease 1%{?dist}
%define specrelease 4%{?dist}
%if 0%{?openeuler}
%define specrelease 3
%define specrelease 4
%endif
Name: deepin-reader
@ -65,6 +65,7 @@ for line in "${dups[@]}"; do
done
chrpath -d %{buildroot}%{_bindir}/%{name}
chrpath -d %{buildroot}/usr/lib/%{name}/*
mkdir -p %{buildroot}/etc/ld.so.conf.d
echo "/usr/lib/%{name}" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf
@ -81,6 +82,9 @@ echo "/usr/lib/%{name}" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf
%config(noreplace) /etc/ld.so.conf.d/%{name}-%{_arch}.conf
%changelog
* Wed Dec 07 2022 liweiganga <liweiganga@uniontech.com> - 5.9.9-4
- fix: remove rpath
* Mon Dec 05 2022 liweiganga <liweiganga@uniontech.com> - 5.9.9-3
- fix: linkfile size and install warning