From 227c5935d44c284ce41d6867a8453d0ccba0ad3b Mon Sep 17 00:00:00 2001 From: lixiaokeng Date: Wed, 4 Nov 2020 18:12:51 +0800 Subject: [PATCH] add make test --- gdisk.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/gdisk.spec b/gdisk.spec index 185e66c..4e3dc27 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. -- Gitee