[packages/sbcl] - controller bugfixes

qboosh qboosh at pld-linux.org
Mon Oct 10 20:26:42 CEST 2016


commit db31b6d05628ea26e66df79d5dfd2dbb4150e3d1
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Oct 10 20:28:47 2016 +0200

    - controller bugfixes

 sbcl.spec | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/sbcl.spec b/sbcl.spec
index d235e2b..170e33a 100644
--- a/sbcl.spec
+++ b/sbcl.spec
@@ -167,16 +167,17 @@ rm -rf $RPM_BUILD_ROOT
 
 %post
 %env_update
-%if %{with common_lisp_controller}
+%if %{with cl_controller}
+test -f %{_libdir}/%{name}/sbcl.core || cp -p %{_libdir}/%{name}/sbcl-dist.core %{_libdir}/%{name}/sbcl.core
 /usr/sbin/register-common-lisp-implementation sbcl >/dev/null 2>&1 ||:
 %endif
 
 %postun
 %env_update
 
-%if %{with common_lisp_controller}
+%if %{with cl_controller}
 if [ $1 -eq 0 ]; then
-    /usr/sbin/unregister-common-lisp-implementation sbcl >/dev/null 2>&1 ||:
+	/usr/sbin/unregister-common-lisp-implementation sbcl >/dev/null 2>&1 ||:
 endif
 %endif
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/sbcl.git/commitdiff/db31b6d05628ea26e66df79d5dfd2dbb4150e3d1



More information about the pld-cvs-commit mailing list