RPM: call ldconfig for libyazpp pkg
authorAdam Dickmeiss <adam@indexdata.dk>
Wed, 8 Sep 2010 18:26:08 +0000 (20:26 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Wed, 8 Sep 2010 18:26:08 +0000 (20:26 +0200)
yazpp.spec.in

index 440d568..d2efcbe 100644 (file)
@@ -49,6 +49,9 @@ rm ${RPM_BUILD_ROOT}/%{_libdir}/*.la
 %clean
 rm -fr ${RPM_BUILD_ROOT}
 
 %clean
 rm -fr ${RPM_BUILD_ROOT}
 
+%post -n libyazpp4 -p /sbin/ldconfig 
+%postun -n libyazpp4 -p /sbin/ldconfig 
+
 %files -n libyazpp4
 %doc README LICENSE NEWS
 %defattr(-,root,root)
 %files -n libyazpp4
 %doc README LICENSE NEWS
 %defattr(-,root,root)