From f002a15ab9f9696606708ffbd27072fe3a0918a4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Cl=C3=A9ment=20DAVID?=
<clement.david(a)scilab-enterprises.com>
Date: Tue, 1 Dec 2015 09:03:36 +0100
Subject: Fix some build potential issue and add more build info
---
scilab.spec | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/scilab.spec b/scilab.spec
index 1d01160..fdfbf55 100644
--- a/scilab.spec
+++ b/scilab.spec
@@ -244,8 +244,9 @@ sed -i '/name="Class-Path"/d' build.incl.xml
iconv -f ISO_8859-1 -t UTF-8 COPYING >COPYING.utf8
mv COPYING.utf8 COPYING
-# Cleanup the builder's home
-rm -fr ~/.Scilab
+# Rename if the builder's home exists
+[ -d ~/.Scilab.before.build -a -d ~/.Scilab ] && rm -fr ~/.Scilab
+[ -d ~/.Scilab ] && mv ~/.Scilab ~/.Scilab.before.build
%build
# disable-static-system-lib: do not static link with compiler libs
@@ -256,7 +257,7 @@ rm -fr ~/.Scilab
--without-emf
make %{?_smp_mflags}
-make %{?_smp_mflags} doc
+make %{?_smp_mflags} doc SCIVERBOSE=1
%install
make %{?_smp_mflags} install DESTDIR=%{buildroot}
--
cgit v0.11.2
http://pkgs.fedoraproject.org/cgit/scilab.git/commit/?h=master&id=f00...