]> err.no Git - sope/commitdiff
reworked dependencies in order to trigger ldconfig at the right time
authorfrank <frank@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Fri, 28 Jan 2005 13:54:32 +0000 (13:54 +0000)
committerfrank <frank@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Fri, 28 Jan 2005 13:54:32 +0000 (13:54 +0000)
git-svn-id: http://svn.opengroupware.org/SOPE/trunk@531 e4a50df8-12e2-0310-a44c-efbce7f8a7e3

maintenance/sope.spec

index 20d941e24a9d4bb14d7c68e33f3143096cbd8393..009e63ceddb7302032553d7ea54b6f1cda5430cd 100644 (file)
@@ -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 <frank@opengroupware.org>
+- reworked dependencies
+- deal with ld.so.conf in (post|preun) of appserver rather than core
 * Tue Jan 25 2005 Frank Reppin <frank@opengroupware.org>
 - fix for OGo Bug #1192
 * Tue Jan 11 2005 Frank Reppin <frank@opengroupware.org>