diff --git a/.gitignore b/.gitignore index d595e09..59f17b4 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /f2fs-tools-1.4.0.tar.gz /f2fs-tools-1.4.1.tar.gz /f2fs-tools-1.7.0.tar.gz +/f2fs-tools-1.8.0.tar.gz diff --git a/f2fs-tools-1.8.0-bigendian.patch b/f2fs-tools-1.8.0-bigendian.patch new file mode 100644 index 0000000..5fb890c --- /dev/null +++ b/f2fs-tools-1.8.0-bigendian.patch @@ -0,0 +1,11 @@ +diff -up f2fs-tools-1.4.0/include/f2fs_fs.h.orig f2fs-tools-1.4.0/include/f2fs_fs.h +--- f2fs-tools-1.4.0/include/f2fs_fs.h.orig 2015-01-03 09:45:23.000000000 +0100 ++++ f2fs-tools-1.4.0/include/f2fs_fs.h 2015-01-03 09:45:20.000000000 +0100 +@@ -34,6 +34,7 @@ typedef unsigned long pgoff_t; + #define cpu_to_le32(x) ((__u32)(x)) + #define cpu_to_le64(x) ((__u64)(x)) + #elif __BYTE_ORDER == __BIG_ENDIAN ++#include + #define le16_to_cpu(x) bswap_16(x) + #define le32_to_cpu(x) bswap_32(x) + #define le64_to_cpu(x) bswap_64(x) diff --git a/f2fs-tools.spec b/f2fs-tools.spec index f5d73a3..25cb4a5 100644 --- a/f2fs-tools.spec +++ b/f2fs-tools.spec @@ -1,11 +1,11 @@ Name: f2fs-tools -Version: 1.7.0 -Release: 4%{?dist} +Version: 1.8.0 +Release: 1%{?dist} Summary: Tools for Flash-Friendly File System (F2FS) License: GPLv2+ URL: http://sourceforge.net/projects/f2fs-tools/ Source0: http://git.kernel.org/cgit/linux/kernel/git/jaegeuk/f2fs-tools.git/snapshot/%{name}-%{version}.tar.gz -Patch0: f2fs-tools-1.4.0-bigendian.patch +Patch0: f2fs-tools-1.8.0-bigendian.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: uuid-devel @@ -84,6 +84,9 @@ rm -f %{buildroot}/%{_libdir}/*.la %{_libdir}/*.so %changelog +* Sat Aug 12 2017 Eduardo Echeverria - 1.8.0-1 +- Update to 1.8.0 + * Wed Aug 02 2017 Fedora Release Engineering - 1.7.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild diff --git a/sources b/sources index b774990..2030448 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -9db22274264f0c88dbee012f257917b1 f2fs-tools-1.7.0.tar.gz +SHA512 (f2fs-tools-1.8.0.tar.gz) = f007673cdff7b6843f6ae295eb7d84fdb82f0ff74ec3a387cc619c09044c133ff9e76d5960fa04f1a1718673660bcea45c3a904096512b73ca1272dccf2493f0