From: frank Date: Fri, 28 Jan 2005 13:54:32 +0000 (+0000) Subject: reworked dependencies in order to trigger ldconfig at the right time X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69706c0f7596d2281cc8005c3fe094b8a43b9b2a;p=sope reworked dependencies in order to trigger ldconfig at the right time git-svn-id: http://svn.opengroupware.org/SOPE/trunk@531 e4a50df8-12e2-0310-a44c-efbce7f8a7e3 --- diff --git a/maintenance/sope.spec b/maintenance/sope.spec index 20d941e2..009e63ce 100644 --- a/maintenance/sope.spec +++ b/maintenance/sope.spec @@ -63,7 +63,7 @@ name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE. %package core Summary: Core libraries of the SOPE application server Group: Development/Libraries -Requires: sope%{sope_major_version}%{sope_minor_version}-xml +Requires: sope%{sope_major_version}%{sope_minor_version}-xml libfoundation10 AutoReqProv: off %description core @@ -91,7 +91,7 @@ name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE. %package mime Summary: SOPE libraries for MIME processing Group: Development/Libraries -Requires: sope%{sope_major_version}%{sope_minor_version}-core +Requires: sope%{sope_major_version}%{sope_minor_version}-core sope%{sope_major_version}%{sope_minor_version}-xml libfoundation10 AutoReqProv: off %description mime @@ -120,7 +120,7 @@ name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE. %package appserver Summary: SOPE application server libraries Group: Development/Libraries -Requires: sope%{sope_major_version}%{sope_minor_version}-xml sope%{sope_major_version}%{sope_minor_version}-core sope%{sope_major_version}%{sope_minor_version}-mime +Requires: sope%{sope_major_version}%{sope_minor_version}-xml sope%{sope_major_version}%{sope_minor_version}-core sope%{sope_major_version}%{sope_minor_version}-mime libfoundation10 AutoReqProv: off %description appserver @@ -167,7 +167,7 @@ name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE. %package ldap Summary: SOPE libraries for LDAP access Group: Development/Libraries -Requires: sope%{sope_major_version}%{sope_minor_version}-core +Requires: sope%{sope_major_version}%{sope_minor_version}-core sope%{sope_major_version}%{sope_minor_version}-xml libfoundation10 AutoReqProv: off %description ldap @@ -210,7 +210,7 @@ name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE. %package ical Summary: SOPE libraries for iCal handling Group: Development/Libraries -Requires: sope%{sope_major_version}%{sope_minor_version}-xml sope%{sope_major_version}%{sope_minor_version}-core +Requires: sope%{sope_major_version}%{sope_minor_version}-xml sope%{sope_major_version}%{sope_minor_version}-core libfoundation10 AutoReqProv: off %description ical @@ -235,7 +235,7 @@ name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE. %package gdl1 Summary: GNUstep database libraries for SOPE Group: Development/Libraries -Requires: sope%{sope_major_version}%{sope_minor_version}-core +Requires: sope%{sope_major_version}%{sope_minor_version}-core libfoundation10 AutoReqProv: off %description gdl1 @@ -300,7 +300,7 @@ rm -f ${RPM_BUILD_ROOT}%{prefix}/bin/rssparse rm -f ${RPM_BUILD_ROOT}%{prefix}/bin/testqp # ****************************** post ********************************* -%post core +%post appserver if [ $1 = 1 ]; then if [ -d %{_sysconfdir}/ld.so.conf.d ]; then echo "%{prefix}/lib" > %{_sysconfdir}/ld.so.conf.d/sope%{sope_major_version}%{sope_minor_version}.conf @@ -311,7 +311,7 @@ if [ $1 = 1 ]; then fi # ****************************** postun ********************************* -%postun core +%postun appserver if [ $1 = 0 ]; then if [ -e %{_sysconfdir}/ld.so.conf.d/sope%{sope_major_version}%{sope_minor_version}.conf ]; then rm -f %{_sysconfdir}/ld.so.conf.d/sope%{sope_major_version}%{sope_minor_version}.conf @@ -457,6 +457,9 @@ rm -fr ${RPM_BUILD_ROOT} # ********************************* changelog ************************* %changelog +* Fri Jan 28 2005 Frank Reppin +- reworked dependencies +- deal with ld.so.conf in (post|preun) of appserver rather than core * Tue Jan 25 2005 Frank Reppin - fix for OGo Bug #1192 * Tue Jan 11 2005 Frank Reppin