[packages/octave] - add missing ldconfig in %post and %postun for gui (needed for liboctgui.so.1)

adwol adwol at pld-linux.org
Sun Feb 21 21:10:28 CET 2016


commit bf203277dc164acef753d005f4619a7c64a8113f
Author: Adam Osuchowski <adwol at pld-linux.org>
Date:   Sun Feb 21 21:09:06 2016 +0100

    - add missing ldconfig in %post and %postun for gui (needed for liboctgui.so.1)

 octave.spec | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/octave.spec b/octave.spec
index 55ce625..a722eac 100644
--- a/octave.spec
+++ b/octave.spec
@@ -400,6 +400,12 @@ rm -rf $RPM_BUILD_ROOT
 %postun	devel -p /sbin/postshell
 -/usr/sbin/fix-info-dir -c %{_infodir}
 
+%post	gui -p /sbin/postshell
+/sbin/ldconfig
+
+%postun	gui -p /sbin/postshell
+/sbin/ldconfig
+
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS BUGS ChangeLog NEWS README
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/octave.git/commitdiff/bf203277dc164acef753d005f4619a7c64a8113f



More information about the pld-cvs-commit mailing list