!22 [sync] PR-21: fix execution successd when format a disk with partitions.
From: @openeuler-sync-bot Reviewed-by: @liuzhiqiang26 Signed-off-by: @liuzhiqiang26
This commit is contained in:
commit
f8a3f323a3
@ -1,12 +1,12 @@
|
|||||||
Name: dosfstools
|
Name: dosfstools
|
||||||
Version: 4.1
|
Version: 4.1
|
||||||
Release: 11
|
Release: 12
|
||||||
Summary: FAT file system userspace tools
|
Summary: FAT file system userspace tools
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
URL: http://www.github.com/dosfstools/dosfstools
|
URL: http://www.github.com/dosfstools/dosfstools
|
||||||
Source0: http://www.github.com/%{name}/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.xz
|
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
|
Patch0: 0000-Fix-signed-integer-overflow-in-FSTART.patch
|
||||||
Patch1: 0001-Avoid-returning-deleted-directory-entries-as-labels.patch
|
Patch1: 0001-Avoid-returning-deleted-directory-entries-as-labels.patch
|
||||||
@ -36,7 +36,7 @@ This package includes man pages for dosfstools.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --enable-compat-symlinks
|
%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
|
%check
|
||||||
make check
|
make check
|
||||||
@ -54,6 +54,9 @@ make check
|
|||||||
%{_mandir}/man8/*
|
%{_mandir}/man8/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jul 5 2022 zhanchengbin <zhanchengbin1@huawei.com> - 4.1-12
|
||||||
|
- fix execution successd when format a disk with partitions.
|
||||||
|
|
||||||
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 4.1-11
|
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 4.1-11
|
||||||
- DESC: delete -S git from %autosetup, and delete BuildRequires git
|
- DESC: delete -S git from %autosetup, and delete BuildRequires git
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user