From 323995b4e376bfa04349f28b00ca44e7282ed2c6 Mon Sep 17 00:00:00 2001 From: pcpa Date: Sat, 25 Jul 2015 19:15:46 -0300 Subject: [PATCH 1/3] Use interactive bash on wrappers to work with other login shells (#1238341) --- sagemath.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sagemath.spec b/sagemath.spec index 5cf5bb2..4acb06c 100644 --- a/sagemath.spec +++ b/sagemath.spec @@ -942,7 +942,7 @@ popd #------------------------------------------------------------------------ cat > %{buildroot}%{_bindir}/sage << EOF -#!/bin/sh +#!/bin/bash -i export CUR=\`pwd\` ##export DOT_SAGE="\$HOME/.sage" @@ -1370,6 +1370,7 @@ exit 0 %changelog * Sun Jul 19 2015 pcpa - 6.5-7 - Correct unable to start QEPCAD within sage (#1243590) +- Use interactive bash on wrappers to work with other login shells (#1238341) * Fri Jun 19 2015 Fedora Release Engineering - 6.5-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild From b2e097216a9ed57c2ef8f1ab5d92d02d7781318a Mon Sep 17 00:00:00 2001 From: pcpa Date: Wed, 29 Jul 2015 17:07:24 -0300 Subject: [PATCH 2/3] Properly generate localized translations --- sagemath.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sagemath.spec b/sagemath.spec index 4acb06c..8291c64 100644 --- a/sagemath.spec +++ b/sagemath.spec @@ -1019,7 +1019,7 @@ pushd src/doc # there we go ln -sf %{buildroot}%{SAGE_DOC} $SAGE_SRC/doc - python common/builder.py -k all html + LANGUAGES="ca de en fr hu it pt ru tr" python common/builder.py -k all html export SAGE_DOC=%{buildroot}%{SAGE_DOC} cp -far output $SAGE_DOC @@ -1371,6 +1371,7 @@ exit 0 * Sun Jul 19 2015 pcpa - 6.5-7 - Correct unable to start QEPCAD within sage (#1243590) - Use interactive bash on wrappers to work with other login shells (#1238341) +- Properly generate localized translations * Fri Jun 19 2015 Fedora Release Engineering - 6.5-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild From 6bf01b52ef26547601962a106f422a2d51743e53 Mon Sep 17 00:00:00 2001 From: pcpa Date: Fri, 31 Jul 2015 12:41:46 -0300 Subject: [PATCH 3/3] Correct comment about sage -testall --- sagemath.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sagemath.spec b/sagemath.spec index 8291c64..90704e3 100644 --- a/sagemath.spec +++ b/sagemath.spec @@ -15,7 +15,7 @@ %bcond_with fes %endif -# set to run sage -testall in %%install +# switch to run make -testall %bcond_with check %global SAGE_TIMEOUT 60 %global SAGE_TIMEOUT_LONG 180