diff --git a/gdisk.spec b/gdisk.spec index 185e66c70d9139654fecee41bb3c58aa8648f467..4e3dc27a97c7a1391fa27459f05f59abd23ded3c 100644 --- a/gdisk.spec +++ b/gdisk.spec @@ -1,6 +1,6 @@ Name: gdisk Version: 1.0.5 -Release: 3 +Release: 4 Summary: GPT fdisk(consisting of the gdisk,sgdisk,cgdisk) is a set of text-mode partitioning tools License: GPLv2 URL: http://www.rodsbooks.com/gdisk @@ -24,11 +24,14 @@ This package contains the man page for GPT fdisk(consisting of the gdisk,sgdisk, %prep %autosetup -n gptfdisk-%{version} -p1 -Sgit -chmod 0644 gdisk_test.sh %build make CXXFLAGS="%{optflags} -D_FILE_OFFSET_BITS=64" LDFLAGS="%{build_ldflags}" +%check +make test +chmod 0644 gdisk_test.sh + %install install -Dp -m 0755 cgdisk %{buildroot}%{_sbindir}/cgdisk install -Dp -m 0644 cgdisk.8 %{buildroot}%{_mandir}/man8/cgdisk.8 @@ -48,6 +51,9 @@ install -Dp -m 0644 fixparts.8 %{buildroot}%{_mandir}/man8/fixparts.8 %{_mandir}/man8/* %changelog +* Wed Nov 4 2020 lixiaokeng - 1.0.5-4 +- add make test + * Thu Oct 29 2020 Zhiqiang Liu - 1.0.5-3 - backport one patch for solving potential segfault problem.