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