Remove rpath
This commit is contained in:
parent
f4155397f9
commit
02f3788aab
@ -2,7 +2,7 @@
|
||||
|
||||
Name: evolution-data-server
|
||||
Version: 3.30.1
|
||||
Release: 5
|
||||
Release: 6
|
||||
Summary: Backend data server for Evolution
|
||||
License: LGPLv2+
|
||||
URL: https://wiki.gnome.org/Apps/Evolution
|
||||
@ -25,6 +25,7 @@ BuildRequires: libgdata-devel >= 0.10.0 libical-devel >= 2.0 libsecret-devel >=
|
||||
BuildRequires: libsoup-devel >= 2.42 webkit2gtk3-devel >= 2.11.91 nss-devel >= 3.14
|
||||
BuildRequires: libxml2-devel sqlite-devel >= 3.5 json-glib-devel >= 1.0.4 libcanberra-devel
|
||||
BuildRequires: openldap-devel >= 2.0.11 vala-tools nspr-devel krb5-devel >= 1.11
|
||||
BuildRequires: chrpath
|
||||
|
||||
%description
|
||||
The evolution-data-server package provides a personal information management application that provides integrated
|
||||
@ -99,14 +100,47 @@ find %{buildroot} -name '*.so.*' -exec chmod +x {} \;
|
||||
|
||||
%find_lang %{name}
|
||||
|
||||
chrpath -d %{buildroot}/%{_libdir}/%{name}/calendar-backends/*.so
|
||||
chrpath -d %{buildroot}/%{_libdir}/%{name}/camel-providers/*.so
|
||||
chrpath -d %{buildroot}/%{_libdir}/%{name}/credential-modules/*.so
|
||||
chrpath -d %{buildroot}/%{_libdir}/%{name}/registry-modules/*.so
|
||||
chrpath -d %{buildroot}/%{_libdir}/%{name}/addressbook-backends/*.so
|
||||
|
||||
chrpath -d %{buildroot}%{_libdir}/*.so*
|
||||
chrpath -d %{buildroot}%{_libexecdir}/camel-index-control-1.2
|
||||
chrpath -d %{buildroot}%{_libexecdir}/evolution-addressbook-factory
|
||||
chrpath -d %{buildroot}%{_libexecdir}/evolution-addressbook-factory-subprocess
|
||||
chrpath -d %{buildroot}%{_libexecdir}/evolution-calendar-factory
|
||||
chrpath -d %{buildroot}%{_libexecdir}/evolution-calendar-factory-subprocess
|
||||
chrpath -d %{buildroot}%{_libexecdir}/evolution-scan-gconf-tree-xml
|
||||
chrpath -d %{buildroot}%{_libexecdir}/evolution-source-registry
|
||||
chrpath -d %{buildroot}%{_libexecdir}/evolution-user-prompter
|
||||
|
||||
chrpath -d %{buildroot}%{_libexecdir}/%{name}/evolution-alarm-notify
|
||||
chrpath -d %{buildroot}%{_libexecdir}/%{name}/list-sources
|
||||
chrpath -d %{buildroot}%{_libexecdir}/%{name}/addressbook-export
|
||||
|
||||
chrpath -d %{buildroot}%{_libexecdir}/%{name}/installed-tests/test-*
|
||||
chrpath -d %{buildroot}%{_libexecdir}/%{name}/installed-tests/*-test
|
||||
|
||||
mkdir -p %{buildroot}/etc/ld.so.conf.d
|
||||
echo "%{_libdir}/%{name}" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf
|
||||
echo "%{_libdir}/%{name}" > %{buildroot}/etc/ld.so.conf.d/%{name}-devel-%{_arch}.conf
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%post devel
|
||||
/sbin/ldconfig
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
if [ $1 -eq 0 ] ; then
|
||||
glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
|
||||
fi
|
||||
|
||||
%postun devel
|
||||
/sbin/ldconfig
|
||||
|
||||
%posttrans
|
||||
glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
|
||||
|
||||
@ -146,6 +180,8 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
|
||||
|
||||
%exclude %{_libexecdir}/%{name}/installed-tests
|
||||
|
||||
%config(noreplace) /etc/ld.so.conf.d/%{name}-%{_arch}.conf
|
||||
|
||||
%files devel
|
||||
%{_includedir}/evolution-data-server
|
||||
%{_libdir}/*.so
|
||||
@ -157,6 +193,8 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
|
||||
|
||||
%{_libexecdir}/%{name}/installed-tests
|
||||
|
||||
%config(noreplace)/etc/ld.so.conf.d/%{name}-devel-%{_arch}.conf
|
||||
|
||||
%files langpacks -f _build/%{name}.lang
|
||||
|
||||
%files doc
|
||||
@ -166,6 +204,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
|
||||
%{_libexecdir}/evolution-data-server/csv2vcard
|
||||
|
||||
%changelog
|
||||
* Wed Nov 08 2023 yaoxin <yao_xin001@hoperun.com> - 3.30.1-6
|
||||
- Remove rpath
|
||||
|
||||
* Thu Jul 14 2022 weichao.zhang <weichao.zhang@epro.com.cn> - 3.30.1-5
|
||||
- Fix CVE-2020-14928
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user