diff --git a/dosfstools.spec b/dosfstools.spec index 6486449..e284f7d 100644 --- a/dosfstools.spec +++ b/dosfstools.spec @@ -1,12 +1,12 @@ Name: dosfstools Version: 4.1 -Release: 11 +Release: 12 Summary: FAT file system userspace tools License: GPLv3+ URL: http://www.github.com/dosfstools/dosfstools Source0: http://www.github.com/%{name}/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.xz -BuildRequires: gcc autoconf automake +BuildRequires: gcc autoconf automake systemd-devel Patch0: 0000-Fix-signed-integer-overflow-in-FSTART.patch Patch1: 0001-Avoid-returning-deleted-directory-entries-as-labels.patch @@ -36,7 +36,7 @@ This package includes man pages for dosfstools. %build %configure --enable-compat-symlinks -%make_build CFLAGS="%{optflags} -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing" +%make_build CFLAGS="%{optflags} -D HAVE_UDEV -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing" %check make check @@ -54,6 +54,9 @@ make check %{_mandir}/man8/* %changelog +* Tue Jul 5 2022 zhanchengbin - 4.1-12 +- fix execution successd when format a disk with partitions. + * Fri Jul 30 2021 chenyanpanHW - 4.1-11 - DESC: delete -S git from %autosetup, and delete BuildRequires git