!31 [sync] PR-30: Remove runpath
From: @openeuler-sync-bot Reviewed-by: @small_leek Signed-off-by: @small_leek
This commit is contained in:
commit
166d456a2c
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: evolution-data-server
|
Name: evolution-data-server
|
||||||
Version: 3.38.4
|
Version: 3.38.4
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: Backend data server for Evolution
|
Summary: Backend data server for Evolution
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: https://wiki.gnome.org/Apps/Evolution
|
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: 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: 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: openldap-devel >= 2.0.11 vala-devel nspr-devel krb5-devel >= 1.11 libicu-devel
|
||||||
|
BuildRequires: chrpath
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The evolution-data-server package provides a personal information management application that provides integrated
|
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}
|
%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 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%post devel
|
||||||
|
/sbin/ldconfig
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
if [ $1 -eq 0 ] ; then
|
if [ $1 -eq 0 ] ; then
|
||||||
glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
%postun devel
|
||||||
|
/sbin/ldconfig
|
||||||
|
|
||||||
%posttrans
|
%posttrans
|
||||||
glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
|
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
|
%exclude %{_libexecdir}/%{name}/installed-tests
|
||||||
|
|
||||||
|
%config(noreplace) /etc/ld.so.conf.d/%{name}-%{_arch}.conf
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_includedir}/evolution-data-server
|
%{_includedir}/evolution-data-server
|
||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
@ -155,6 +191,8 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
|
|||||||
|
|
||||||
%{_libexecdir}/%{name}/installed-tests
|
%{_libexecdir}/%{name}/installed-tests
|
||||||
|
|
||||||
|
%config(noreplace)/etc/ld.so.conf.d/%{name}-devel-%{_arch}.conf
|
||||||
|
|
||||||
%files langpacks -f _build/%{name}.lang
|
%files langpacks -f _build/%{name}.lang
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
@ -164,6 +202,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
|
|||||||
%{_libexecdir}/evolution-data-server/csv2vcard
|
%{_libexecdir}/evolution-data-server/csv2vcard
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Dec 5 2022 Ge Wang <wangge20@h-partners.com> - 3.38.4-3
|
||||||
|
- Remove runpath
|
||||||
|
|
||||||
* Mon Jun 7 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 3.38.4-2
|
* Mon Jun 7 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 3.38.4-2
|
||||||
- Update Release, Requires, to solve this rmp package depends on itsself when install
|
- Update Release, Requires, to solve this rmp package depends on itsself when install
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user