diff --git a/evolution-data-server.spec b/evolution-data-server.spec index 26d801af5f8d395de75b37dd7b629d43741ae9e0..695a9d28c553a8950182bf739fd19db7195fcc8b 100644 --- a/evolution-data-server.spec +++ b/evolution-data-server.spec @@ -2,7 +2,7 @@ Name: evolution-data-server Version: 3.38.4 -Release: 2 +Release: 3 Summary: Backend data server for Evolution License: LGPLv2+ URL: https://wiki.gnome.org/Apps/Evolution @@ -21,6 +21,7 @@ BuildRequires: libgdata-devel >= 0.10.0 libical-devel >= 3.0.7 libsecret-devel BuildRequires: libsoup-devel >= 2.42 webkit2gtk3-devel >= 2.28.0 nss-devel >= 3.14 make BuildRequires: libxml2-devel sqlite-devel >= 3.5 json-glib-devel >= 1.0.4 libcanberra-devel BuildRequires: openldap-devel >= 2.0.11 vala-devel nspr-devel krb5-devel >= 1.11 libicu-devel +BuildRequires: chrpath %description The evolution-data-server package provides a personal information management application that provides integrated @@ -97,14 +98,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 || : @@ -144,6 +178,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 @@ -155,6 +191,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 @@ -164,6 +202,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || : %{_libexecdir}/evolution-data-server/csv2vcard %changelog +* Mon Dec 5 2022 Ge Wang - 3.38.4-3 +- Remove runpath + * Mon Jun 7 2021 weijin deng - 3.38.4-2 - Update Release, Requires, to solve this rmp package depends on itsself when install