From 4276e87907b55b14cb7fa853ebd184b10d280490 Mon Sep 17 00:00:00 2001 From: eulerstorage Date: Wed, 19 Feb 2020 20:38:22 +0800 Subject: [PATCH] Add check part and enable pc98 in spec file --- parted.spec | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/parted.spec b/parted.spec index b839125..c4ec081 100644 --- a/parted.spec +++ b/parted.spec @@ -14,7 +14,7 @@ Summary: The GNU disk partition manipulation program Name: parted Version: 3.3 -Release: 0 +Release: 1 URL: https://www.gnu.org/software/parted/ Source0: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz License: GPLv3+ @@ -63,7 +63,6 @@ autoconf --disable-selinux \ %endif --enable-part-static \ - --enable-pc98=no \ --enable-Werror=no \ --disable-dynamic-loading \ --disable-gcc-warnings @@ -81,6 +80,10 @@ autoconf %clean %{__rm} -rf %{buildroot} +%check +export LD_LIBRARY_PATH=$(pwd)/libparted/.libs:$(pwd)/libparted/fs/.libs +make check + %post if [ -f %{_infodir}/parted.info.gz ]; then /sbin/install-info %{_infodir}/parted.info.gz %{_infodir}/dir || : @@ -109,6 +112,12 @@ fi %{_libdir}/pkgconfig/libparted*.pc %changelog +* Wed Feb 19 2020 hy-euler - 3.3-1 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC:Add check part and enable pc98 in spec file + * Sat Jan 11 2020 openEuler Buildteam - 3.3-0 - Type:enhancement - ID:NA -- Gitee