!29 [sync] PR-28: remove rpath
From: @openeuler-sync-bot Reviewed-by: @zhang__3125 Signed-off-by: @zhang__3125
This commit is contained in:
commit
2b9aa62bee
@ -36,7 +36,7 @@
|
||||
|
||||
Name: evolution-data-server
|
||||
Version: 3.44.3
|
||||
Release: 3
|
||||
Release: 4
|
||||
Summary: Backend data server for Evolution
|
||||
License: LGPLv2+
|
||||
URL: https://wiki.gnome.org/Apps/Evolution
|
||||
@ -58,6 +58,7 @@ BuildRequires: libgdata-devel >= %{libgdata_version} libical-devel >= %{libical
|
||||
BuildRequires: libsoup3-devel >= %{libsoup_version} nss-devel >= %{nss_version}
|
||||
BuildRequires: libxml2-devel sqlite-devel >= %{sqlite_version} json-glib-devel >= %{json_glib_version}
|
||||
BuildRequires: pkgconfig(webkit2gtk-4.0) >= %{webkit2gtk_version} pkgconfig(goa-1.0) >= %{goa_version}
|
||||
BuildRequires: chrpath
|
||||
|
||||
%description
|
||||
The evolution-data-server package provides a personal information management application that provides integrated
|
||||
@ -136,6 +137,30 @@ 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-subprocess
|
||||
chrpath -d %{buildroot}%{_libexecdir}/evolution-user-prompter
|
||||
chrpath -d %{buildroot}%{_libexecdir}/evolution-calendar-factory
|
||||
chrpath -d %{buildroot}%{_libexecdir}/camel-index-control-1.2
|
||||
chrpath -d %{buildroot}%{_libexecdir}/evolution-source-registry
|
||||
chrpath -d %{buildroot}%{_libexecdir}/evolution-scan-gconf-tree-xml
|
||||
|
||||
chrpath -d %{buildroot}%{_libexecdir}/%{name}/evolution-alarm-notify
|
||||
chrpath -d %{buildroot}%{_libexecdir}/%{name}/list-sources
|
||||
chrpath -d %{buildroot}%{_libexecdir}/%{name}/addressbook-export
|
||||
|
||||
mkdir -p %{buildroot}/etc/ld.so.conf.d
|
||||
echo "%{_libdir}/%{name}" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun
|
||||
@ -271,6 +296,8 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
|
||||
%{modules_dir}/module-webdav-backend.so
|
||||
%{modules_dir}/module-yahoo-backend.so
|
||||
|
||||
%config(noreplace) /etc/ld.so.conf.d/*
|
||||
|
||||
%files devel
|
||||
%{_includedir}/evolution-data-server
|
||||
%{_libdir}/libcamel-1.2.so
|
||||
@ -331,6 +358,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
|
||||
%{_libexecdir}/evolution-data-server/csv2vcard
|
||||
|
||||
%changelog
|
||||
* Wed Aug 24 2022 caodongxia <caodongxia@h-partners.com> -3.44.3-4
|
||||
- Remove rpath
|
||||
|
||||
* Fri Jul 22 2022 caodongxia <caodongxia@h-partners.com> - 3.44.3-3
|
||||
- Remove unless find-lang.sh during posttrans
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user