From f231c29c9f0fc1b6035c23b0def87ffc3cf346b5639384e6b53c73913588a44a Mon Sep 17 00:00:00 2001 From: Kristyna Streitova Date: Fri, 5 Jan 2018 09:58:45 +0000 Subject: [PATCH] Accepting request 561814 from home:kstreitova:branches:Base:System - add tar-1.30-tests-difflink.patch to fix difflink.at test (https://www.mail-archive.com/bug-tar@gnu.org/msg05440.html) OBS-URL: https://build.opensuse.org/request/show/561814 OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=84 --- tar-1.30-tests-difflink.patch | 14 ++++++++++++++ tar.changes | 6 ++++++ tar.spec | 3 +++ 3 files changed, 23 insertions(+) create mode 100644 tar-1.30-tests-difflink.patch diff --git a/tar-1.30-tests-difflink.patch b/tar-1.30-tests-difflink.patch new file mode 100644 index 0000000..7e98a3a --- /dev/null +++ b/tar-1.30-tests-difflink.patch @@ -0,0 +1,14 @@ +Per https://www.mail-archive.com/bug-tar@gnu.org/msg05440.html +diff --git a/tests/difflink.at b/tests/difflink.at +index eadfb08..4e01176 100644 +--- a/tests/difflink.at ++++ b/tests/difflink.at +@@ -21,7 +21,7 @@ mkdir a + genfile -f a/x + ln -s x a/y + ln a/y a/z +-tar cf a.tar a ++tar cf a.tar a/x a/y a/z + rm a/z + ln -s x a/z + tar df a.tar diff --git a/tar.changes b/tar.changes index 02c5a8b..8b5afdb 100644 --- a/tar.changes +++ b/tar.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Jan 4 13:24:20 UTC 2018 - kstreitova@suse.com + +- add tar-1.30-tests-difflink.patch to fix difflink.at test + (https://www.mail-archive.com/bug-tar@gnu.org/msg05440.html) + ------------------------------------------------------------------- Mon Dec 18 03:45:51 UTC 2017 - avindra@opensuse.org diff --git a/tar.spec b/tar.spec index b99fc0e..6306c64 100644 --- a/tar.spec +++ b/tar.spec @@ -40,6 +40,8 @@ Patch11: %{name}-ignore_lone_zero_blocks.patch #https://bugzilla.opensuse.org/show_bug.cgi?id=918487 Patch12: %{name}-recursive--files-from.patch Patch20: add_readme-tests.patch +# PATCH-FIX-UPSTREAM kstreitova@suse.com -- fix difflink.at test +Patch21: tar-1.30-tests-difflink.patch BuildRequires: automake BuildRequires: libacl-devel BuildRequires: libattr-devel @@ -113,6 +115,7 @@ it may as well access remote devices or files. %patch11 -p1 #%patch12 -p1 %patch20 -p1 +%patch21 -p1 %build %define my_cflags -W -Wall -Wpointer-arith -Wstrict-prototypes -Wformat-security -Wno-unused-parameter -fPIE