diff --git a/fix-build.patch b/fix-build.patch deleted file mode 100644 index d34b777..0000000 --- a/fix-build.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- libarchive/test/test_write_format_gnutar_filenames.c.orig 2016-06-20 13:03:13.796386223 +0200 -+++ libarchive/test/test_write_format_gnutar_filenames.c 2016-06-20 13:04:19.472387624 +0200 -@@ -55,7 +55,7 @@ - archive_entry_set_mode(template, S_IFREG | 0755); - archive_entry_set_size(template, 8); - -- for (int i = 0; i < 2000; ++i) { -+ int i; for (i = 0; i < 2000; ++i) { - filename[i] = 'a'; - filename[i + 1] = '\0'; - archive_entry_copy_pathname(template, filename); -@@ -110,7 +110,7 @@ - archive_entry_set_mode(template, S_IFLNK | 0755); - archive_entry_copy_pathname(template, "link"); - -- for (int i = 0; i < 2000; ++i) { -+ int i; for (i = 0; i < 2000; ++i) { - filename[i] = 'a'; - filename[i + 1] = '\0'; - archive_entry_copy_symlink(template, filename); diff --git a/libarchive.changes b/libarchive.changes index 9e047ee..64e65f9 100644 --- a/libarchive.changes +++ b/libarchive.changes @@ -3,6 +3,7 @@ Wed Oct 26 09:27:32 UTC 2016 - adrian@suse.com - update to version 3.2.2 Unspecified security fixes +- obsoletes fix-build.patch ------------------------------------------------------------------- Sat Jul 23 21:13:34 UTC 2016 - dmueller@suse.com diff --git a/libarchive.spec b/libarchive.spec index aa6b8a2..f045574 100644 --- a/libarchive.spec +++ b/libarchive.spec @@ -41,7 +41,6 @@ Group: Productivity/Archiving/Compression Url: http://www.libarchive.org/ Source0: http://www.libarchive.org/downloads/libarchive-%{version}.tar.gz Source1: baselibs.conf -Patch1: fix-build.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: libacl-devel BuildRequires: libbz2-devel @@ -166,7 +165,6 @@ static library for libarchive %if %{with openssl} %patch0 -p0 %endif -%patch1 -p0 %build %if !0%{?skip_autoreconf}