From 8c5b275bf466c43fcc92d358f21f689aea0de98b8cb22344a1e0185f55be99ac Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Thu, 25 Feb 2016 21:00:43 +0000 Subject: [PATCH] Accepting request 361090 from devel:tools:scm git 2.7.2 OBS-URL: https://build.opensuse.org/request/show/361090 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/git?expand=0&rev=175 --- git-2.7.1-fix-tests-grep-2.23.patch | 91 ++++++++++++++++++++++++++++ git-2.7.1.tar.sign | Bin 543 -> 0 bytes git-2.7.1.tar.xz | 3 - git-2.7.2.tar.sign | Bin 0 -> 543 bytes git-2.7.2.tar.xz | 3 + git.changes | 19 ++++++ git.spec | 4 +- 7 files changed, 116 insertions(+), 4 deletions(-) create mode 100644 git-2.7.1-fix-tests-grep-2.23.patch delete mode 100644 git-2.7.1.tar.sign delete mode 100644 git-2.7.1.tar.xz create mode 100644 git-2.7.2.tar.sign create mode 100644 git-2.7.2.tar.xz diff --git a/git-2.7.1-fix-tests-grep-2.23.patch b/git-2.7.1-fix-tests-grep-2.23.patch new file mode 100644 index 0000000..bccbdcd --- /dev/null +++ b/git-2.7.1-fix-tests-grep-2.23.patch @@ -0,0 +1,91 @@ +From: Andreas Stieger +Date: Mon, 15 Feb 2016 15:00:57 +0000 +Subject: fix build with GNU grep 2.23 +References: http://permalink.gmane.org/gmane.comp.version-control.git/285733 +Upstream: it's on the mailing list + +grep 2.23 changed binary matching + +[ 1421s] *** t8005-blame-i18n.sh *** +[ 1421s] not ok 2 - blame respects i18n.commitencoding +[ 1421s] # +[ 1421s] # git blame --incremental file | \ +[ 1421s] # egrep "^(author|summary) " > actual && +[ 1421s] # test_cmp actual expected +[ 1421s] # +[ 1421s] not ok 3 - blame respects i18n.logoutputencoding +[ 1421s] # +[ 1421s] # git config i18n.logoutputencoding eucJP && +[ 1421s] # git blame --incremental file | \ +[ 1421s] # egrep "^(author|summary) " > actual && +[ 1421s] # test_cmp actual expected +[ 1421s] # +[ 1421s] not ok 4 - blame respects --encoding=UTF-8 +[ 1421s] # +[ 1421s] # git blame --incremental --encoding=UTF-8 file | \ +[ 1421s] # egrep "^(author|summary) " > actual && +[ 1421s] # test_cmp actual expected +[ 1421s] # +[ 1422s] not ok 5 - blame respects --encoding=none +[ 1422s] # +[ 1422s] # git blame --incremental --encoding=none file | \ +[ 1422s] # egrep "^(author|summary) " > actual && +[ 1422s] # test_cmp actual expected +[ 1422s] # +[ 1422s] # failed 4 among 5 test(s) +[ 1422s] 1..5 +[ 1422s] Makefile:44: recipe for target 't8005-blame-i18n.sh' failed + +Index: git-2.7.1/t/t8005-blame-i18n.sh +=================================================================== +--- git-2.7.1.orig/t/t8005-blame-i18n.sh 2016-02-06 00:31:08.000000000 +0100 ++++ git-2.7.1/t/t8005-blame-i18n.sh 2016-02-15 15:59:02.557155352 +0100 +@@ -36,7 +36,7 @@ EOF + test_expect_success !MINGW \ + 'blame respects i18n.commitencoding' ' + git blame --incremental file | \ +- egrep "^(author|summary) " > actual && ++ egrep -a "^(author|summary) " > actual && + test_cmp actual expected + ' + +@@ -53,7 +53,7 @@ test_expect_success !MINGW \ + 'blame respects i18n.logoutputencoding' ' + git config i18n.logoutputencoding eucJP && + git blame --incremental file | \ +- egrep "^(author|summary) " > actual && ++ egrep -a "^(author|summary) " > actual && + test_cmp actual expected + ' + +@@ -69,7 +69,7 @@ EOF + test_expect_success !MINGW \ + 'blame respects --encoding=UTF-8' ' + git blame --incremental --encoding=UTF-8 file | \ +- egrep "^(author|summary) " > actual && ++ egrep -a "^(author|summary) " > actual && + test_cmp actual expected + ' + +@@ -85,7 +85,7 @@ EOF + test_expect_success !MINGW \ + 'blame respects --encoding=none' ' + git blame --incremental --encoding=none file | \ +- egrep "^(author|summary) " > actual && ++ egrep -a "^(author|summary) " > actual && + test_cmp actual expected + ' + +Index: git-2.7.1/t/t9200-git-cvsexportcommit.sh +=================================================================== +--- git-2.7.1.orig/t/t9200-git-cvsexportcommit.sh 2016-02-06 00:31:08.000000000 +0100 ++++ git-2.7.1/t/t9200-git-cvsexportcommit.sh 2016-02-15 15:59:44.445790113 +0100 +@@ -35,7 +35,7 @@ exit 1 + + check_entries () { + # $1 == directory, $2 == expected +- grep '^/' "$1/CVS/Entries" | sort | cut -d/ -f2,3,5 >actual ++ grep -a '^/' "$1/CVS/Entries" | sort | cut -d/ -f2,3,5 >actual + if test -z "$2" + then + >expected diff --git a/git-2.7.1.tar.sign b/git-2.7.1.tar.sign deleted file mode 100644 index 49380e0434748b3d5dd1a429815b0f368c126768e6b64828621fb16afd4647bf..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 543 zcmV+)0^t3L0vrSY0RjL91p-#JF<<}+2@tTg=!TZB=F3qO5C3pW8qNWzh;m@niG?(s zGSg8DK1to7M`&3+6Q=V>&4JE_mfw1U7z&$+byiUGF;Ss@ki=A4QT#1v`*)T|7h@OX z7-lgg%r`#HdBurGtTIOPef+jU_@YajeWp`0yQ zkz`y;Ox+_;z{x$CN|4r8db0vek0t{#kzFOUAXk%MqauGd=jP3l;Qbk-#m+WvB+`8e zReQEiJ>z1Qlr^(LGoyU`yW8Fiy#%L!b{K#5fiblCh{M@w-$ux29{U^05ZUtT-Iq?K z90cTke*c^qKE4HvpF*#+SS9!A*$b|2c1cT}=V%%yQ+RAgL!S2cJ@Sz}CIIym*7&y< zt0wMun7e{g-bTtjbHAX4b63Rphukb&z4uz;M=X4@*ysjJhmWkja5vw zO+bml-e9;MVX(EODKPAM@+Ab@Y>8Ae`^RisgZ9X1%I47p*Duk+8xpxrSP&xBTqn}G hlta227Z)U)Z_ro{XHl!ioY;LrOuowtd{oc^5KpD#1iAnK diff --git a/git-2.7.1.tar.xz b/git-2.7.1.tar.xz deleted file mode 100644 index 9da5899..0000000 --- a/git-2.7.1.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:477a8137de342f858d364383266e9551e582718e96b34051a6aaef57606d6bfe -size 3905876 diff --git a/git-2.7.2.tar.sign b/git-2.7.2.tar.sign new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..8195df70ec466c955f97c1d0fa97af386eb1c812493eb4049ce74ab5ed1ab5b9 GIT binary patch literal 543 zcmV+)0^t3L0vrSY0RjL91p-#fh3o(d2@tTg=!TZB=F1UI5CE~PAtSJ)Yxi=OO&U=% zpy&7TVB)S{=m~lseu*7FWW}uVL6pg29on+`<(j74=^hO*DbmlfiF`m}6)Sv2-DWZg za1Y1jBWe|ay%&D5@KLB|qQT)PM{>MDGfDmj>kaA>(WgE1TI#-Z8fa!%cUXR z#)(_n!;UQlU(2t8lP|UaBFu7B8@aW8rt;^19}WZdwq81}t0e|b8BizT=aLc01(vs# zo1y0k*0g&r&Dnn@#Fja^h63K5csQ~jLG*`U-UriPfc=QzAcgp~_+D2?+V9H;3Y1b| zEJ7Y?FW*flTq6?qpvm943=kvG$FS(@H(O1bNnDO_aki1sH)nhWLXQAZn{+m77L@~} z-Ku{00gAHa%&U;uaoq{wxlbY`CQBwqGE3Z<4k*@XDBlKV2ZMRPMt}#bo4w{D3`DkM z+Bt9iLCTPkKjuC#5GSPx~q>`@ur zVE6qyii3un!>m;=&dkuK2kAGo~p*>DJ~90 .make <<'EOF'