diff --git a/fix-nice-case-fail-if-noroot.patch b/fix-nice-case-fail-if-noroot.patch new file mode 100644 index 0000000..e9dfedb --- /dev/null +++ b/fix-nice-case-fail-if-noroot.patch @@ -0,0 +1,24 @@ +From 1c74ba6a5332e5f9dfb6eb893fbd1d59ee5e15ec Mon Sep 17 00:00:00 2001 +From: openEuler Buildteam +Date: Mon, 29 Jun 2020 20:12:56 +0800 +Subject: [PATCH] fix nice case fail if noroot + +--- + tests/commands.at | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/tests/commands.at b/tests/commands.at +index cf0fcf0..daf87fc 100755 +--- a/tests/commands.at ++++ b/tests/commands.at +@@ -891,6 +891,7 @@ TCSH_UNTESTED([newgrp]) + + + AT_SETUP([nice]) ++AT_SKIP_IF([test 'whoami' != 'root']) + + # Nothing really tested + AT_CHECK([tcsh -f -c 'nice set var=1; echo $?var'], , +-- +1.8.3.1 + diff --git a/tcsh.spec b/tcsh.spec index 67964b9..037d2f3 100644 --- a/tcsh.spec +++ b/tcsh.spec @@ -1,6 +1,6 @@ Name: tcsh Version: 6.21.00 -Release: 5 +Release: 6 Summary: C shell with file name completion and command line editing License: BSD URL: http://www.tcsh.org/ @@ -12,9 +12,10 @@ Requires(postun): sed Provides: /bin/csh /bin/tcsh Provides: csh = %{version} -Patch0: 0061-PR-81-oldping-Fix-range-matching-issue-where-we-were.patch -Patch1: 0063-PR-88-sharifib-Preserve-empty-arguments-in-arrays-as.patch -Patch2: fix-testcase-fail-if-noroot.patch +Patch0000: 0061-PR-81-oldping-Fix-range-matching-issue-where-we-were.patch +Patch0001: 0063-PR-88-sharifib-Preserve-empty-arguments-in-arrays-as.patch +Patch0002: fix-testcase-fail-if-noroot.patch +Patch0003: fix-nice-case-fail-if-noroot.patch %description Tcsh is an enhanced but completely compatible version of the Berkeley @@ -96,6 +97,12 @@ fi %changelog +* Mon Jun 29 2020 chenditang - 6.21.00-6 +- Type: enhancement +- ID: NA +- SUG: NA +- DESC: fix nice case fail if noroot + * Sat Mar 21 2020 openEuler Buildteam - 6.21.00-5 - Type: enhancement - ID: NA