Index: SPECS/e2fsprogs.spec =================================================================== --- SPECS.orig/e2fsprogs.spec +++ SPECS/e2fsprogs.spec @@ -4,7 +4,7 @@ Summary: Utilities for managing the second and third extended (ext2/ext3) filesystems Name: e2fsprogs Version: 1.40.2 -Release: 9%{?dist} +Release: 9%{?dist}.fa1 # License based on upstream-modified COPYING file, # which clearly states "V2" intent. License: GPLv2 @@ -24,6 +24,8 @@ Patch65: e2fsprogs-1.40.2-fix-open-creat Patch66: e2fsprogs-1.40.2-protect-open-ops.patch Patch67: e2fsprogs-1.40.2-blkid-FAT-magic-not-on-strict-position.patch Patch68: e2fsprogs-1.40.2-blkid-squashfs.patch +Patch69: ext2_types-wrapper.h.patch +Patch70: blkid_types-wrapper.h.patch Url: http://e2fsprogs.sourceforge.net/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -124,15 +126,39 @@ make install install-libs DESTDIR="%{bui mv -f $RPM_BUILD_ROOT%{_includedir}/ext2fs/ext2_types.h \ $RPM_BUILD_ROOT%{_includedir}/ext2fs/ext2_types-%{_arch}.h install -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_includedir}/ext2fs/ext2_types.h +patch $RPM_BUILD_ROOT%{_includedir}/ext2fs/ext2_types.h < %{PATCH69} mv -f $RPM_BUILD_ROOT%{_includedir}/blkid/blkid_types.h \ $RPM_BUILD_ROOT%{_includedir}/blkid/blkid_types-%{_arch}.h install -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_includedir}/blkid/blkid_types.h +patch $RPM_BUILD_ROOT%{_includedir}/blkid/blkid_types.h < %{PATCH70} %find_lang %{name} +# FAT probing fails on ARM: +# LD tst_types +# ./test_probe +# cramfs: ok +# ext2: ok +# ext3: ok +# fat32_label_64MB: failed +# fat: failed +# iso: ok +# jbd: ok +# jfs: ok +# minix: ok +# ocfs2: ok +# reiser3: ok +# reiser4: ok +# romfs: ok +# small-fat32: failed +# swap0: ok +# swap1: ok +# xfs: ok +%ifnarch %{arm} %check make check +%endif %clean rm -rf %{buildroot}