Fixed device partitions detection

Resolves: rhbz#710480
This commit is contained in:
Jaroslav Škarvada 2011-06-03 16:44:29 +02:00
parent 1dd42af8a1
commit 558ab05b9a

View File

@ -1,7 +1,7 @@
Name: dosfstools
Summary: Utilities for making and checking MS-DOS FAT filesystems on Linux
Version: 3.0.11
Release: 4%{?dist}
Release: 5%{?dist}
License: GPLv3+
Group: Applications/System
Source0: http://www.daniel-baumann.ch/software/dosfstools/%{name}-%{version}.tar.bz2
@ -11,6 +11,8 @@ Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Patch0: dosfstools-3.0.9-fix-alloc-rootdir-entry.patch
# Fix dosfslable on FAT32 (#693662)
Patch1: dosfstools-3.0.11-dosfslabel-fat32.patch
# Fix device partitions detection (#710480)
Patch2: dosfstools-3.0.9-dev-detect-fix.patch
%description
The dosfstools package includes the mkdosfs and dosfsck utilities,
@ -21,6 +23,7 @@ drives or on floppies.
%setup -q
%patch0 -p1 -b .fix-alloc-rootdir-entry
%patch1 -p1 -b .dosfslabel-fat32
%patch2 -p1 -b .dev-detect-fix
%build
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing"
@ -39,6 +42,10 @@ rm -rf %{buildroot}
%{_mandir}/man8/*
%changelog
* Fri Jun 03 2011 Jaroslav Škarvada <jskarvad@redhat.com> - 3.0.11-5
- Fixed device partitions detection
Resolves: rhbz#710480
* Tue Apr 05 2011 Jaroslav Škarvada <jskarvad@redhat.com> - 3.0.11-4
- Fixed dosfslabel on FAT32 (#693662)